MSFN Forum: Problem with RunOnceEX - MSFN Forum

Jump to content



Unattended CD/DVD Guide Homepage · MSFN Forum Rules

Welcome to the Applications Installs forum. Make sure you read the forum rules before you start posting.

Links/Requests to warez and/or any illegal material (porn, cracks, serials, etc..) will not be tolerated. Discussion of circumventing WGA/activation/timebombs/keygens or any other illegal activity will also not be tolerated.

We try our best to keep this forum clean of illegal content. If you see any illegal activity use the "report" button you find in every post to report the specific post to the moderators. If you ignore any of the rules you will be banned without notice.

Read Forum Rules
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Problem with RunOnceEX Rate Topic: -----

#1 User is offline   eran2004 

  • Group: Members
  • Posts: 5
  • Joined: 25-August 04

Posted 28 August 2004 - 05:44 AM

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.


#2 User is offline   urie 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 509
  • Joined: 30-July 03

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

#3 User is offline   eagle00789 

  • MSFN NutCase
  • PipPip
  • Group: Members
  • Posts: 281
  • Joined: 06-August 04

Posted 28 August 2004 - 06:16 AM

another mistake:

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
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
and the following:

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
should be:

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


#4 User is offline   eran2004 

  • Group: Members
  • Posts: 5
  • Joined: 25-August 04

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?

#5 User is offline   eagle00789 

  • MSFN NutCase
  • PipPip
  • Group: Members
  • Posts: 281
  • Joined: 06-August 04

Posted 28 August 2004 - 08:13 AM

use the switches /S /qb for diskeeper. Watch that Capital S

#6 User is offline   eran2004 

  • Group: Members
  • Posts: 5
  • Joined: 25-August 04

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.

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy