pollo Posted January 22, 2007 Share Posted January 22, 2007 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 instalationThanks !Pollo Link to comment Share on other sites More sharing options...
gugutz Posted January 22, 2007 Share Posted January 22, 2007 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 More sharing options...
pollo Posted January 22, 2007 Author Share Posted January 22, 2007 Hi gugutz !Thank you very much, I am going to analyze your commentaries and any doubt I write to youThank a lot !Pollo Link to comment Share on other sites More sharing options...
tap52384 Posted January 22, 2007 Share Posted January 22, 2007 (edited) 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 offSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExSET PP=%systemdrive%\install\REG ADD %KEY% /V TITLE /D "Post-Installation" /fREG ADD %KEY /VE /D "Preparing Installation" /fREG ADD %KEY /V 1 /D "%PP%install.exe -y /q /r:n" /fThat 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 January 22, 2007 by tap52384 Link to comment Share on other sites More sharing options...
pollo Posted January 23, 2007 Author Share Posted January 23, 2007 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=1MsDosInitiated="0"UnattendedInstall="Yes"[Unattended]UnattendMode=FullUnattendedRepartition=1PS: The first time (Exactly after creating de Vmachine, without any OS installed on it) that instalcion makes, I am made it 100% unnatendedAnyone can I help me ?Thanks a lot !!Pollo Link to comment Share on other sites More sharing options...
pollo Posted January 24, 2007 Author Share Posted January 24, 2007 HI !I'd just resolve this problem ! I'd to replace Repartition=1 to Repartition=Yes !!!ThanksPollo Link to comment Share on other sites More sharing options...
mraeryceos Posted February 2, 2007 Share Posted February 2, 2007 My cmdlines.txt starts runonceex like this:[commands]"rundll32 setupapi,InstallHinfSection XP 128 .\runonceex.inf""rundll32 iernonce.dll,RunOnceExProcess" Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now