I find a bug, i think ! I am not sure, because i am quite "newbie" is javascript, WPI, forums and english !...
Maybe i don't undestand all subtilities of WPI !
I need reboot my system between Msi install (KB898461) and framework V1+2, and it doesn't work. Wpi reboot after Msi install, start WPI again, but stop all installations, and show red cross in front of each applications, and stop definitively...
I solve this problem like this !
In .\WPI\Common\Installer.hta file
line number 62
wpipath = wpipath.substring(0,wpipath.lastIndexOf('\\')) + "\\";
I think, it should be
wpipath = wpipath.substring(0,wpipath.lastIndexOf('\\'));
Because a message (message in C:\WPI_Log.txt or %systemdrive%\...) tell me that wpi isn't in the right folder. By exemple, when you install and start Wpi in C:\wpi, and in your config.js your path for all program
are defined with %wpipath%, the error message tell you that it can't find "c:\wpi\\application\application.exe", with two "\\" in the path. Notes : The path %wpipath%\..\ work, i has tested it !
Extract from my config.js :
prog[pn]=['KB898461-X86-Fra'];
uid[pn]=['KB898461-X86-Fra'];
dflt[pn]=['yes'];
cat[pn]=['Complément Installation Windows'];
forc[pn]=['no'];
cmd1[pn]=['"%WPIPATH%\\..\\Service Windows\\WindowsXP-KB898461-x86-FRA.exe" /quiet /norestart'];
cmd2[pn]=['%reboot% 1'];
pn++;
prog[pn]=['Framework V1+2'];
desc[pn]=['Framework V1+2 de Microsoft. Attention, il faut que windows installer et KB898461 soient installés au préalable !'];
uid[pn]=['FrameworkV1+2'];
dflt[pn]=['yes'];
cat[pn]=['Complément Installation Windows'];
forc[pn]=['no'];
cmd1[pn]=['%WPIPATH%\\..\\Framework\\Lance_Framework1-2_install.bat'];
pn++;
I post you my new ".\WPI\Common\Installer.hta" in "Installer.zip" file
I hope it's right