Help - Search - Members - Calendar
Full Version: wpi v7.0 %reboot% hangs on XP x64
MSFN Forums > Member Contributed Projects > Windows Post-Install Wizard (WPI)

   
Google Internet Forums Unattended CD/DVD Guide
icnocop
Hello.

This is a follow-up on this thread (v6.5.1):
http://www.msfn.org/board/651-under-XP-x64...rt-t119514.html

I am also experiencing this behavior in wpi v7.0 on windows xp pro x64 sp2.

I've attached a screen shot with wpi_log.txt in the background.

I also see sleep.exe running in task manager.

config.js snippet:

prog[pn]=['Internet Explroer 7'];
uid[pn]=['Internet Explroer 7'];
dflt[pn]=['yes'];
cat[pn]=['Applications'];
forc[pn]=['no'];
cmd1[pn]=['"%wpipath%\\install\\apup_Win2003_XP_x64_DotNet\\modules\\Components\\IE7_xp_2k3_x64_enu.apm_files\\IE7-WindowsServer2003-x64-enu.exe" /passive /update-no /norestart'];
cmd2[pn]=['%reboot% 30'];
pn++;

Any ideas?

Thank you.
johnhc
icnocop,
I think my cure for this was to use the 64 bit version of mshta.exe. Here is my RUNWPI.INF for that purpose (in $OEM$.) Are you running on a real machine or virtual machine? You could test by setting hta files to run from the 64 bit version of mshta.exe (in system32 not SysWOW64) using Folder Options then executing WPI.hta and doing just a %reboot%. The default is the 32 bit version.
Enjoy, John.

CODE
[Version]
Signature="$CHICAGO$"

[DefaultInstall]
AddReg=Run.AddReg

[Run.AddReg]
HKLM,"%RUN%","%WPI%",,"RunDll32 advpack.dll,LaunchINFSection ""%01%\%INF%"",Execute"

[Execute]
RunPreSetupCommands=Launch.WPI:1
DelReg             =Run.DelReg

[Launch.WPI]
CMD /Q /C CD /D """%01%\..\WPI""" & START /WAIT /B mshta.exe d:\WPI\WPI.hta

[Run.DelReg]
HKLM,"%RUN%","%WPI%"

[Strings]
RUN="SOFTWARE\Microsoft\Windows\CurrentVersion\RUN"
WPI="Windows Post Install"
INF="RunWPI.inf"
icnocop
Thank you!

That works great! smile.gif
johnhc
icnocop,
Great! I'm glad it helped. You are welcome, John.
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.