<SparTacuS> Posted November 13, 2004 Share Posted November 13, 2004 Does anyone know if there is any way to get a RunOnceEx style dialog box without rebooting,What I would like to do is create a set of silent installs for various prog's (not for my UACD) that would install from a batch. What I have so far is done by calling a reboot and RunOnceEx.cmd. Link to comment Share on other sites More sharing options...
Alanoll Posted November 13, 2004 Share Posted November 13, 2004 rundll32.exe iernonce.dll,RunOnceExProcessWill execute the RunOnce keys without rebooting. Link to comment Share on other sites More sharing options...
urie Posted November 13, 2004 Share Posted November 13, 2004 This is info i got from Maxxpsoft i use to test installs it will bring up the RunOnceEx just edit to suit yourself and call it whatever you like.SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "UnattendXP - Installing Applications" /fREM /////////////////////\\\\\\\\\\\\\\\\\\\\\\REM REG ADD %KEY%\iAdd /VE /D "Symantic Antivirus Corp 9.1.400" /fREM REG ADD %KEY%\iAdd /V 1 /D "%systemdrive%\Install\SAV\Symantec_AntiVirus.msi /QB RUNLIVEUPDATE=0 REBOOT=ReallySuppress" /fREG ADD %KEY%\iAdd /VE /D "Installing PowerDVD6" /fREG ADD %KEY%\iAdd /V 1 /D "%systemdrive%\Install\PowerDVD6.0\Setup.exe -s -f1\"%systemdrive%\Install\PowerDVD6.0\setup.iss\" /fREG ADD %KEY%\1025 /V 2 /D "REGEDIT /S %systemdrive%\Install\PowerDVD6.0\CyberLink.reg" /fREG ADD %KEY%\iAdd /V 3 /D "CMD /C DEL \"%systemdrive%\Program Files\CyberLink\PowerDVD\OLRSubmission\OLRSubmission.exe"" /fREG ADD %KEY%\iAdd /V 4 /D "CMD /C DEL \"%systemdrive%\Documents and Settings\All Users\Start Menu\Programs\CyberLink PowerDVD\On-Line Registration.lnk"" /fREM /////////////////////\\\\\\\\\\\\\\\\\\\\\\pauserundll32.exe iernonce.dll,RunOnceExProcessEXIT REM NOTE: Just make sure you change the /V Inum /D to the number's like /V 1 /DREM What that does is run the reg install and you can see if each is sucessful , and then pause so you can check HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx key to make sure everything looks right. Then it executes the Install just like you in setup with the rundll32.exe iernonce.dll,RunOnceExProcessREM Real Handy remember you could addcmdow @ /HIDColor 0A@echo offto stop it displaying and remove the pause Link to comment Share on other sites More sharing options...
<SparTacuS> Posted November 13, 2004 Author Share Posted November 13, 2004 Thanks guys. I will try this out later tonight. Unfortunately I have a visit from the Outlaws looming right now! Link to comment Share on other sites More sharing options...
maxXPsoft Posted November 14, 2004 Share Posted November 14, 2004 Thanks UrieI needed that PowerDVD6 and it's all setup for me to add. %KEY%\iAdd /V Inum /D 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