Jump to content

RunOnceEx or GuiRunOnce


Recommended Posts

Wich is the adventage in use RunOnceEx or GuiRunOnce in an unattended instalation of Win XP ?

If i chose one of them, so i don't use the other ?

Sorry by that question, but I just read the MSFN guide and I'm just join in unattended instalation

Thanks !

Pollo

Link to comment
Share on other sites


Hi, pollo. Welcome to MSFN.

RunOnceEX and GuiRunOnce are not the same thing.

RunOnceEX is the way you install your applications using silent switches to do it automatically.

GuiRunOnce is an entrie in the winnt.sif file that runs a command when you do your first logon.

People use GuiRunOnce to get RunOnceEX running at first logon.

To do this, open your winnt.sif and under the [GuiRunOnce] entrie, type this:

[GuiRunOnce]
Command0 = "%systemdrive%\install\RunOnceEX.cmd"

Your RunOnceEX.cmd must be in the "$OEM$\$1\install\" for this to work.

There is also other ways to install your apps, like XPlode, Windows Post-Install Wizard and others.

If you just begun, try to first master RunOnceEX, then jump to another one. If you have any other questions, feel free to post it here.

Good luck.

Link to comment
Share on other sites

I use a cmd script to write the registry entries for RunOnceEx using cmdlines.txt. For example, here is my cmdlines.txt:

cmdlines.txt

[COMMANDS]
"runonceex.cmd"

and a runonceex.cmd snippet:

runonceex.cmd

@echo off
SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx
SET PP=%systemdrive%\install\

REG ADD %KEY% /V TITLE /D "Post-Installation" /f
REG ADD %KEY /VE /D "Preparing Installation" /f
REG ADD %KEY /V 1 /D "%PP%install.exe -y /q /r:n" /f

That first item unzips a 7zip archive I made with all of my applications inside, compressed using 7z technology at the maximum my system could handle. I unzip that first and then install all of the programs next. I use RunOnceEx because I usually only create unattended cds for myself. If you would like variability, try WPI.

Edited by tap52384
Link to comment
Share on other sites

Hi !

I have a problem with the unattended installation. I am making the installation on a PC (VMachine) that already has a XP previously installed (1 drive, with 1 partition). In the part of installation in text mode, installation asks on which partition I want to install XP. I am using the keys:

[Data]
Autopartition=1
MsDosInitiated="0"
UnattendedInstall="Yes"

[Unattended]
UnattendMode=FullUnattended
Repartition=1

PS: The first time (Exactly after creating de Vmachine, without any OS installed on it) that instalcion makes, I am made it 100% unnatended

Anyone can I help me ?

Thanks a lot !!

Pollo

Link to comment
Share on other sites

  • 2 weeks later...

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...