Jump to content

RunOnceEX problems


NoUTurn20

Recommended Posts

ok first here is my RunOnceex.cmd:

cmdow @ /HID

@echo off

SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

REG ADD %KEY% /V TITLE /D "Installing Applications" /f

REG ADD %KEY%\005 /VE /D "FireFox v1.0" /f

REG ADD %KEY%\005 /V 1 /D "%systemroot%\UNATTENDED\FireFox10\FireFox.msi /passive /norestart" /f

REG ADD %KEY%\010 /VE /D "Adaware SE PRO v1.05" /f

REG ADD %KEY%\010 /V 1 /D "%systemroot%\UNATTENDED\AdawareSE105\aawsepro.exe /s" /f

REG ADD %KEY%\010 /V 2 /D "taskkill /F /IM hh.exe" /f

REG ADD %KEY%\010 /V 3 /D "taskkill /F /IM Ad-aware.exe" /f

REG ADD %KEY%\015 /VE /D "Norton Antivirus Corp v9" /f

REG ADD %KEY%\015 /V 1 /D "%systemroot%\UNATTENDED\NortonCorp9\Setup.exe /v/qn" /f

REG ADD %KEY%\020 /VE /D "SpyBot v1.3" /f

REG ADD %KEY%\020 /V 1 /D "%systemroot%\UNATTENDED\SpyBot13\spybotsd13.exe /sp- /silent /norestart /f" /f

REG ADD %KEY%\025 /VE /D "TweakUI" /f

REG ADD %KEY%\025 /V 1 /D "%systemroot%\UNATTENDED\TweakUI\TweakUI.msi /qb" /f

REG ADD %KEY%\030 /VE /D "System Mechanic v4.0J" /f

REG ADD %KEY%\030 /V 1 /D "%systemroot%\UNATTENDED\SystemMech40j\systemmechanic40j.exe /s" /f

REG ADD %KEY%\035 /VE /D "WinRar v3.41" /f

REG ADD %KEY%\035 /V 1 /D "%systemroot%\UNATTENDED\WinRAR341\wrar341.exe /s" /f

REG ADD %KEY%\040 /VE /D "Nero Burning ROM v6.6.0.6" /f

REG ADD %KEY%\040 /V 1 /D "%systemroot%\UNATTENDED\Nero6606\nero6606.exe" /f

REG ADD %KEY%\045 /VE /D "Diskeeper v9.0 Build 515" /f

REG ADD %KEY%\045 /V 1 /D "%systemroot%\UNATTENDED\Diskeeper9\Diskeeper.msi /qb" /f

REG ADD %KEY%\050 /VE /D "Cleaning Up and Registering" /f

REG ADD %KEY%\050 /V 1 /D "%systemroot%\unattended\Users.bat" /f

REG ADD %KEY%\050 /V 2 /D "%systemroot%\unattended\Compatiblity.bat" /f

REG ADD %KEY%\050 /V 3 /D "%systemroot%\unattended\Cleanup.bat" /f

REG ADD %KEY%\050 /V 4 /D "%systemroot%\unattended\Remove.bat" /f

EXIT

The problem is that when setup goes to launch tweakUI and Diskeeper I get an error that another install is in progress and that one must finish first. Both tweakui and diskeeper are .MSI's which makes me believe it is the .MSI format but my Firefox.MSI installs just fine. Now this could be because the firefox.MSI installs before anything else but I am unsure, I tried using sleep.exe to sleep for 30 seconds after every program install but that didnt work I still got "Another install is already in progress" error.

Link to comment
Share on other sites


Chances are, the problem is not with the apps' that fail - but with the install previous failing to complete.

For example your failed TweakUI is prolly due to the Spybot install not finishing properly.

For Spybot I use the following (I do it at cmdlines, but the switches remain the same)

spybotsd13.exe /VERYSILENT /NOCANCEL /TASKBARHIDE /AUTOCLOSE

(BTW your post is in the wrong forum - try the Unattended forum next time)

Link to comment
Share on other sites

