Help - Search - Members - Calendar
Full Version: Some installers are skipped during RunOnceEx
MSFN Forums > Unattended Windows Discussion & Support > Application Installs

   


Google Internet Forums Unattended CD/DVD Guide
vjuyav
(1st of all, I'm not a native englsih.
Please understand my stupid expressions)

I make my own Unattended WinXP CDs
And some applications are installed by RunOnceEx script

I think mine(RunOnceEx) is perfect but *some installers are skipped
(Though in installation menu - what is excuted after RunOnceEx.cmd injected n reboot -
very looks fine, nothing installed)

What is strange,
every time I setup whole Windows, skipped apps are different by times
(not all apps are skipped, there's *some fixed ones
*some : diskeepr, **** nfo viewer)

In addition, after all Windows setup over,
that some apps are installed fine with manual RunOnceEx registry injection
(run edited RunOnceEx.cmd manually, reboot, then install -> works fine sleep.gif)

Here are my RunOnceEx scripts

QUOTE
CMDOW @ /HID
@ECHO OFF

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

REG ADD %KEY% /V TITLE /D "Install next programs" /f

REG ADD %KEY%\005 /VE /D "Windows Genuine Advantage Crack" /f
REG ADD %KEY%\005 /V 1 /D "%systemdrive%\INSTALL\WGA\KB892130 /q /n /z" /f
REG ADD %KEY%\005 /V 2 /D "%systemdrive%\INSTALL\WGA\CRACK.EXE" /f
REG ADD %KEY%\005 /V 3 /D "REGEDIT /S %systemdrive%\INSTALL\WGA\UNLOCK_WGA.REG" /f

REG ADD %KEY%\010 /VE /D ".NET Framework 1.1 SP1" /f
REG ADD %KEY%\010 /V 1 /D "%systemdrive%\INSTALL\APPS\DOTNET11_SP1.EXE" /f
REG ADD %KEY%\010 /V 2 /D "%systemdrive%\INSTALL\APPS\LANGPACK1.EXE /Q /c:\"inst.exe /qb\"" /f

REG ADD %KEY%\015 /VE /D ".NET Framework 2.0" /f
REG ADD %KEY%\015 /V 1 /D "%systemdrive%\INSTALL\APPS\DOTNET20.EXE" /f
REG ADD %KEY%\015 /V 2 /D "%systemdrive%\INSTALL\APPS\LANGPACK2.EXE /Q /c:\"install.exe /qb\"" /f

REG ADD %KEY%\020 /VE /D "Adobe Reader 7.0.8" /f
REG ADD %KEY%\020 /V 1 /D "%systemdrive%\INSTALL\APPS\ADOBERD_708.EXE /S /v/qn" /f

REG ADD %KEY%\025 /VE /D "DAEMON Tools 4.03 HE" /f
REG ADD %KEY%\025 /V 1 /D "%systemdrive%\INSTALL\APPS\DAEMON_403.EXE" /f

REG ADD %KEY%\030 /VE /D "**** NFO Viewer 2.10.0032" /f
REG ADD %KEY%\030 /V 1 /D "%systemdrive%\INSTALL\APPS\DAMN_NFO.MSI /qn" /f

REG ADD %KEY%\035 /VE /D "Diskeeper 9.0.524 Pro" /f
REG ADD %KEY%\035 /V 1 /D "%systemdrive%\INSTALL\APPS\DSKEEPER_9.EXE /S /v/qn" /f

REG ADD %KEY%\040 /VE /D "FlashGet 1.72 b128" /f
REG ADD %KEY%\040 /V 1 /D "%systemdrive%\INSTALL\APPS\FGET_172.EXE /S" /f
REG ADD %KEY%\040 /V 2 /D "%systemdrive%\INSTALL\APPS\FGET_SET.CMD" /f

REG ADD %KEY%\045 /VE /D "Maxthon 1.56 b42" /f
REG ADD %KEY%\045 /V 1 /D "%systemdrive%\INSTALL\APPS\MAXTHON_156.EXE" /f
REG ADD %KEY%\045 /V 2 /D "%systemdrive%\INSTALL\APPS\MAXTHON_SET.CMD" /f

REG ADD %KEY%\050 /VE /D "VSO CopyToDVD 3.1.3.137" /f
REG ADD %KEY%\050 /V 1 /D "%systemdrive%\INSTALL\COPY2DVD\COPY2DVD.CMD" /f

REG ADD %KEY%\055 /VE /D "UltraISO 8.2.0.1669" /f
REG ADD %KEY%\055 /V 1 /D "%systemdrive%\INSTALL\APPS\ULTRAISO_8.EXE" /f
REG ADD %KEY%\055 /V 2 /D "%systemdrive%\INSTALL\APPS\ULTRAISO_SET.CMD" /f

REG ADD %KEY%\060 /VE /D "WINAMP 5.25 b868" /f
REG ADD %KEY%\060 /V 1 /D "%systemdrive%\INSTALL\APPS\WINAMP_525.EXE" /f
REG ADD %KEY%\060 /V 2 /D "%systemdrive%\INSTALL\APPS\WINAMP_ADDON.EXE" /f

REG ADD %KEY%\065 /VE /D "WinRAR 3.60 Retail" /f
REG ADD %KEY%\065 /V 1 /D "%systemdrive%\INSTALL\APPS\WINRAR_36K.EXE /S" /f

REG ADD %KEY%\075 /VE /D "Malicious Code Anti-Wares" /f
REG ADD %KEY%\075 /V 1 /D "%systemdrive%\INSTALL\APPS\ANTIWARE.EXE" /f

REG ADD %KEY%\090 /VE /D "Registry Tweaks" /f
REG ADD %KEY%\090 /V 1 /D "REGEDIT /S %systemdrive%\INSTALL\TWEAK.REG" /f

REG ADD %KEY%\095 /VE /D "Apply system cache set and Reboot" /f
REG ADD %KEY%\095 /V 1 /D "%systemdrive%\INSTALL\CPU_RAM\CPU_L2.CMD" /f
REG ADD %KEY%\095 /V 2 /D "%systemdrive%\INSTALL\CPU_RAM\RAM.CMD" /f
REG ADD %KEY%\095 /V 3 /D "%systemdrive%\INSTALL\REBOOT.CMD" /f

EXIT
vjuyav
------------------- Self question Self answer sleep.gif ------------------------

Cuz 'Adobe Reader' has 3 times packaged
(1st Its own packager 'FEAD'
2nd Setup.exe a Install package
3rd .msi format)

System(RunOnce) misunderstand its completion before it really end its installation
Thus RunOnce Setup starts next step before 'Acrobat Reader' finished
So I added 'sleep 20 seconds' script and now it works fine
mazin
Manually, I usually let 'Adobe Reader' extract itself then take MSI.

Later, I use the MSI file to install 'Adobe Reader'.




Google Internet Forums Unattended CD/DVD Guide

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.