November 13, 200421 yr 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.
November 13, 200421 yr rundll32.exe iernonce.dll,RunOnceExProcessWill execute the RunOnce keys without rebooting.
November 13, 200421 yr 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
November 13, 200421 yr Author Thanks guys. I will try this out later tonight. Unfortunately I have a visit from the Outlaws looming right now!
November 14, 200421 yr Thanks UrieI needed that PowerDVD6 and it's all setup for me to add. %KEY%\iAdd /V Inum /D
Create an account or sign in to comment