Dyne Posted November 9, 2004 Share Posted November 9, 2004 Hey Guys, I'm having a bit of trouble with my XP Unattended CD, so I figured I would tap the resources of the forum I'm using RunOnceEx to run all my apps, but at the T-12 Mark, My computer just stops doing anything...Another Problem, but less important is that I can not run a setup that uses the installshield without running my iTouch Drivers EXE which seems to "repair" it to some extent...All the scripts execute, but I can not see a thing about what is going on in the VMHere are the files I am using...cmdlines.txt[COMMANDS]"useraccounts.cmd""RunOnceEx.cmd""REGEDIT /S mirc.reg""daemontools.cmd"RunOnceEx.cmdcmdow @ /HID@echo offSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Applications" /fREG ADD %KEY%\001 /VE /D "Changing Video Mode"REG ADD %KEY%\001 /V 1 /D "1365vidchng.exe 1152x864x60 -q"REG ADD %KEY%\002 /VE /D "iTouch Drivers"REG ADD %KEY%\002 /V 1 /D "%systemdrive%\Install\Applications\iTouch\Disk1\setup.exe -s setup.iss"REG ADD %KEY%\002 /VE /D "Audigy LS Drivers"REG ADD %KEY%\002 /V 1 /D "%systemdrive%\Install\Applications\audapps.cmd" /fREG ADD %KEY%\005 /VE /D "ABC Bittorrent client" /fREG ADD %KEY%\005 /V 1 /D "%systemdrive%\Install\Applications\Bittorrent\Bittornado.exe /S"REG ADD %KEY%\010 /VE /D "FlashFXP" /fREG ADD %KEY%\010 /V 1 /D "%systemdrive%\Install\Applications\FlashFXP\FXP.exe" /fREG ADD %KEY%\015 /VE /D "Gaim 1.0.2" /fREG ADD %KEY%\015 /V 1 /D "%systemdrive%\install\Applications\Gaim\gaim-1.0.2.exe /S" /fREG ADD %KEY%\020 /VE /D "Google Toolbar" /fREG ADD %KEY%\020 /V 1 /D "\"%systemdrive%\Install\Applications\Google Toolbar\GoogleToolbarInstaller.exe\" /q /d" /fREG ADD %KEY%\030 /VE /D "K-Lite Mega Codec Pack" /fREG ADD %KEY%\030 /V 1 /D "%systemdrive%\Install\Applications\Megapack\klmcodec101.exe /silent" /fREG ADD %KEY%\055 /VE /D "Messenger Plus!" /fREG ADD %KEY%\055 /V 1 /D "\"%systemdrive%\Install\Applications\Messenger plus!\MsgPlus-325.exe\" /SilentInstallNoSponsor" /fREG ADD %KEY%\055 /V 2 /D "taskkill /F /IM msnmsgr.exe >nul"REG ADD %KEY%\055 /V 3 /D "taskkill /F /IM iexplore.exe >nul"REG ADD %KEY%\040 /VE /D "MP3 Creation Pack" /fREG ADD %KEY%\040 /V 1 /D "%systemdrive%\Install\Applications\MP3forXP\MP3forXP.msi /q" /fREG ADD %KEY%\045 /VE /D "MS Java Virtual Machine" /fREG ADD %KEY%\045 /V 1 /D "%systemdrive%\install\Applications\MSJavaVM\MSJavaVM_3810.exe" /fREG ADD %KEY%\050 /VE /D "MSN Messenger 6.2" /fREG ADD %KEY%\050 /V 1 /D "%systemdrive%\Install\Applications\MSN\MsnMsgs.msi /QB" /fREG ADD %KEY%\060 /VE /D ".NET Framework + SP1" /fREG ADD %KEY%\060 /V 1 /D "%systemdrive%\install\Applications\NetFramework\netfxsp1.exe" /fREG ADD %KEY%\060 /VE /D "Windows XP Powertoys" /fREG ADD %KEY%\060 /V 1 /D "%systemdrive%\Install\Applications\PowerToys\TweakUI.msi /qb" /fREG ADD %KEY%\060 /V 2 /D "%systemdrive%\Install\Applications\PowerToys\CmdHerePowertoySetup.exe /s /v/qn" /fREG ADD %KEY%\065 /VE /D "Shockwave Install" /fREG ADD %KEY%\065 /V 1 /D "%systemdrive%\install\Applications\shockwave\Shockwave_Installer_Full.exe /s" /fREG ADD %KEY%\070 /VE /D "Spybot 1.3" /fREG ADD %KEY%\070 /V 1 /D "%systemdrive%\install\Applications\spybot\spybotsd13.exe /verysilent" /fREG ADD %KEY%\071 /VE /D "TightVNC 1.3d5" /fREG ADD %KEY%\071 /V 1 /D "%systemdrive%\Install\Applications\TightVNC\tightvnc-1.3dev5-setup.exe /silent" /fREG ADD %KEY%\075 /VE /D "Xbox Controller Driver"REG ADD %KEY%\075 /V 1 /D "%systemdrive%\Install\Applications\XBCD\XBCD.exe /S"REG ADD %KEY%\080 /VE /D "Winamp 5.05" /fREG ADD %KEY%\080 /V 1 /D "%systemdrive%\Install\Applications\Winamp\winamp505_pro.exe /S" /fREG ADD %KEY%\080 /V 2 /D "taskkill /F /IM winampa.exe >nul" /fREG ADD %KEY%\080 /V 3 /D "taskkill /F /IM winamp.exe >nul" /fREG ADD %KEY%\080 /V 4 /D "REGEDIT /S %systemdrive%\Install\Applications\Winamp\Winampnostartup.reg" /fREG ADD %KEY%\080 /V 4 /D "REGEDIT /S %systemdrive%\Install\Applications\Winamp\Winampreginfo.reg" /fREG ADD %KEY%\085 /VE /D "WinRAR 3.40" /fREG ADD %KEY%\085 /V 1 /D "%systemdrive%\Install\Applications\WinRAR\WinRAR340Corp.exe /s" /fREG ADD %KEY%\090 /VE /D "Importing Registry Tweaks" /fREG ADD %KEY%\090 /V 1 /D "REGEDIT /S %systemdrive%\Install\RegTweaks.reg" /fREG ADD %KEY%\095 /VE /D "Cleaning Up and Rebooting" /fREG ADD %KEY%\095 /V 1 /D "%systemdrive%\Install\cleanup.cmd" /fdaemontools.cmd (To avoid the Hardware Prompt it runs in cmdlines)cmdow @ /HID@Echo OffSTART /wait %systemdrive%\install\Applications\Daemon-tools\daemon.msi /quiet /passive /qn /norestart REBOOT=ReallySuppressEXITuseraccounts.cmdnet user Dyne -------- /addnet localgroup Administrators Dyne /addnet accounts /maxpwage:unlimitedREGEDIT /S autologon.regREGEDIT /S info.regEXITAny help would be MUCH appriciated! : Link to comment Share on other sites More sharing options...
BritishBulldog Posted November 9, 2004 Share Posted November 9, 2004 there are things missing on soem of these such as the /f at the end. ALL lines must finish with this.You are also using the same Key numbers eg. iTouch and Audigy using 002Plus further down winamp uses the 4 twice.in front of some of your %systemdrive% are backslashes they need to be removed toocmdow @ /HID@echo offSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Applications" /fREG ADD %KEY%\001 /VE /D "Changing Video Mode"REG ADD %KEY%\001 /V 1 /D "1365vidchng.exe 1152x864x60 -q"REG ADD %KEY%\002 /VE /D "iTouch Drivers"REG ADD %KEY%\002 /V 1 /D "%systemdrive%\Install\Applications\iTouch\Disk1\setup.exe -s setup.iss"REG ADD %KEY%\002 /VE /D "Audigy LS Drivers"REG ADD %KEY%\002 /V 1 /D "%systemdrive%\Install\Applications\audapps.cmd" /fREG ADD %KEY%\005 /VE /D "ABC Bittorrent client" /fREG ADD %KEY%\005 /V 1 /D "%systemdrive%\Install\Applications\Bittorrent\Bittornado.exe /S"REG ADD %KEY%\010 /VE /D "FlashFXP" /fREG ADD %KEY%\010 /V 1 /D "%systemdrive%\Install\Applications\FlashFXP\FXP.exe" /fREG ADD %KEY%\015 /VE /D "Gaim 1.0.2" /fREG ADD %KEY%\015 /V 1 /D "%systemdrive%\install\Applications\Gaim\gaim-1.0.2.exe /S" /fREG ADD %KEY%\020 /VE /D "Google Toolbar" /fREG ADD %KEY%\020 /V 1 /D "\"%systemdrive%\Install\Applications\Google Toolbar\GoogleToolbarInstaller.exe\" /q /d" /f Link to comment Share on other sites More sharing options...
Dyne Posted November 10, 2004 Author Share Posted November 10, 2004 The backslashes are there because of the Space in the File, so I need them, but I added the /f to the rest of the files, and I am testing in VPC now Link to comment Share on other sites More sharing options...
twrizzo Posted November 10, 2004 Share Posted November 10, 2004 Dude,You cant put a backslash in fron of %systemdrive%.Test it by opening Start>Run and typing in both "\%systemdrive%" and "%systemdrive%"You will get an error message when you use the one with the backslash. Link to comment Share on other sites More sharing options...
gunsmokingman Posted November 10, 2004 Share Posted November 10, 2004 I Was Bored , Hope This Workscmdow @ /HID@echo offSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Applications" /fREG ADD %KEY%\001 /VE 1 /D "Changing Video Mode"REG ADD %KEY%\001 /V 2 /D "1365vidchng.exe 1152x864x60 -q"REG ADD %KEY%\003 /VE 1 /D "iTouch Drivers"REG ADD %KEY%\003 /V 2 /D "%systemdrive%\Install\Applications\iTouch\Disk1\setup.exe -s setup.iss"REG ADD %KEY%\005 /VE 1 /D "Audigy LS Drivers"REG ADD %KEY%\005 /V 2 /D "%systemdrive%\Install\Applications\audapps.cmd" /fREG ADD %KEY%\007 /VE 1 /D "ABC Bittorrent client" /fREG ADD %KEY%\007 /V 2 /D "%systemdrive%\Install\Applications\Bittorrent\Bittornado.exe /S"REG ADD %KEY%\009 /VE 1 /D "FlashFXP" /fREG ADD %KEY%\009 /V 2 /D "%systemdrive%\Install\Applications\FlashFXP\FXP.exe" /fREG ADD %KEY%\011 /VE 1 /D "Gaim 1.0.2" /fREG ADD %KEY%\011 /V 2 /D "%systemdrive%\install\Applications\Gaim\gaim-1.0.2.exe /S" /fREG ADD %KEY%\013 /VE 1 /D "Google Toolbar" /fREG ADD %KEY%\013 /V 2 /D "\"%systemdrive%\Install\Applications\Google Toolbar\GoogleToolbarInstaller.exe\" /q /d" /fREG ADD %KEY%\015 /VE 1 /D "K-Lite Mega Codec Pack" /fREG ADD %KEY%\015 /V 2 /D "%systemdrive%\Install\Applications\Megapack\klmcodec101.exe /silent" /fREG ADD %KEY%\017 /VE 1 /D "Messenger Plus!" /fREG ADD %KEY%\017 /V 2 /D "\"%systemdrive%\Install\Applications\Messenger plus!\MsgPlus-325.exe\" /SilentInstallNoSponsor" /fREG ADD %KEY%\017 /V 2 /D "taskkill /F /IM msnmsgr.exe >nul"REG ADD %KEY%\017 /V 3 /D "taskkill /F /IM iexplore.exe >nul"REG ADD %KEY%\019 /VE 1 /D "MP3 Creation Pack" /fREG ADD %KEY%\019 /V 2 /D "%systemdrive%\Install\Applications\MP3forXP\MP3forXP.msi /q" /fREG ADD %KEY%\021 /VE 1 /D "MS Java Virtual Machine" /fREG ADD %KEY%\021 /V 2 /D "%systemdrive%\install\Applications\MSJavaVM\MSJavaVM_3810.exe" /fREG ADD %KEY%\023 /VE 1 /D "MSN Messenger 6.2" /fREG ADD %KEY%\023 /V 2 /D "%systemdrive%\Install\Applications\MSN\MsnMsgs.msi /QB" /fREG ADD %KEY%\025 /VE 1 /D ".NET Framework + SP1" /fREG ADD %KEY%\025 /V 2 /D "%systemdrive%\install\Applications\NetFramework\netfxsp1.exe" /fREG ADD %KEY%\027 /V 2 /D "%systemdrive%\Install\Applications\PowerToys\TweakUI.msi /qb" /fREG ADD %KEY%\027 /V 2 /D "%systemdrive%\Install\Applications\PowerToys\CmdHerePowertoySetup.exe /s /v/qn" /fREG ADD %KEY%\029 /VE 1 /D "Shockwave Install" /fREG ADD %KEY%\029 /V 2 /D "%systemdrive%\install\Applications\shockwave\Shockwave_Installer_Full.exe /s" /fREG ADD %KEY%\031 /VE 1 /D "Spybot 1.3" /fREG ADD %KEY%\031 /V 2 /D "%systemdrive%\install\Applications\spybot\spybotsd13.exe /verysilent" /fREG ADD %KEY%\033 /VE 1 /D "TightVNC 1.3d5" /fREG ADD %KEY%\033 /V 2 /D "%systemdrive%\Install\Applications\TightVNC\tightvnc-1.3dev5-setup.exe /silent" /fREG ADD %KEY%\035 /VE 1 /D "Xbox Controller Driver"REG ADD %KEY%\035 /V 2 /D "%systemdrive%\Install\Applications\XBCD\XBCD.exe /S"REG ADD %KEY%\037 /VE 1 /D "Winamp 5.05" /fREG ADD %KEY%\037 /V 2 /D "%systemdrive%\Install\Applications\Winamp\winamp505_pro.exe /S" /fREG ADD %KEY%\039 /VE 1 /D "Winamp 5.05 Clean Up " /fREG ADD %KEY%\039 /V 2 /D "taskkill /F /IM winampa.exe >nul" /fREG ADD %KEY%\039 /V 3 /D "taskkill /F /IM winamp.exe >nul" /fREG ADD %KEY%\039 /V 4 /D "REGEDIT /S %systemdrive%\Install\Applications\Winamp\Winampnostartup.reg" /fREG ADD %KEY%\039 /V 4 /D "REGEDIT /S %systemdrive%\Install\Applications\Winamp\Winampreginfo.reg" /fREG ADD %KEY%\041 /VE 1 /D "WinRAR 3.40" /fREG ADD %KEY%\041 /V 2 /D "%systemdrive%\Install\Applications\WinRAR\WinRAR340Corp.exe /s" /fREG ADD %KEY%\043 /VE 1 /D "Importing Registry Tweaks" /fREG ADD %KEY%\043 /V 2 /D "REGEDIT /S %systemdrive%\Install\RegTweaks.reg" /fREG ADD %KEY%\045 /VE 1 /D "Cleaning Up and Rebooting" /fREG ADD %KEY%\045 /V 2 /D "%systemdrive%\Install\cleanup.cmd" /f Link to comment Share on other sites More sharing options...
jrzycrim Posted November 10, 2004 Share Posted November 10, 2004 net user Dyne -------- /addIf your password is longer than 14 characters, net user will prompt you with a warning. This may be stalling your installation at T-12; if your password is longer than 14 characters.Dude,You cant put a backslash in fron of %systemdrive%.Test it by opening Start>Run and typing in both "\%systemdrive%" and "%systemdrive%"You will get an error message when you use the one with the backslash.The extra backslashes are necessary when you need quotation marks to be written as a part of the path. This is the case when the path includes spaces. Link to comment Share on other sites More sharing options...
Alanoll Posted November 10, 2004 Share Posted November 10, 2004 Dude,You cant put a backslash in fron of %systemdrive%.Test it by opening Start>Run and typing in both "\%systemdrive%" and "%systemdrive%"You will get an error message when you use the one with the backslash.dude, understand before saying they're wrong."\%systemdrive%" indeed does NOT work, HOWEVERhe has "\"%systemdrive the \" escapes the quote so that it is imported into the registry properly, because ""%systemdrive%\Program Files\setup" /qb" does NOT work.if SmokingGun's thing doesn't work, remove the cmdow @ /hid at teh beginning and retest. You probally have a prompt somewhere waiting for a response (missing /f perhaps_) Link to comment Share on other sites More sharing options...
jrzycrim Posted November 10, 2004 Share Posted November 10, 2004 Sorry alanoll, I didn't mean to step on your toes. Link to comment Share on other sites More sharing options...
Dyne Posted November 10, 2004 Author Share Posted November 10, 2004 Thanks for your help guys, I finally have the freeze at T-12 eliminated, but I still wonder why InstallShield doesn't work unless I run the iTouch Driver Install to "repair" it Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now