TIP: Using RunOnceEx
You can use RunOnceEx to execute a command/a sequence of commands and while doing that it will show a progress window
Here is an example installing OpenVPN from C:\SwSetup\OpenVPN
;---
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx]
"TITLE"="Installing Applications"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\1]
@="OpenVPN 2.1.1"
"1"="C:\\SwSetup\\OpenVPN\\DriverSigning.exe -OFF"
"2"="C:\\SwSetup\\OpenVPN\\openvpn-2.1.1-install.exe /S"
"3"="C:\\SwSetup\\OpenVPN\\DriverSigning.exe -ON"
"4"="sc config openvpnservice start=auto"
;---
Test it by running this command from a command prompt:
rundll32.exe iernonce.dll,RunOnceExProcess
Personal note 3: Windows PE 3.0 driver download
Dell Driver CAB - Includes x86 and x64 drivers - LINK
HP SmartStart Scripting Toolkit Win32 - Includes x86 drivers - LINK
HP SmartStart Scripting Toolkit Win64 - Includes x64 drivers - LINK
Personal note 2: Windows 7 features – Remove MediaCenter
'Remove MediaCenter
dim wshShell
set wshShell = CreateObject("WScript.Shell")
wshShell.run "DISM /online /Disable-Feature /FeatureName:MediaCenter /Quiet /NoRestart", ,1


