Help - Search - Members - Calendar
Full Version: 5.6 Buglist
MSFN Forums > Member Contributed Projects > Windows Post-Install Wizard (WPI) > Bug tracker

   
Google Internet Forums Unattended CD/DVD Guide
Kelsenellenelvian
Let me have them!
pretender69
seems to crash in vista sad.gif

ms html app host crashes
Francesco
QUOTE (pretender69 @ Nov 19 2006, 10:59 PM) *
seems to crash in vista sad.gif

ms html app host crashes


I have vista and WPI never crashed, 5.6 included.
pretender69
ya i know was using 5.5 in vista before, now it don't work either sad.gif
must be something i installed or disabled.
ozzii
Ctrl+C (for copy) return to the wizard
ozzii
Not working anymore.
Just installed other the 5.5 and not working anymore.
In 5.6 : Selected one application, Launch, and nothing (recome to the wizard, nothing installed and no log)
Replace with 5.5 : do the same thing, and all is OK (and the log).
Kelsenellenelvian
Just tested it in Vista (5.6 and it ran fine)
Dynaletik
If the optionswizard is opened and you hover over the buttons in the left menu, the tooltips will show in english and with the default ToolTip Style. Can this be changed? Just a cosmetic thing that came with 5.5. It isn't a real bug I think.
TGB
I had the same problem as pretender69. I reinstalled Vista (6000) and WPI 5.5 and 5.6 ran fine. I installed one app at the time and found that after installing Nero 7, WPI would no longer work. MS html app host crashes and closes WPI. All my other apps work just fine.
Francesco
QUOTE (TGB @ Nov 24 2006, 11:13 PM) *
I had the same problem as pretender69. I reinstalled Vista (6000) and WPI 5.5 and 5.6 ran fine. I installed one app at the time and found that after installing Nero 7, WPI would no longer work. MS html app host crashes and closes WPI. All my other apps work just fine.


Oh my I hate nero it breaks everything! First outlook 2003 then the audio cds, now this. **** if only there was a decent alternative to that suite full of useless stuff.
pretender69
QUOTE (TGB @ Nov 24 2006, 06:13 PM) *
I had the same problem as pretender69. I reinstalled Vista (6000) and WPI 5.5 and 5.6 ran fine. I installed one app at the time and found that after installing Nero 7, WPI would no longer work. MS html app host crashes and closes WPI. All my other apps work just fine.


yes i have come to the same conclusion that nero7 breaks the ms html app host.
actually i think it has to do with nero7 installing directx 9.0c on vista, which from what i've read vista requires directx 9.0L which ms hasn't released yet.

and to think that nero calls 7.5.9.0 vista ready sad.gif
psicolizzard
Ctrl+C (for copy) in configuration return to the wizard...i have the same problem of ozzil...
eagle47benny
I have WPI setup on a network drive. I get an error if I browse to the WPI folder over the network and run wpi.hta and it doesn't finish running. However, if I mount that network folder as a drive or remote to the server and run wpi locally the error goes away and it seems to run fine. Both computers (the server and the client) are running Windows XP SP2. it worked fine both ways with v5.5. The error is attached.
kSaMi
QUOTE (pretender69 @ Nov 25 2006, 06:43 PM) *
QUOTE (TGB @ Nov 24 2006, 06:13 PM) *

I had the same problem as pretender69. I reinstalled Vista (6000) and WPI 5.5 and 5.6 ran fine. I installed one app at the time and found that after installing Nero 7, WPI would no longer work. MS html app host crashes and closes WPI. All my other apps work just fine.


yes i have come to the same conclusion that nero7 breaks the ms html app host.
actually i think it has to do with nero7 installing directx 9.0c on vista, which from what i've read vista requires directx 9.0L which ms hasn't released yet.

and to think that nero calls 7.5.9.0 vista ready sad.gif

Hi !

You must make/take an AutoIt Script to get it work properly... newwink.gif
Francesco
QUOTE (psicolizzard @ Dec 6 2006, 09:05 PM) *
Ctrl+C (for copy) in configuration return to the wizard...i have the same problem of ozzil...


