This is my RunOnceEX.cmd script:
cmdow @ /HID
@echo off
SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx
REG ADD %KEY% /V TITLE /D "Installing Applications\" /f
REG ADD %KEY%\005 /VE /D "Adobe Reader 6" /f
REG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\Applications\AdobeReader6\AdbeRdr60_enu_full.exe -p"-s /v\"/qn\"\"" /f
REG ADD %KEY%\010 /VE /D "Diskeeper 8" /f
REG ADD %KEY%\010 /V 1 /D "%systemdrive%\install\Applications\Diskeeper\setup.exe /s /v/qn" /f
REG ADD %KEY%\015 /VE /D "Nero Burning ROM" /f
REG 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" /f
REG ADD %KEY%\020 /VE /D "Flashget 1.6" /f
REG ADD %KEY%\020 /V 1 /D "REGEDIT /S %systemdrive%\install\Applications\Flashget\fgf160.exe /s" /f
REG ADD %KEY%\020 /V 2 /D "REGEDIT /S %systemdrive%\install\Applications\Flashget\register.reg" /f
REG ADD %KEY%\030 /VE /D "WinRar 3.30" /f
REG ADD %KEY%\030 /V 1 /D "%systemdrive%\install\Applications\WinRAR\wrar330.exe /s" /f
REG ADD %KEY%\040 /VE /D "WinISO 5.3" /f
REG ADD %KEY%\040 /V 1 /D ""%systemdrive%\install\Applications\WinISO\winiso53.exe /VERYSILENT /SP-" /f
REG ADD %KEY%\040 /V 2 /D "taskkill /F /IM WinISO.exe" /f
Of 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.
Page 1 of 1
Problem with RunOnceEX
#2
Posted 28 August 2004 - 06:09 AM
REG ADD %KEY%\5035 /VE /D "Flashget 1.6" /f
REG ADD %KEY%\5035 /V 1 /D "%systemdrive%\Install\Flashget\fgf160.exe /S" /f
REG ADD %KEY%\5035 /V 2 /D "REGEDIT /S %systemdrive%\Install\Flashget\Flashget1.reg" /f
this works for me
REG ADD %KEY%\5035 /V 1 /D "%systemdrive%\Install\Flashget\fgf160.exe /S" /f
REG ADD %KEY%\5035 /V 2 /D "REGEDIT /S %systemdrive%\Install\Flashget\Flashget1.reg" /f
this works for me
#3
Posted 28 August 2004 - 06:16 AM
another mistake:should be:and the following:should be:
Quote
REG ADD %KEY%\040 /VE /D "WinISO 5.3" /f
REG ADD %KEY%\040 /V 1 /D ""%systemdrive%\install\Applications\WinISO\winiso53.exe /VERYSILENT /SP-" /f
REG ADD %KEY%\040 /V 2 /D "taskkill /F /IM WinISO.exe" /f
REG ADD %KEY%\040 /V 1 /D ""%systemdrive%\install\Applications\WinISO\winiso53.exe /VERYSILENT /SP-" /f
REG ADD %KEY%\040 /V 2 /D "taskkill /F /IM WinISO.exe" /f
Quote
REG ADD %KEY%\040 /VE /D "WinISO 5.3" /f
REG ADD %KEY%\040 /V 1 /D "%systemdrive%\install\Applications\WinISO\winiso53.exe /VERYSILENT /SP-" /f
REG ADD %KEY%\040 /V 2 /D "taskkill /F /IM WinISO.exe" /f
REG ADD %KEY%\040 /V 1 /D "%systemdrive%\install\Applications\WinISO\winiso53.exe /VERYSILENT /SP-" /f
REG ADD %KEY%\040 /V 2 /D "taskkill /F /IM WinISO.exe" /f
Quote
REG ADD %KEY%\005 /VE /D "Adobe Reader 6" /f
REG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\Applications\AdobeReader6\AdbeRdr60_enu_full.exe -p"-s /v\"/qn\"\"" /f
REG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\Applications\AdobeReader6\AdbeRdr60_enu_full.exe -p"-s /v\"/qn\"\"" /f
Quote
REG ADD %KEY%\005 /VE /D "Adobe Reader 6" /f
REG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\Applications\AdobeReader6\AdbeRdr60_enu_full.exe -p\"-s /v\"/qn\"\"" /f
REG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\Applications\AdobeReader6\AdbeRdr60_enu_full.exe -p\"-s /v\"/qn\"\"" /f
#4
Posted 28 August 2004 - 08:09 AM
Thank you both guys, for the debugging ! That's why I never went into programming ....
Any thoughts about what's going on with diskeeper?
Any thoughts about what's going on with diskeeper?
#5
Posted 28 August 2004 - 08:13 AM
use the switches /S /qb for diskeeper. Watch that Capital S
#6
Posted 28 August 2004 - 08:47 AM
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.
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.
Share this topic:
Page 1 of 1



Help
Back to top









