Peppe Posted August 16, 2004 Share Posted August 16, 2004 Hi Guys. a Newbie here. I've been experimenting with the different guides given here and in unattended.msfn.org. However, I have run into some problems.I'll share with you my RunOnceEx.cmd file, and maybe you can help me with what has gone wrong, or where can I improve this unattended DVD I'm making.[B]RunOnceEx.cmd[/B]cmdow @ /HID@echo offIF EXIST D:\CD.txt set CDROM=D:IF EXIST E:\CD.txt set CDROM=E:IF EXIST F:\CD.txt set CDROM=F:IF EXIST G:\CD.txt set CDROM=G:IF EXIST H:\CD.txt set CDROM=H:IF EXIST I:\CD.txt set CDROM=I:IF EXIST J:\CD.txt set CDROM=J:SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Applications" /fREG ADD %KEY%\005 /VE /D "Acrobat 6" /fREG ADD %KEY%\005 /V 1 /D "\"%CDROM%\install\Acrobat\acroPRo.msi\" " \fREG ADD %KEY%\010 /VE /D "AdAware SE" /fREG ADD %KEY%\010 /V 1 /D "\"%CDROM%\install\AdAware\aawsepersonal.exe\" /s" \fREG ADD %KEY%\015 /VE /D "Direct X 9.0c" /fREG ADD %KEY%\015 /V 1 /D "\"%CDROM%\install\DirectX\dxsetup.exe\"" \fREG ADD %KEY%\020 /VE /D "Microsoft JavaVM - Build 3810" /fREG ADD %KEY%\020 /V 1 /D "%CDROM%\install\JavaVM\MSJavaVM_3810.exe" /fREG ADD %KEY%\025 /VE /D "KaZaA Lite" /fREG ADD %KEY%\025 /V 1 /D "%CDROM%\install\kazaalt\klitekpp243e.exe" /fREG ADD %KEY%\030 /VE /D "MSN Messenger 6" /fREG ADD %KEY%\030 /V 1 /D "%CDROM%\install\Messenger\MsnMsgs.msi /QB" /fREG ADD %KEY%\035 /VE /D "Nero Burning R.O.M. 6.3.1.17" /fREG ADD %KEY%\035 /V 1 /D "REGEDIT /S %CDROM%\install\Nero\register.reg" /fREG ADD %KEY%\035 /V 2 /D "%CDROM%\install\Nero\Nero63117.exe /silent /noreboot /no_ui" /fREG ADD %KEY%\040 /VE /D "Microsoft Office 2003 Full" /fREG ADD %KEY%\040 /V 1 /D "%CDROM%\install\Office2003\setup.exe TRANSFORMS=CUSTOM.MST /qb-" /fREG ADD %KEY%\040 /V 2 /D "%CDROM%\install\Frontpage\setup.exe TRANSFORMS=CUSTOM.MST /qb-" /fREG ADD %KEY%\040 /V 3 /D "%CDROM%\install\Onenote\setup.exe TRANSFORMS=CUSTOM.MST /qb-" /fREG ADD %KEY%\040 /V 4 /D "%CDROM%\install\Project\setup.exe TRANSFORMS=CUSTOM.MST /qb-" /fREG ADD %KEY%\040 /V 5 /D "%CDROM%\install\Visio\setup.exe TRANSFORMS=CUSTOM.MST /qb-" /fREG ADD %KEY%\045 /VE /D "PGP 8.0" /fREG ADD %KEY%\045 /V 1 /D "\"%CDROM%\install\PGP8\PGP8.0.exe\"" \fREG ADD %KEY%\050 /VE /D "Skype" /fREG ADD %KEY%\050 /V 1 /D "\"%CDROM%\install\Skype\SkypeSetup.exe\" /VERYSILENT /SP-" \fREG ADD %KEY%\055 /VE /D "SmartFTP" /fREG ADD %KEY%\055 /V 1 /D "\"%CDROM%\install\SmartFTP\smartFTP.msi\" /qb" \fREG ADD %KEY%\060 /VE /D "UltraISO 7.21" /fREG ADD %KEY%\060 /V 1 /D "\"%CDROM%\install\UltraISO\uiso7_me.exe\"" \fREG ADD %KEY%\065 /VE /D "Winamp 5" /fREG ADD %KEY%\065 /V 1 /D "\"%programfiles%\Winamp\winamp1.exe\"" /fREG ADD %KEY%\070 /VE /D "WinRar 3.30" /fREG ADD %KEY%\070 /V 1 /D "\"%programfiles%\WinRaR\winrar_3.30_corporate_edition.exe\" /s" /fREG ADD %KEY%\075 /VE /D "Winzip 9" /fREG ADD %KEY%\075 /V 1 /D "REGEDIT /S %CDROM%\Install\Winzip\winzip.reg" /fREG ADD %KEY%\075 /V 2 /D "\"%programfiles%\Winzip\winzip32.exe\" /notip /autoinstall" /fREG ADD %KEY%\076 /VE /D "Daemon Tools" /fREG ADD %KEY%\076 /V 1 /D "\"%CDROM%\install\Daemon Tools\daemon.msi\" /qb" \fREG ADD %KEY%\080 /VE /D "Applying Registry Components, Cleaning up and Rebooting" /fREG ADD %KEY%\080 /V 1 /D "REGEDIT /S \"%CDROM%\install\Registryhacks.reg" /fREG ADD %KEY%\080 /V 2 /D "%CDROM%\Install\cleanup.cmd" /fEXITOk, so You can see I'm installing a big bunch of SW. Now, the funny thing is this. Some of it does install (such as Kazaa, Nero, Office, Winzip, WinRAR, the MS JavaVM, Winamp and Messenger 6.2). But for some WEIRD reason, the rest is just skipped by the installer. I've checked paths and details but can't find what's wrong with this. One thing I noticed, SmartFTP was installing before I decided to change to the RunOnceEx method.Can someone show me the light here? Tell me what I'm doing wrong or what I can improve. I'm starting to experiment with WinInstall to modify .MSI files. I'm a quick learner, but I still can't install Adobe Acrobat if the installer doesn't want to run the .msi package.By the way, this is for a WinXPSP2 Unattended instalation, forgot to say! Link to comment Share on other sites More sharing options...
DisabledTrucker Posted August 16, 2004 Share Posted August 16, 2004 what's this /f? also if you notice that on some of them you have it as \f that could be your problem. Link to comment Share on other sites More sharing options...
Peppe Posted August 16, 2004 Author Share Posted August 16, 2004 DisabledTrucker... You are a genius... Or maybe I'm just too tired to keep trying this. I didn't notice that difference in those lines. You may be right. The /f (According to some help file that I can't remember) apparently overwrite any existing registry key with the same ID (Number).The proper syntax should be /f and not \fAgain Thanks... I knew it was something simple....cheers! 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