When executing .msi installer files, try using this command line as outlined in the unattended.msfn.org site guide.

REG ADD %KEY%\030 /V 1 /D "msiexec /i \"%systemdrive%\winapps\ptoys\tweakui.msi\" /qb" /f

Notice the \ before the "%systemdrive%... and after tweakui.msi

Also notice the double set of quotes used.

I know this works as I have used it successfully numerous times in the past.

Link to comment
Share on other sites

Sorry I posted in the wrong forum. I thought I hit the unattended forum but I must've hit the regular one. I will try your suggestions tonight. I do have one more question though. Is it possible to make it so I can still install raid drivers by pressing F6 with a winnt.sif file. I want the abiulity to use both and If I can avoid it I would like to stay away from slip streaming teh drivers onto the cd

Link to comment
Share on other sites

Ok I tried the suggestions and this is what my file looked like:

cmdow @ /HID

@echo off

SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

REG ADD %KEY% /V TITLE /D "Installing Applications" /f

REG ADD %KEY%\005 /VE /D "FireFox v1.0" /f

REG ADD %KEY%\005 /V 1 /D "msiexec /i \"%systemroot%\UNATTENDED\FireFox10\FireFox.msi\" /passive /norestart" /f

REG ADD %KEY%\010 /VE /D "Adaware SE PRO v1.05" /f

REG ADD %KEY%\010 /V 1 /D "%systemroot%\UNATTENDED\AdawareSE105\aawsepro.exe /s" /f

REG ADD %KEY%\010 /V 2 /D "taskkill /F /IM hh.exe" /f

REG ADD %KEY%\010 /V 3 /D "taskkill /F /IM Ad-aware.exe" /f

REG ADD %KEY%\015 /VE /D "Norton Antivirus Corp v9" /f

REG ADD %KEY%\015 /V 1 /D "%systemroot%\UNATTENDED\NortonCorp9\Setup.exe /v/qn" /f

REG ADD %KEY%\020 /VE /D "SpyBot v1.3" /f

REG ADD %KEY%\020 /V 1 /D "%systemroot%\UNATTENDED\SpyBot13\spybotsd13.exe /sp- /verysilent /norestart /AUTOCLOSE /f" /f

REG ADD %KEY%\025 /VE /D "TweakUI" /f

REG ADD %KEY%\025 /V 1 /D "msiexec /i \"%systemroot%\UNATTENDED\TweakUI\tweakui.msi\" /qb" /f

REG ADD %KEY%\030 /VE /D "System Mechanic v4.0J" /f

REG ADD %KEY%\030 /V 1 /D "%systemroot%\UNATTENDED\SystemMech40j\systemmechanic40j.exe /s" /f

REG ADD %KEY%\035 /VE /D "WinRar v3.41" /f

REG ADD %KEY%\035 /V 1 /D "%systemroot%\UNATTENDED\WinRAR341\wrar341.exe /s" /f

REG ADD %KEY%\040 /VE /D "Nero Burning ROM v6.6.0.6" /f

REG ADD %KEY%\040 /V 1 /D "%systemroot%\UNATTENDED\Nero6606\nero6606.exe" /f

REG ADD %KEY%\045 /VE /D "Diskeeper v9.0 Build 515" /f

REG ADD %KEY%\045 /V 1 /D "msiexec /i \"%systemroot%\UNATTENDED\Diskeeper9\Diskeeper.msi\" /qb" /f

REG ADD %KEY%\050 /VE /D "Cleaning Up and Registering" /f

REG ADD %KEY%\050 /V 1 /D "%systemroot%\unattended\Users.bat" /f

REG ADD %KEY%\050 /V 2 /D "%systemroot%\unattended\Compatiblity.bat" /f

REG ADD %KEY%\050 /V 3 /D "%systemroot%\unattended\Cleanup.bat" /f

REG ADD %KEY%\050 /V 4 /D "%systemroot%\unattended\Remove.bat" /f

EXIT

Still I got tweakUI and Dsikeeper telling me there were other installations in progress. Any more suggestions?

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...