UNattended Utilities install
#1
Posted 21 October 2004 - 08:20 AM
I'm a complete newb to this site so I might be posting in a completely wrong area. I tried to find one that I thought was appropriate.
I'm TRYING to figure out how to create an unattended install from CD of my common utilities that I use (I.E. Ad-aware, spybot, etc.)
I frequently run preventative maintenance on systems and regularly have to install 5 or 6 apps and create a folder for them in the startup menu as well as moving shortcuts there, etc.
It would be VERY useful to have this process automated. Someone truned me on to this site and...
the rest, as they say, is history. :-)
Any help would be greatly appreciated.
I poste dthis to another area that apprently was the wrong area. Someone told me it was the wrong area but didnt' really tell me where to try an dpost it. Forgive me if this is again the wrong spot.
#2
Posted 21 October 2004 - 08:34 AM
http://unattended.msfn.org/index.htm
if you found problem, post here...someone, will help you!
mrmr
#3
Posted 21 October 2004 - 09:04 AM
Thanks for your thoughts,
Joe
#4
Posted 21 October 2004 - 09:07 AM
#5
Posted 21 October 2004 - 10:26 AM
This section of the forums is for the installation of Windows and all the variations there of. Perhaps in the Wndows or Programmers section you might find some help.
#6
Posted 21 October 2004 - 11:21 AM
#7
Posted 21 October 2004 - 11:40 AM
#8
Posted 21 October 2004 - 12:49 PM
Also, these apps all have ?'s that pop up during the install so I am guessing that the terminology woul dbe a "silent install" using "switches."
Thanks so much for your help and time.
Joe
#9
Posted 21 October 2004 - 03:01 PM
http://www.msfn.org/...showtopic=12657
Searching through it you will find the silent install of ad-aware. Modified below is the filename of your choice with the content that will silently install with a double click of that .bat or .cmd
Quote
TITLE Ad-Aware Silent Install
ECHO Installing Lavasoft Ad-Aware 6 Build 181
ECHO Please wait...
start /wait %systemdrive%\install\Applications\Adware\aaw6.exe /silent
EXIT
if you wish to know more about COMMAND PROMT commands go
http://www.msfn.org/board/index.php?act=ST&f=70&t=10253
http://aumha.org/a/batches.htm
hope this helps a bit.
#10
Posted 21 October 2004 - 03:47 PM
Here are two batchfiles I use to do silent installs of two application and move shortcuts to where I want them. There are other ways of moving the shortcuts such as creating a custom mst file for msi application such as Office but this method is simple and should work for most applications as all you are doing is moving the shortcuts where you want them.
@echo off
pushd "%~dp0"
tugzip31.exe /VERYSILENT
if Errorlevel 1 goto EOF:
popd
rem create path if it doesn't exist
md "%ALLUSERSPROFILE%\Start Menu\Programs\System\Archivers" 2> nul:
if exist "%ALLUSERSPROFILE%\Start Menu\Programs\TUGZip" (
move "%ALLUSERSPROFILE%\Start Menu\Programs\TUGZip" "%ALLUSERSPROFILE%\Start Menu\Programs\System\Archivers\"
)
@echo off
pushd "%~dp0"
ccsetup114.exe /S
popd
rem create path if it doesn't exist
md "%ALLUSERSPROFILE%\Desktop\New Folder\Clean" 2> nul:
rem delete existing shortcut
if exist "%ALLUSERSPROFILE%\Desktop\New Folder\Clean\CCleaner.lnk" del /f /q "%ALLUSERSPROFILE%\Desktop\New Folder\Clean\CCleaner.lnk"
rem move new link to folder
if exist "%USERPROFILE%\Desktop\CCleaner.lnk" move "%USERPROFILE%\Desktop\CCleaner.lnk" "%ALLUSERSPROFILE%\Desktop\New Folder\Clean"
if exist "%USERPROFILE%\Start Menu\Programs\CCleaner" (
md "%ALLUSERSPROFILE%\Start Menu\Programs\System\Clean\HD" 2> nul:
if exist "%ALLUSERSPROFILE%\Start Menu\Programs\System\Clean\HD\CCleaner" rmdir /q /s "%ALLUSERSPROFILE%\Start Menu\Programs\System\Clean\HD\CCleaner"
copy /y "%USERPROFILE%\Start Menu\Programs\CCleaner\CCleaner.lnk" "%ALLUSERSPROFILE%\Start Menu\Programs\System\Clean\HD"
move "%USERPROFILE%\Start Menu\Programs\CCleaner" "%ALLUSERSPROFILE%\Start Menu\Programs\System\Clean\HD"
)
#11
Posted 21 October 2004 - 03:52 PM
If so I think this is something you should look at. It does just that for me.
http://www.msfn.org/...showtopic=11061
all the settings are in a ini file which is read in by the exe.
#12
Posted 21 October 2004 - 05:27 PM
Thanks so much for your help.
I'm having trouble entereing a registry key for registration info on Tuneup utilities 2004. You have any thoughts there?
Thanks again.
#13
Posted 21 October 2004 - 06:43 PM
Registrering Tuneup Utilities 2004. I finally got the registry keys correct to register the program but I can't find a switch for the "Are you sure you want to add this information into the registry" prompt.
How do I enter the registry information without a prompt?
Again thanks so much for all your help and info.
#15
Posted 22 October 2004 - 06:56 AM
Here's the script so far. This is my applications part:
ECHO.
ECHO Installing Ad-Aware SE Personal 1.05
ECHO Please wait...
start /wait %systemdrive%\TCGDiagnosticsApps\aawsepersonal.exe /SILENT
ECHO.
ECHO Installing ERUNT 1.1
ECHO Please wait...
start /wait %systemdrive%\TCGDiagnosticsApps\erunt-setup.exe /silent
ECHO.
ECHO Installing Google Toolbar
ECHO Please wait...
start /wait %systemdrive%\TCGDiagnosticsApps\GoogleToolbarInstaller.exe /s /qn
ECHO.
ECHO Installing Spybot SD 1.3
ECHO Please wait...
start /wait %systemdrive%\TCGDiagnosticsApps\spybotsd13.exe /VERYSILENT /NOCANCEL /TASKBARHIDE /AUTOCLOSE
ECHO.
ECHO Installing Tuneup Utilities 2004
ECHO Please wait...
start /wait %systemdrive%\TCGDiagnosticsApps\TU2004.exe /QN
ECHO Registering Tuneup Utilities 2004
start /wait %systemdrive%\TCGDiagnosticsApps\registry.reg /s
_________________________________________________________
The file registry.reg looks like this:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\TuneUp\Utilities\4.0]
"InstallPath"="C:\\Program Files\\TuneUp Utilities 2004\\"
"Company"="Texas Computer Guys, Inc."
"UserName"="Joseph Orsak"
"UseCounter"=dword:00000001
"RegCode"="xxxxx-xxxxx-xxxxx-xxxxx-xxxxx-xxxxx"
[HKEY_LOCAL_MACHINE\SOFTWARE\TuneUp\Utilities\4.0\WelcomeScreen]
[HKEY_CURRENT_USER\Software\TuneUp\Utilities\4.0]
"InstallPath"="C:\\Program Files\\TuneUp Utilities 2004\\"
"Company"="Texas Computer Guys, Inc."
"UserName"="Joseph Orsak"
"UseCounter"=dword:00000003
"RegCode"="xxxxx-xxxxx-xxxxx-xxxxx-xxxxx-xxxxx"
[HKEY_CURRENT_USER\Software\TuneUp\Utilities\4.0\WelcomeScreen]
___________________________________________________________
When it gets to the registry.reg part is asks me if I want to add that to the registry. I have to click on yes for it to go and I can't seem to get past that. What am I doing wrong?
#16
Posted 22 October 2004 - 07:28 AM
start /wait %systemdrive%\TCGDiagnosticsApps\registry.reg /s
for
start /wait regedit /s %systemdrive%\TCGDiagnosticsApps\registry.reg
(I don't even use start /wait in front if it personally)
- ← Explorer prompts for DEL, EXE and MOV of files.
- Unattended Windows 2000/XP/2003
- converting batch command to runonceex →



Help
Back to top









