How do i get the nice GUI on Vista during app install?
Fact: RunOnceEx key has be removed from Vista Registry
Workaround: Create the Key manually !
1. In W.S.I.M. insert a new Synchronous command in Pass 4 and point to your batch file (which can be either on your network share or locally) which will create the RunOnceEx key and add all the applications to be installed under that key.
Click to view attachment
2. Here's a sample of the code which will create the RunOnceEx key and add all apps in the registry:
CODE
@ ECHO OFF
REG ADD HKLM\SOFTWARE\MICROSOFT\WINDOWS\CURRENTVERSION\RunOnceEx
SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx
REG ADD %KEY% /V TITLE /D "Installing Applications & Settings" /f
REG ADD %KEY%\005 /VE /D "Mapping Network Drive" /f
REG ADD %KEY%\005 /V 1 /D "NET USE Z: \\myserver\mysharename password /USER:mydomain\domainuser" /f
REG ADD %KEY%\010 /VE /D "Installing Microsoft Office 2007" /f
REG ADD %KEY%\010 /V 1 /D "\\myserver\myshare\Apps\Office07\setup.exe /adminfile Unattended.MSP" /f
REG ADD %KEY%\010 /V 2 /D "\\myserver\myshare\Apps\Capicom\CAPICOM-KB931906-v2102.exe /Q:A /R:N" /f
restart -r
EXIT
REG ADD HKLM\SOFTWARE\MICROSOFT\WINDOWS\CURRENTVERSION\RunOnceEx
SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx
REG ADD %KEY% /V TITLE /D "Installing Applications & Settings" /f
REG ADD %KEY%\005 /VE /D "Mapping Network Drive" /f
REG ADD %KEY%\005 /V 1 /D "NET USE Z: \\myserver\mysharename password /USER:mydomain\domainuser" /f
REG ADD %KEY%\010 /VE /D "Installing Microsoft Office 2007" /f
REG ADD %KEY%\010 /V 1 /D "\\myserver\myshare\Apps\Office07\setup.exe /adminfile Unattended.MSP" /f
REG ADD %KEY%\010 /V 2 /D "\\myserver\myshare\Apps\Capicom\CAPICOM-KB931906-v2102.exe /Q:A /R:N" /f
restart -r
EXIT
3. Add another synchronous command in Pass 7 to AutoLogon as Administrator and this will produce:
Click to view attachment
That's all!
