amazonjustice Posted January 3, 2005 Share Posted January 3, 2005 hello, My unattended install worked up to a point: when it came time to install the diffrent applications I has slipstreamed it said that it could locate the install file for them.I put the install folders for each program in the $1$ folder. example: C:\XPCD\$OEM$\$1$\install\ECD C:\XPCD\$OEM$\$1$\install\AlcoholHere is a copy or my RunOnce file.**********************************************************@Echo Offrem PP=%SystemDrive%\Install\SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Programs" /fREG ADD %KEY%\000 /VE /D "Alcohol 120%" /fREG ADD %KEY%\000 /V 1 /D "%SystemDrive%\Install\Alcohol\setup.exe /qn" /fREG ADD %KEY%\001 /VE /D "Google Toolbar" /fREG ADD %KEY%\001 /V 1 /D "%SystemDrive%\Install\GoogleToolbarInstaller.exe /s /qn" /fREG ADD %KEY%\002 /VE /D "Jasc Paint Shop Pro 8" /fREG ADD %KEY%\002 /V 1 /D "%SystemDrive%\Install\PSP\JPSP8.msi /qn" /fREG ADD %KEY%\003 /VE /D "Easy CD Creater 6.0" /fREG ADD %KEY%\003 /V 1 /D "%SystemDrive%\Install\ECD\SETUP.EXE /s /v\"/qr REBOOT=Suppress REBOOTPROMPT=S\"" /fEXIT***********************************************************Do I have the stuff in a completely wrong folder ($1$) or do I just have to adjust my RunOne.exe? Thanks guys miche Link to comment Share on other sites More sharing options...
mpsmith Posted January 3, 2005 Share Posted January 3, 2005 I think the correct directory should be "$1" rather than "$1$". Link to comment Share on other sites More sharing options...
Yzöwl Posted January 3, 2005 Share Posted January 3, 2005 Also check that the file you've posted is named runonceex.cmd not RunOne.exe Link to comment Share on other sites More sharing options...
tguy Posted January 6, 2005 Share Posted January 6, 2005 @amazonjusticempsmith is right the folder you need to put the apps in is $OEM$\$1\InstallAs for your Runonceex.cmd your syntax appears to be a little off.Here is a copy of mine for your reference.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 "%systemroot%\install\bootini.vbs" /fREG ADD %KEY%\005 /VE /D "Creating useful shortcuts" /fREG ADD %KEY%\005 /V 1 /D "%systemroot%\install\shortcuts.vbs" /fREG ADD %KEY%\010 /VE /D "Creating Support User" /fREG ADD %KEY%\010 /V 1 /D "%systemroot%\install\emeruser.vbs" /fREG ADD %KEY%\015 /VE /D "Changing CD-ROM drive letter" /fREG ADD %KEY%\015 /V 1 /D "%systemroot%\install\chngcdltr.bat" /fREG ADD %KEY%\020 /VE /D "Applying Tweaks" /fREG ADD %KEY%\020 /V 1 /D "REGEDIT /S %systemroot%\install\tweaks.reg" /fREG ADD %KEY%\022 /VE /D "Installing Ad-Aware" /fREG ADD %KEY%\022 /V 1 /D "%systemdrive%\winapps\aa\aawsepersonal.exe /s" /fREG ADD %KEY%\023 /VE /D "Installing Adobe Reader 6.0.1" /fREG ADD %KEY%\023 /V 1 /D "%systemroot%\install\adobe.bat" /fREG ADD %KEY%\025 /VE /D "Installing Diskeeper Pro v.8" /fREG ADD %KEY%\025 /V 1 /D "%systemdrive%\winapps\dk8\setup.exe /s /v/qn" /fREG ADD %KEY%\026 /VE /D "Installing JustZIPit" /fREG ADD %KEY%\026 /V 1 /D "%systemroot%\install\zip.bat" /fREG ADD %KEY%\030 /VE /D "Installing Power Toys" /fREG ADD %KEY%\030 /V 1 /D "msiexec /i \"%systemdrive%\winapps\ptoys\tweakui.msi\" /qb" /fREG ADD %KEY%\030 /V 2 /D "%systemdrive%\winapps\ptoys\cmdhere.exe /s /v/qn" /fREG ADD %KEY%\030 /V 3 /D "%systemdrive%\winapps\ptoys\powercalc.exe /s /v/qn" /fREG ADD %KEY%\030 /V 4 /D "%systemdrive%\winapps\ptoys\taskswitch.exe /s /v/qn" /fREG ADD %KEY%\035 /VE /D "Installing Sun JVM" /fREG ADD %KEY%\035 /V 1 /D "%SYSTEMROOT%\Install\jvm.bat" /fREG ADD %KEY%\040 /VE /D "Installing Support Tools" /fREG ADD %KEY%\040 /V 1 /D "msiexec /i \"%SYSTEMDRIVE%\WINAPPS\suptools.msi\" /qb" /fREG ADD %KEY%\055 /VE /D "Applying Security Policy" /fREG ADD %KEY%\055 /V 1 /D "%systemroot%\install\secedit.bat" /fREG ADD %KEY%\060 /VE /D "Cleaning Up and Rebooting" /fREG ADD %KEY%\060 /V 1 /D "%systemroot%\install\cleanup.cmd" /fEXITNote: Ignore the line wrapping where applicable. 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