eran2004 Posted August 28, 2004 Posted August 28, 2004 This is my RunOnceEX.cmd script:cmdow @ /HID@echo offSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Applications\" /fREG ADD %KEY%\005 /VE /D "Adobe Reader 6" /fREG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\Applications\AdobeReader6\AdbeRdr60_enu_full.exe -p"-s /v\"/qn\"\"" /fREG ADD %KEY%\010 /VE /D "Diskeeper 8" /fREG ADD %KEY%\010 /V 1 /D "%systemdrive%\install\Applications\Diskeeper\setup.exe /s /v/qn" /fREG ADD %KEY%\015 /VE /D "Nero Burning ROM" /fREG ADD %KEY%\015 /V 1 /D "%systemdrive%\install\Applications\Nero\nero63120.exe /silent /noreboot /no_ui /sn=xxxx-xxxx-xxxx-xxxx-xxxx-xxxx /write_sn" /fREG ADD %KEY%\020 /VE /D "Flashget 1.6" /fREG ADD %KEY%\020 /V 1 /D "REGEDIT /S %systemdrive%\install\Applications\Flashget\fgf160.exe /s" /fREG ADD %KEY%\020 /V 2 /D "REGEDIT /S %systemdrive%\install\Applications\Flashget\register.reg" /fREG ADD %KEY%\030 /VE /D "WinRar 3.30" /fREG ADD %KEY%\030 /V 1 /D "%systemdrive%\install\Applications\WinRAR\wrar330.exe /s" /fREG ADD %KEY%\040 /VE /D "WinISO 5.3" /fREG ADD %KEY%\040 /V 1 /D ""%systemdrive%\install\Applications\WinISO\winiso53.exe /VERYSILENT /SP-" /fREG ADD %KEY%\040 /V 2 /D "taskkill /F /IM WinISO.exe" /fOf these apps only Nero and Winrar actually install. Diskeeper - an error message saying it can't find setup.exe . When I check the folder, it is indeed not there: instead there is a corrupted file $temp$.~~~ . The file on the XP CD is fine and runs properly. I don't understand why the corruption. It's as if it stopped copying the file in the middle.For Acrobat, Flashget and WinISO - there is no error message. They simply don't install, even though they are properly copied to the HD. The switches I use are from this board and the main page. Any ideas?Thanks.
urie Posted August 28, 2004 Posted August 28, 2004 REG ADD %KEY%\5035 /VE /D "Flashget 1.6" /fREG ADD %KEY%\5035 /V 1 /D "%systemdrive%\Install\Flashget\fgf160.exe /S" /fREG ADD %KEY%\5035 /V 2 /D "REGEDIT /S %systemdrive%\Install\Flashget\Flashget1.reg" /fthis works for me
eagle00789 Posted August 28, 2004 Posted August 28, 2004 another mistake:REG ADD %KEY%\040 /VE /D "WinISO 5.3" /fREG ADD %KEY%\040 /V 1 /D ""%systemdrive%\install\Applications\WinISO\winiso53.exe /VERYSILENT /SP-" /fREG ADD %KEY%\040 /V 2 /D "taskkill /F /IM WinISO.exe" /fshould be:REG ADD %KEY%\040 /VE /D "WinISO 5.3" /fREG ADD %KEY%\040 /V 1 /D "%systemdrive%\install\Applications\WinISO\winiso53.exe /VERYSILENT /SP-" /fREG ADD %KEY%\040 /V 2 /D "taskkill /F /IM WinISO.exe" /fand the following:REG ADD %KEY%\005 /VE /D "Adobe Reader 6" /fREG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\Applications\AdobeReader6\AdbeRdr60_enu_full.exe -p"-s /v\"/qn\"\"" /fshould be:REG ADD %KEY%\005 /VE /D "Adobe Reader 6" /fREG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\Applications\AdobeReader6\AdbeRdr60_enu_full.exe -p\"-s /v\"/qn\"\"" /f
eran2004 Posted August 28, 2004 Author Posted August 28, 2004 Thank you both guys, for the debugging ! That's why I never went into programming ....Any thoughts about what's going on with diskeeper?
eagle00789 Posted August 28, 2004 Posted August 28, 2004 use the switches /S /qb for diskeeper. Watch that Capital S
eran2004 Posted August 28, 2004 Author Posted August 28, 2004 Thanks eagle.actually the /s /v/qn switches work better than /S /qb because I don't need to click the Next button. My problem is: why does the setup.exe file get corrupted during the copying to the disk?As for Winiso - I still need to click Next buttons. Any way arround this? edit - I just used the /s on it and it worked fine.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now