%Reboot% issue
2: When installing 2 applications, with a %reboot% during the install of the first application
This too is when running E:\WPI\WPI.hta from a Memory Stick on driveletter E:
I only installing PDFCreator and JAlbum
I put a %reboot% into PDFCreator's installation cmd2
So PDFCreator cmd1 installs..., then the reboot occurs, then the login, the remaining commands 3 and 6 of PDFCreator get executed, but when WPI begins installing JAlbum an error occurs: E:\WPI\WPIScripts\ExtractToPath.vbs, Line 20, Char 12, error: The system cannot find the file specified. Code 80070002: Source: (null)
Thereafter the same error as in "%Reboot% issue1" in Installer.hta.
(The extraction created C:\Program Files\JAlbum as a file instead of a folder; if you delete it and run WPI again, JAlbum installs fine)
CODE
prog[pn]=['PDFCreator v0.9.3'];
ordr[pn]=[142];
desc[pn]=['<BR><B><u>Convert to PDF by printing</u></B><P>You can also combine multiple PDF\'s into one! (see http://freewarepdf.com)</P><UL><LI> [ FREEWARE ]<LI> <a href="http://www.pdfforge.org/node/112">SILENT Install</a><LI> <a href="http://sourceforge.net/projects/pdfcreator">HOME</a><LI> Harddisk space taken: <FONT color=blue>81 MB</FONT><LI> <B>STATUS</B> 2007-01-25: <B><FONT color=green>GOOD</FONT></B><LI> <FONT color=red>TODO: </FONT></UL>'];
uid[pn]=['PDFCREATOR'];
dflt[pn]=['yes'];
cat[pn]=['Office'];
forc[pn]=['no'];
configs[pn]=['GOOD,FREEWARE-pc'];
cond[pn]=['FileExists("%WPIpath%\\Install_01\\MultiMedia\\PDF\\PDFcreator\\zPDFCreator-0_9_3-AD_DeploymentPackage-WithoutToolbar.msi")'];
gcond[pn]=['FileExists("%ProgramFiles%\\PDFCreator\\PDFCreator.exe")'];
cmd1[pn]=['"%WPIpath%\\Install_01\\MultiMedia\\PDF\\PDFcreator\\zPDFCreator-0_9_3-AD_DeploymentPackage-WithoutToolbar.msi" /qb-!'];
cmd2[pn]=['%reboot% 20 -c "TEST!. The system will reboot in 20 seconds."'];
cmd3[pn]=['XCOPY /Y "%WPIpath%\\Install_01\\MultiMedia\\PDF\\PDFcreator\\*.ini" "%ProgramFiles%\\PDFCreator\\languages\\"'];
cmd6[pn]=['"%WPIpath%\\Install_01\\MultiMedia\\PDF\\PDFcreator\\ShortCuts.cmd"'];
rega[pn]=['%WPIpath%\\Install_01\\MultiMedia\\PDF\\PDFcreator\\SetLanguageToDutch.reg'];
picf[pn]=['PDFCreator.gif'];
textl[pn]=['Bottom'];
pn++;
prog[pn]=['JAlbum v6.5.4'];
ordr[pn]=[765];
desc[pn]=['<BR><B><u>Makes web photo albums of your digital images.</u></B> <P>JAlbum aims to be the easiest to use and most powerful tool in this category - and free!</P><P>With JAlbum, no extra software is needed to view the albums, -just your web browser. Unlike "server side" album scripts, JAlbum albums can be served from a plain web server without scripting support and thanks to JAlbum\\s built in web server, you can even share your albums straight from JAlbum. You can also share your albums on CD-ROM.</P><P>JAlbum runs on Windows, Mac OS X, Linux and others and speaks 29 languages. JAlbum is written after numerous disappointments with existing album software. With JAlbum you have full control of the look of the generated album, not just color theme and basic layout, still making an album is just a matter of drag and drop + a button click if you prefer to use one of the many existing looks. JAlbum will process your images, make index pages and slide show pages and even upload the final album to the Internet for your friends to see.</P><UL><LI> [ FREEWARE ]<LI> HOME: http://jalbum.net<LI> Harddisk space taken: <FONT color=blue>20.5 MB</FONT><LI> <B>STATUS</B> 2006-11-29: <B><FONT color=green>GOOD</FONT></B></UL>'];
uid[pn]=['JALBUM'];
cat[pn]=['MultiMedia'];
configs[pn]=['GOOD,FREEWARE-pc'];
cond[pn]=['FileExists("%WPIpath%\\Install_01\\MultiMedia\\JAlbum\\JAlbum6.5.4.zip")'];
gcond[pn]=['FileExists("%ProgramFiles%\\JAlbum\\JAlbum.jar")'];
cmd1[pn]=['%EXTRACT% "%WPIpath%\\Install_01\\MultiMedia\\JAlbum\\JAlbum6.5.4.zip" "%ProgramFiles%"'];
cmd2[pn]=['FILECOPY /Y "%WPIpath%\\Install_01\\MultiMedia\\JAlbum\\JAlbum.ico" "%ProgramFiles%\\JAlbum"'];
cmd3[pn]=['DIRCOPY /Y "%WPIpath%\\Install_01\\MultiMedia\\JAlbum\\standard.p" "%ProgramFiles%\\JAlbum\\skins"'];
cmd6[pn]=['"%WPIpath%\\Install_01\\MultiMedia\\JAlbum\\ShortCuts.CMD"'];
picf[pn]=['JAlbum.png'];
picw[pn]=['172'];
pich[pn]=['69'];
textl[pn]=['Bottom'];
pn++;