I have the same identical problem too
GrowBigTrees
%Reboot% issue 1: error: Line 457, char 2, Error: Object expected, Code: 0, URL: file://E:\WPI\Common\Installer.hta

This is when running E:\WPI\WPI.hta from a Memory Stick on driveletter E:
REBOOT is the only entry being installed.
After the reboot and logon, WPI kicks in again, sets a green check for the "REBOOT", and pops up this window "Internet Explorer Script Error" with "error: Line 457, char 2, Error: Object expected, Code: 0, URL: file://E:\WPI\Common\Installer.hta"

I have to end the "mshta.exe" process in Taskmanager.
(in Installer.hta there are only 297 lines, so why it is indicating line 457?)

CODE
prog[pn]=['REBOOT'];
ordr[pn]=[999];
desc[pn]=['<BR><B><u>REBOOT</u></B><P>REBOOTS the computer after 20 seconds, typically after all installations are done.</P><UL><LI>    <B>STATUS</B> 2007-01-25:    <B><FONT color=blue>TEST</FONT></B><LI>    <FONT color=red>TODO: some issues!</FONT></UL>'];
uid[pn]=['REBOOT'];
cat[pn]=['Other'];
configs[pn]=['TEST,MSI'];
cmd6[pn]=['%reboot% 20 -c "END of UnAttended XP installation. Don`t panic. The system will reboot in 20 seconds."'];
pn++;
Kelsenellenelvian
QUOTE
REBOOT is the only entry being installed.


That is most liekly the problem WPI expects to be able to install things and make commands after a reboot. Not just to end.
GrowBigTrees
%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++;
GrowBigTrees
%Reboot% issue 3: when WPI is ran from a network share on another PC

"REBOOT" is the only WPI-entry being installed.

After the reboot a window pops up "Z:\Common\Installer.hta" which you have to close manually before logon continues, and when you start WPI, the message "WPI has detected a previous installation that has not completed..." appears, and you have to click "Cancel"

CODE
prog[pn]=['REBOOT'];
ordr[pn]=[999];
desc[pn]=['<BR><B><u>REBOOT</u></B><P>REBOOTS the computer after 20 seconds, typically after all installations are done.</P><UL><LI>    <B>STATUS</B> 2007-01-25:    <B><FONT color=blue>TEST</FONT></B><LI>    <FONT color=red>TODO: some issues!</FONT></UL>'];
uid[pn]=['REBOOT'];
cat[pn]=['Other'];
configs[pn]=['TEST,MSI'];
cmd6[pn]=['%reboot% 20 -c "END of UnAttended XP installation. Don`t panic. The system will reboot in 20 seconds."'];
pn++;



This is the wrapper I use to start WPI on the network share:

CODE
@ECHO OFF
SETLOCAL ENABLEEXTENSIONS

::::: parameters used during unattended installations
set CONFIGWPI=%1
set TIMEOUT=%2

:LOOKUPWPI
set SOURCE=
FOR %%d IN ( \\PC171  \\PC230 ) DO IF EXIST %%d\WPI$    SET SOURCE=%%d\WPI&& GOTO SOURCE_OK

:NOK!
echo No WPI found !
IF NOT "%1"=="" GOTO END_WPI_CMD
echo Press ENTER to EXIT ...
pause
EXIT

:SOURCE_OK
PUSHD %SOURCE%
WPI.hta options=useroptions_unattended.js check=%CONFIGWPI% timer=%TIMEOUT%
POPD

::::: Sort Start Menu and Favorites in Alphabetical Order
@reg DELETE HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\MenuOrder /f

:END_WPI_CMD
GrowBigTrees
"Execute Before" option: how to enter a relative path?

Using WPI from an USB stick, i want wpi.hta to execute a batch file before. As you can't be sure of the driveletter the stick will get, a relative path is needed, e.g. .\Tools\wpi_Execute_Before.cmd.

In that commandfile, I would like to use the variable %WPIpath% to solve the driveletter issue.

