Jump to content

Recommended Posts

Posted

Hello all,

I've made a very simple XP cdrom, with one "cmdlines.txt" calling a "runonceex.cmd" that adds runonceex entries. What happens is that after the first windows of runonce appears, another one pops behind it, waiting for the first one to fininsh and reruns the all thing again.

Now, I know that the registry isn't duplicated, there are no other commands on "winnt.sif", i can only conlude that one of the commands is making setup run the runonceex again.

cmdow @ /HID
rem T-12
rem  called from cmdlines.txt
rem sets up runonceex
@echo off

SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

REG ADD %KEY% /V TITLE /D "Finishing" /f

rem REG ADD %KEY%\010 /VE /D "Removing Unwanted Components" /f
rem REG ADD %KEY%\010 /V 1 /D "sysocmgr /i:%systemroot%\inf\sysoc.inf /u:%systemroot%\ocremove.txt" /f

REG ADD %KEY%\015 /VE /D  "Adding Folder and Internet Settings" /f
REG ADD %KEY%\015 /V 1 /D "rundll32 setupapi,InstallHinfSection DefaultInstall 128 %systemroot%\addoptions.inf" /f

REG ADD %KEY%\016 /VE /D  "Aplying customized settings" /f
REG ADD %KEY%\016 /V 1 /D "rundll32 setupapi,InstallHinfSection DefaultInstall 128 %systemroot%\settings.inf" /f

REG ADD %KEY%\050 /VE /D  "Installing Mozilla 1.6" /f
REG ADD %KEY%\050 /V 1 /D "%systemdrive%\install\mozilla-win32-1.6-installer.exe -ms -ira" /f

REG ADD %KEY%\055 /VE /D  "Installing 7zip" /f
REG ADD %KEY%\055 /V 1 /D "%systemdrive%\install\7z230b32.exe -y /q /r:n" /f

REG ADD %KEY%\060 /VE /D  "Installing Visual Basic Runtimes" /f
REG ADD %KEY%\060 /V 1 /D "%systemdrive%\install\vbruntimes.exe /verysilent" /f

REG ADD %KEY%\065 /VE /D  "Installing Sun Java RE 1.4.2" /f
REG ADD %KEY%\065 /V 1 /D "%systemdrive%\install\j2re-1_4_2_03-windows-i586-p.exe /s /v\"/qn ADDLOCAL=jrecore IEXPLORER=1 MOZILLA=1\"" /f

REG ADD %KEY%\070 /VE /D  "Installing Flash / Shockwave" /f
REG ADD %KEY%\070 /V 1 /D "%systemdrive%\install\Flash_Shockwave_Full /s" /f

REG ADD %KEY%\075 /VE /D  "Installing Kaazalite Codecs" /f
REG ADD %KEY%\075 /V 1 /D "%systemdrive%\install\klmcodec100.exe /verysilent /loadinf=\"%systemdrive%\install\silent.inf\"" /f

REG ADD %KEY%\080 /VE /D  "Installing Kerio Personal Firewall" /f
REG ADD %KEY%\080 /V 1 /D "msiexec /qb /i %systemdrive%\install\ISScript8.Msi" /f
REG ADD %KEY%\080 /V 2 /D "msiexec /qb /i %systemdrive%\install\KerioPF.msi REBOOT=ReallySuppress" /f

REG ADD %KEY%\200 /VE /D  "Cleanup and reboot" /f
REG ADD %KEY%\200 /V 1 /D "%systemroot%\cleanup.cmd" /f

exit

Can anyone help, have you seen this before ? I've been searching the forum for this but found nothing.

Thank you


Posted

i'm going to say is the Visual Basic Runtimes.

I've seen this before.....but can't find the thread at the moment.

Just go through, REM out each could of lines at a time, to narrow it down. Typically I've seen it caused by a hotfix, but I don't see any here.

When does the Second window popup?

Posted

@Alanoll

Thanks, i'll bet on the runtimes, even though i think it pops up earlier.

I know it's not the inf's or the sysocmgr and there aren't any updates either.

The vbruntimes it's not a microsoft package, can't remember where did i get it.

Maybe I'll just repackage it from my Bartpe plugin.

I'll post my findings here, so the next person who has this problem will find an answer easier.

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...