ExTruckie Posted October 1, 2008 Share Posted October 1, 2008 I have a question on setting up my RunOnceCmd file. for my unattended install cd/dvd. This is the location of all the items I wish to have RunOnce install:E:\XP Pro SP3 Upd WMP11 + XPize\$OEM$\$Progs. This folder consists of 20 programs I made into 7.Z Switchless installers (all work as they have been tested) This is what I have so far cmdow @ /HID@Echo OffSET PP=%SystemDrive%\Install\SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Programs" /fREG ADD %KEY%\009 /VE /D "7Zip" /fREG ADD %KEY%\009 /V 1 /D "%PP%7Zip.exe -y /q /r:n" /fREG ADD %KEY%\019 /VE /D "WinXP Image Resizer Power Toy" /fREG ADD %KEY%\019 /V 1 /D "%PP%ImageResizerPowertoySetup.exe /s /v/qn" /fREG ADD %KEY%\029 /VE /D "dotNetFx35setup.exe" /fREG ADD %KEY%\029 /V 1 /D "%PP%dotNetFx35setup.exe /qb" /fREG ADD %KEY%\039 /VE /D "TweakUiPowertoySetup.exe" /fREG ADD %KEY%\039 /V 1 /D "%PP%TweakUiPowertoySetup.ex /qn" /fREG ADD %KEY%\049 /VE /D "McAfee Security" /fREG ADD %KEY%\049 /V 1 /D "%PP%DMSetup-Serial.exe /silent /noreboot /NO_UI" /fEXITThis is all I have attempted so far. The above was created with RunOnceEx.cmd Creator. I also will not include this in my cd/dvd disk until I get it working. The programs do load as I watched them just yesterday do so. It was quite impressive seeing something I created with people like yours help work. Am I on the right track? Link to comment Share on other sites More sharing options...
Yzöwl Posted October 1, 2008 Share Posted October 1, 2008 You need to change the `location of all the items I wish to have RunOnce install`. That location means that all the installation software will be copied over to your Program Files directory and ran from there.Changing the location to "E:\XP Pro SP3 Upd WMP11 + XPize\$OEM$\$1\Install" will match the "%SystemDrive%\Install" location you have SET as variable `PP` in your example script. Link to comment Share on other sites More sharing options...
ExTruckie Posted October 1, 2008 Author Share Posted October 1, 2008 (edited) You need to change the `location of all the items I wish to have RunOnce install`. That location means that all the installation software will be copied over to your Program Files directory and ran from there.to Changing the location "E:\XP Pro SP3 Upd WMP11 + XPize\$OEM$\$1\Install" will match the "%SystemDrive%\Install" location you have SET as variable `PP` in your example script. So if I understand correctly the coding is fine. "E:\XP Pro SP3 Upd WMP11 + XPize\$OEM$\$1\Install" is where everything lives on my hard drive. The programs also reside in \$OEM\$1\$progs on the cd/dvd. I should have stated that in the first post. Edited October 1, 2008 by ExTruckie Link to comment Share on other sites More sharing options...
Yzöwl Posted October 1, 2008 Share Posted October 1, 2008 Leave the script as it is!You don't want to have all the setup files for all your applications copied to %ProgramFiles%; you should put them all into the location I've provided. When you install programs in a live system you don't copy all the installers to the \Program Files directory first, your installed programs go there.Forget your current CD, you'll need to make another one with the following structure.\---XP Pro SP3 Upd WMP11 + XPize +---$OEM$ | \---$1 | \---Install | 7Zip.exe | DMSetup-Serial.exe.exe | dotNetFx35setup.exe | ImageResizerPowertoySetup.exe | TweakUiPowertoySetup.exe | \---I386In your posted script, you have an error, it should say TweakUiPowertoySetup.exe Link to comment Share on other sites More sharing options...
ExTruckie Posted October 3, 2008 Author Share Posted October 3, 2008 Well I did as you say and all is well. I got everything coded and tested. Thanks 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