Jump to content
MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. ×

GuiRunOnce or RunOnceEX?


xracer
 Share

Recommended Posts

Which would be best for use with XPC and how is it integrated into it? Examples?

There are certain applications I'd like to run silent during install, and in the case of Adobe 6 reader, it won't install at T13 (says XP must complete first).

Please be patient, noob behind wheel, but making progress. :)

Link to comment
Share on other sites


I would say it is a matter of personal esthetic preference: both can accomplish the same installation results. RunOnceEx looks prettier, GuiRunOnce is simpler. I use RunOnceEx, as I have it all automated. If I were to do it by hand, I would certainly consider GuiRunOnce. My two cents ...

Link to comment
Share on other sites

I can do complete installs without any issues now (not sure about the hotfixes), except that I can't seem to get any programs to install. My reg tweak is I think, but it seems to just skip over the program install. I only tried one to keep it simple.

Edit: I tried again with another program, but didn't install either. They are in the

C:\Install\Applications folder, so at least that's working right. Should they be extracted first?

cmdow @ /HID

@echo off

SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

REG ADD %KEY% /V TITLE /D "Installing Applications" /f

REG ADD %KEY%\001 /VE /D "Preparing Installation..." /f

REG ADD %KEY%\001 /V 1 /D "%systemdrive%\install\prepare.cmd" /f

REG ADD %KEY%\005 /VE /D "ZoneAlarm" /f

REG ADD %KEY%\005 /V 1 /D %systemdrive%\install\Applications\ZoneAlarm\zlssetup_45_594_000.exe /s /noreboot /f

REG ADD %KEY%\050 /VE /D "Importing Registry Tweaks" /f

REG ADD %KEY%\050 /V 1 /D "REGEDIT /S %systemdrive%\install\!SafeProAllstart.reg" /f

REG ADD %KEY%\055 /VE /D "Cleaning Up and Rebooting" /f

REG ADD %KEY%\055 /V 1 /D "%systemdrive%\install\cleanup.cmd" /f

EXIT

Link to comment
Share on other sites

bump

Sorry, just trying to resolve this last issue as I can't seem to find the problem.

I can do complete installs without any issues now (not sure about the hotfixes), except that I can't seem to get any programs to install. It seems to just skip over the program install even though the install message pops up and looks like it's going to work. I only tried one app and reg tweak to keep it simple.

Edit: I tried again with another program, but didn't install either. They are in the

C:\Install\Applications folder after the OS is installed, so at least that's working right. Should they be extracted first?

cmdow @ /HID

@echo off

SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

REG ADD %KEY% /V TITLE /D "Installing Applications" /f

REG ADD %KEY%\001 /VE /D "Preparing Installation..." /f

REG ADD %KEY%\001 /V 1 /D "%systemdrive%\install\prepare.cmd" /f

REG ADD %KEY%\005 /VE /D "ZoneAlarm" /f

REG ADD %KEY%\005 /V 1 /D %systemdrive%\install\Applications\ZoneAlarm\zlssetup_45_594_000.exe /s /noreboot /f

REG ADD %KEY%\050 /VE /D "Importing Registry Tweaks" /f

REG ADD %KEY%\050 /V 1 /D "REGEDIT /S %systemdrive%\install\!SafeProAllstart.reg" /f

REG ADD %KEY%\055 /VE /D "Cleaning Up and Rebooting" /f

REG ADD %KEY%\055 /V 1 /D "%systemdrive%\install\cleanup.cmd" /f

EXIT

Link to comment
Share on other sites

You forgot to close it off with quotations like every other REG ADD entry you have.

"%systemdrive%\install\Applications\ZoneAlarm\zlssetup_45_594_000.exe /s /noreboot" /f
Link to comment
Share on other sites

You forgot to close it off with quotations like every other REG ADD entry you have.
"%systemdrive%\install\Applications\ZoneAlarm\zlssetup_45_594_000.exe /s /noreboot" /f

:)

noobs.....thanks, I didn't notice that....nothing like cut and paste mistakes.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    No registered users viewing this page.


×
×
  • Create New...