pimp_gimp Posted May 30, 2004 Author Share Posted May 30, 2004 Heres What My RunOnceEx.cmd looks like:cmdow @ /HID@echo offSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Applications" /fREG ADD %KEY%\001 /VE /D "Preparing Installation..." /fREG ADD %KEY%\001 /V 1 /D "%systemdrive%\install\prepare.cmd" /fREG ADD %KEY%\010 /VE /D "DirectX 9.0b" /fREG ADD %KEY%\010 /V 1 /D "%systemdrive%\install\DirectX 9.0b\DX9NTopk.exe /qn" /fREG ADD %KEY%\015 /VE /D "MSN Messenger 6.2" /fREG ADD %KEY%\015 /V 1 /D "%systemdrive%\install\MSN\MSN_Messenger_6.2.0133.msi /qn" /fREG ADD %KEY%\020 /VE /D "Cmd Here Powertoy" /fREG ADD %KEY%\020 /V 1 /D "%systemdrive%\install\PowerToys\CmdHerePowertoySetup.exe /qn" /fREG ADD %KEY%\025 /VE /D "Image Resizer Powertoy" /fREG ADD %KEY%\025 /V 1 /D "%systemdrive%\install\PowerToys\ImageResizerPowertoySetup.exe /qn" /fREG ADD %KEY%\030 /VE /D "Slide Show Powertoy" /fREG ADD %KEY%\030 /V 1 /D "%systemdrive%\install\PowerToys\SlideshowPowertoySetup.exe /qn" /fREG ADD %KEY%\035 /VE /D "Tweak Ui Powertoy" /fREG ADD %KEY%\035 /V 1 /D "%systemdrive%\install\PowerToys\TweakUiPowertoySetup.exe /qn" /fREG ADD %KEY%\040 /VE /D "Importing Registry Tweaks" /fREG ADD %KEY%\040 /V 1 /D "REGEDIT /S %systemdrive%\install\regtweaks.reg" /fREG ADD %KEY%\045 /VE /D "Cleaning Up and Rebooting" /fREG ADD %KEY%\045 /V 1 /D "%systemdrive%\install\cleanup.cmd" /fEXIT Link to comment Share on other sites More sharing options...
jrzycrim Posted May 30, 2004 Share Posted May 30, 2004 1: Windows cannot find 'C:\install\DirectX'. In your RunOnceEx, Your path to the directX file has spaces. That's causing windows to ignore everything after the first space. It's trying to execute the file 'C:\install\DirectX'. I'd recommend renaming your DirectX 9.0b folder to just DirectX and modify your RunOnceEx to reflect that.As for your powertoys, the /qn switch will not work for these. That is for MSI installations.If your tweakUI is the one downloaded from the microsoft website, it WON'T work.Edit: You'll have to search the forum for using these powertoys. Link to comment Share on other sites More sharing options...
jrzycrim Posted May 30, 2004 Share Posted May 30, 2004 Check out this page: http://unattended.msfn.org/xp/applications/powertoys.htmYou need to download the tweakui that was repackaged by Ytterbium.Also, all other powertoys support the /s /v/qn switch.Another thing you can do for your DirectX entry is change it to this:REG ADD %KEY%\010 /V 1 /D "\"%systemdrive%\install\DirectX 9.0b\DX9NTopk.exe\" /qn" /fThat puts the entire pathname in quotes so that the spaces will parsed correctly. 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