tjabocom Posted July 13, 2005 Posted July 13, 2005 Hi all unattended folks,I have followed the Gosh guide to install apps during an unattended setup..http://gosh.msfnhosting.com/using_runonceex.htmThe unattended installation works fine, except that the runonce is run after i log on with my admin account. I expected that it would run just before the login windows..not in an user mode....So I will be glad if someone can explain or have an ide what it can be /Tjabocomrunonce.inf[Version]Signature=$CHICAGO$[DefaultInstall]AddReg = RunXP[XP]AddReg = RunXP[RunXP];http://support.microsoft.com/?kbid=232509HKLM,"%RunOnceEx%\",Title,0,"Installing Applications"HKLM,"%RunOnceEx%\",Flags,0x00010001,20HKLM,"%RunOnceEx%\install01",,,"Media Player 10"HKLM,"%RunOnceEx%\install01",1,,"c:\apps\wmp\mpsetupedp.msi /qb-"HKLM,"%RunOnceEx%\install02",,,"Office 2003 Professional"HKLM,"%RunOnceEx%\install02",1,,"c:\apps\Office2003pro\PRO11.MSI TRANSFORMS=VEABOffice2003Pro.MST /qb-"dosnet.inf[Files]d1,runonceex.inf d1,new.infnew.inf[Version]Signature=$CHICAGO$[newhive]HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx",,0x00000012HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx",Title,0x00000000,"Applying custom settings"HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx",Flags,0x00010001,0x00000020HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\Infs",,,"Applying Inf's"HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\Infs",1,,"rundll32 setupapi,InstallHinfSection XP 128 ..\Windows\Inf\runonceex.inf"unattended.txt;SetupMgrTag[Data] AutoPartition=1 MsDosInitiated="0" UnattendedInstall="Yes" AutomaticUpdates=yes[Unattended]UnattendMode=FullUnattendedOemSkipEula=YesOemPreinstall=YesTargetPath=\WINDOWSDriverSigningPolicy=IgnoreOemPnpDriversPath=\Drivers\Audio;\Drivers\Nic;\Drivers\Video;\Drivers\chipsetUnattendSwitch = Yes[GuiUnattended] AdminPassword="secret" EncryptedAdminPassword=NO AutoLogon = Yes AutoLogonCount = 1 OEMSkipRegional=1 TimeZone=110 OemSkipWelcome=1[UserData] ProductKey=xxxxxxxxxxxxxxxxxxxxxxxxxxxx FullName="Admin" OrgName="myorg" ComputerName=ws0001[Display] BitsPerPel=24 Xresolution=1024 YResolution=768 Vrefresh=60[RegionalSettings] LanguageGroup=1 SystemLocale=0000041d UserLocale=0000041d InputLocale=041d:0000041d[Identification] JoinWorkgroup=WORKGROUP[Networking] InstallDefaultComponents=Yes[Branding]BrandIEUsingUnattended = Yes[URL]Home_Page = http://intranet.myorg.com[Components]msmsgs=Offmsnexplr=OffOEAccess=Off[Shell]DefaultStartPanelOff = YesDefaultThemesOff = Yes[WindowsFirewall]Profiles = WindowsFirewall.TurnOffFirewall[WindowsFirewall.TurnOffFirewall]Mode = 0
Rambler Posted July 13, 2005 Posted July 13, 2005 RunOnceEx always runs after user logs on. That's how it's supposed to work As you alread have AutoLogon=Yes, AutoLogonCount=1, then everything should work smoothly without your interaction.
tjabocom Posted July 13, 2005 Author Posted July 13, 2005 Ooohps, thanks Rambler then it no ide to troubleshoot....
tjabocom Posted July 14, 2005 Author Posted July 14, 2005 I dont know but it seems that it is possible to get the RunOnceEx can be run before the first login.. Or am I wrong,?????????????/Tjabocomfrom Gosh site"How RunOnceEx worksRunOnceEx is a part of the Windows Desktop Update. It is run from this registry key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\{89820200-ECBD-11cf-8B85-00AA005B4340}. Obviously, don't delete this key! The resources for RunOnceEx reside in iernonce.dll. If you wanted to, you could use a resource editor such as Resource Hacker to change the text and icon RunOnceEx uses. During setup the RunOnceEx key is only processed at the 13 min mark because of Outlook Express. The RunOnceEx key is run before cmdlines.txt is run. So if you use cmdlines.txt or svcpack.inf to import the runonceex settings they won't run until first logon."
Yzöwl Posted July 14, 2005 Posted July 14, 2005 All the registry keys are added at T13, but they are not run until logon.The runonceex keys can be run by commandline too:rundll32.exe iernonce.dll,RunOnceExProcessYou could try this command if you wish to attempt to have the keys run at a different time.
tjabocom Posted July 15, 2005 Author Posted July 15, 2005 Thanks Yzöwl,It getting clearer and clearer, this runonceex.inf where are the apps installed as "default account" or under the Administrator account if it is under the default account I will calm down..../Tjabocom
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