Can this be done, or am I missing something obvious?
-----------------------------------
---- Sorry, works OK !!

I store the commands in the Tools subdirectory, and reference them as " .\Tools\wpi_Execute_Before.cmd" and ".\Tools\wpi_Execute_Before.cmd" in the useroptions

WPI\Tools\wpi_Execute_Before.cmd :
CODE
@echo off

::::: make copy of the last WPI logfile before it is overwritten
IF NOT EXIST C:\WPI.Log GOTO END_LOGBOOK_WPI
copy C:\WPI.Log C:\temp.log
echo ================================================>>C:\temp.log
type C:\wpi_all.log >>C:\temp.log
MOVE /Y C:\temp.log C:\wpi_all.log

:END_LOGBOOK_WPI

IF NOT EXIST %Windir%\system32\TASKKILL.exe COPY /Y .\Install\MicroSFT\$OEM$\$$\system32\taskkill.exe %Windir%\system32\
IF NOT EXIST %Windir%\system32\robocopy.exe COPY /Y .\Install\MicroSFT\$OEM$\$$\system32\robocopy.exe %Windir%\system32\




WPI\Tools\wpi_Execute_After.cmd :
CODE
@echo off
::::: Sort Start Menu and Favorites in Alphabetical Order
@reg DELETE HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\MenuOrder /f
COUSINAPARIS
Install order does not seem to work. My apps are installed in alphabetical order. What can I do?
Wesmosis
hey what's up? newwink.gif

I got this error message on the start of WPI v5.6

Kelsenellenelvian
Let me pull out my crystal ball so I can figure out which OS you are using and which method you are using to run WPI.

Try shortening the path...
Wesmosis
Sorry! Crystal Ball! that's was funny ;D

I'm using XP SP2 + Ryan 2.1.7
Sun Java 1.5.10
WPI 5.6 via cmdlines.txt

QUOTE
[COMMANDS]
"useraccounts.cmd"
Royale.exe
RunWPI.cmd


fully the default methods, I don't play around much newwink.gif

the weird thing, that when I use this erreneous WPI on VERY ORDINARY UN-TOUCHED XPSP2, there was no error message!

EDIT:
WPI v5.0 working 100% normal
WPI v5.4 , WPI v5.5 , WPI v5.6 showing the same error message
something is wrong in Line 101, Char 2
arabianhorse
QUOTE (pretender69 @ Nov 19 2006, 09:59 PM) *
seems to crash in vista sad.gif

ms html app host crashes


=============

QUOTE (sp00f @ Apr 5 2007, 01:25 PM) *
QUOTE (-nickx- @ Apr 5 2007, 08:48 AM) *
QUOTE (sp00f @ Apr 5 2007, 01:28 AM) *
I just changed the xp things into vista things in core.js , that was all........

LOL even the makers from wpi never respond to this....they had to know after i posted the error, but they didnt.

Glad i found this myself welcome.gif

Problem solved WPI runs in vista now.


And where do you see Pliek? blink.gif



Hi sp00f,

Could you please upload the correct file so I can add the correct ones. Thank you (or mail np at all)

Many thnx

Nickx


Just edit the core.js

In that file you look for this :

CODE
if (FileExists(li[i]+'\\WPI.HTA') || FileExists(li[i]+'\\WIN51') || FileExists(li[i]+'\\I386\\DRIVER.CAB'))


Change "WIN51" and "I386\\DRIVER.CAB" into things that are on your vista DVD.

I use this ( these things are in MY Vista DVD ) :

CODE
(FileExists(li[i]+'\\WPI.HTA') || FileExists(li[i]+'\\AppsRoot.txt') || FileExists(li[i]+'\\sources\\install_Windows Vista (vLite) ULTIMATE.clg'))


And to start WPI i used firegeier's guide :
http://firegeier.unattended-sponsor.de/en/applications.html

But instead of installing aps from there i only use this for WPI

CODE
%AppsRoot%Install\WPI\WPI.hta



full storry

http://www.msfn.org/board/WPI-UA-Vista-t94149.html
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.