Would it be possible to have WPI-W create batch files that add the registry values for RunOnceEx (Application Installer) then mshta.exe doesn’t have to be running in the background watching the registry until it needs to add the next batch of RunOnceEx commands
Here’s what I’d like to see WPI-W create before closing to begin installation
SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\00 REG ADD %RUNONCEEX% /V TITLE /D "Installing Applications" /f REG ADD %KEY%02 /VE /D "NOD32 AntiVirus v2.50.25" /f REG ADD %KEY%02 /V 1 /D "%CDROM%\APPS\NOD32\2.50.25\NT\setup.exe /silentmode /settings=%CDROM%\APPS\NOD32\2.50.25\NT\ClientSetup.xml" /f /cfg=%CDROM%\APPS\NOD32\2.12.3\ClientConfig.xml REG ADD %KEY%05 /VE /D "Adobe Reader v7" /f REG ADD %KEY%05 /V 1 /D "%CDROM%\APPS\Adobe\acroread705.exe" /f REG ADD %KEY%06 /VE /D "Windows Journal Viewer" /f REG ADD %KEY%06 /V 1 /D "%CDROM%\APPS\JournalViewer\JournalViewer.exe -y" /f REG ADD %KEY%16 /VE /D "Firefox v1" /f REG ADD %KEY%16 /V 1 /D "%CDROM%\APPS\FireFox\Firefox_Setup_v1.0.7.exe -y" /f REG ADD %KEY%16 /V 2 /D "%CDROM%\APPS\FireFox\plugins.bat" /f REG ADD %KEY%17 /VE /D "Thunderbird v1" /f REG ADD %KEY%17 /V 1 /D "%CDROM%\APPS\Thunderbird\Thunderbird_Setup_v1.0.7.exe -y" /f REG ADD %KEY%17 /V 2 /D "%CDROM%\APPS\Thunderbird\plugins.bat" /f REG ADD %KEY%19 /VE /D "Daemon Tools v3.47" /f REG ADD %KEY%19 /V 1 /D "%CDROM%\APPS\DaemonTools\DaemonTool_v3.47.msi /qn REBOOT=Suppress" /f REG ADD %KEY%19 /V 2 /D "%CDROM%\APPS\DaemonTools\arniWORX_InstallerScript.exe" /f REG ADD %KEY%22 /VE /D "Java Runtimes" /f REG ADD %KEY%22 /V 2 /D "%CDROM%\APPS\Runtimes\Java\MSJavaVM_3810.exe" /f REG ADD %KEY%22 /V 1 /D "%CDROM%\APPS\Runtimes\Java\jre505.exe" /f REM ---------- Import Next Install Window To Reg -------- REG ADD %KEY%22 /VE /D "Next Install Window" /f REG ADD %KEY%22 /V 1 /D "%tmp%\page2.bat" /f
This would save on CPU power during the installation... mshta.exe uses 80% of the CPU (Athlon 64 3000+) while installing so the installation takes much longer as there are a lot of SFX on my installation DVD
This post has been edited by codejunkie: 14 December 2005 - 10:17 PM



Help

Back to top









