Jump to content

Version 3.3 - Themes


Recommended Posts

hasi,

Downloaded your latest but am still getting this error when I use the autorun.inf I posted above and double click on usb pen drive

main.js.gif

autorun.inf

[autorun]
ShellExecute=wpi\WPI.hta

What is odd is if I double click on wpi.hta manually it runs ok. But if I have the autorun.inf and right click and choose autoplay or if I just double click on the driver letter of my usb flash drive I get the javasript error.

I wish I can remember exactly what was the latest version of wpi that worked with the autorun but I can't. I think it was 4 or 5 versions ago when I last tested this.

Any ideas?

Dennis

Link to comment
Share on other sites


Hi,

Yes there is a problem running the new version.

I tried to start it from guirunonce but i got the same error message.

if i try to start it manually it works fine.

Who can help?

LordG

Link to comment
Share on other sites

Asta,

Very interesting that it works if you put wpi in the root instead of in a wpi folder. Using the code you posted does work. But as soon as you move wpi into a folder it no longer works. Since it worked in older versions of wpi there has to be something causing this to fail when put in a folder.

Good work around for now though.

Dennis

Link to comment
Share on other sites

hi guys. try 3.3.2 - i've changed the path handling especially for your needs (WPI wasn't meant to be run from autorun)

Autorun doesn't set the correct path, if you call wpi.hta directly. If you called a cmd-skript, that changes to the wpi directory and then calls wpi.hta, it should have worked.

Now it should work from within autorun when called directly as well.

Link to comment
Share on other sites

Hi,

Yes there is a problem running the new version.

I tried to start it from guirunonce but i got the same error message.

if i try to start it manually it works fine.

Who can help?

LordG

Still not wrking here :no:

heres my insatll cmd which i call from guirunonce

cmdow @ /HID
@ECHO OFF
REGEDIT /S %systemdrive%\install\registry.reg
REGEDIT /S %systemdrive%\install\macromdeia.reg
start /wait %systemdrive%\install\netfxsp1.exe
start /wait %systemdrive%\install\dx\dxsetup.exe /silent
start /wait %systemdrive%\install\ATI.CMD
start /wait %systemdrive%\install\wpi\wpi.hta
start /wait %systemdrive%\install\cleanup.cmd
start /wait poweroff Reboot -warn -warntime 30 -msg "This System Must now Reboot , This Is necessary for applications to complete installation, shortcuts to update. Disk Defrag will start after login"
exit

Now with older versions i can load up wpi ok but not with the new ones

i dont use the wpi.cmd as i alread have the registry fix we need .its already being applied ..do i need to use the new cmd that come with WPI??

Link to comment
Share on other sites

try, if the following works:

cmdow @ /HID
@ECHO OFF
REGEDIT /S %systemdrive%\install\registry.reg
REGEDIT /S %systemdrive%\install\macromdeia.reg
start /wait %systemdrive%\install\netfxsp1.exe
start /wait %systemdrive%\install\dx\dxsetup.exe /silent
start /wait %systemdrive%\install\ATI.CMD

%systemdrive%
cd \install\wpi
start /wait wpi.hta

start /wait %systemdrive%\install\cleanup.cmd
start /wait poweroff Reboot -warn -warntime 30 -msg "This System Must now Reboot , This Is necessary for applications to complete installation, shortcuts to update. Disk Defrag will start after login"
exit

[EDIT]

BTW

start /wait d:\Unattended\Source\$OEM$\$1\Install\wpi\WPI.hta

works on my comp if called directly on the command prompt (on another drive, in another directory). so it should, when called from a cmd-file, too.[/EDIT]

Post the error message, please.

Edited by hasi001
Link to comment
Share on other sites

@hasi001

Thanks for fixing the bug. Now it runs perfectly from GUIRUNONCE.

lg

LordG

I run this from winnt.sif

[GuiRunOnce]

command0="%systemdrive%\install\wpi\wpi.hta"

and it works fine for me.

Link to comment
Share on other sites

Hasi,

3.3 is working perfectly now for autorun.inf, even on my usb flash drive. Also conditions exlc deps, its all working beautifully. This version meets every need I have at this point.

Awesome work!

Dennis

Link to comment
Share on other sites

@hasi001

I'm still having problems with the cond[pn] feature. Last time you solved the display generation problem which was located in boxes.js. But right now I'm facing the same problem when I want to actually install the conditional programs.

With my almost zero knowledge of java, I located the problem in generate.js where the condition is evaluated twice: first for selection and secondly for installation. I was able to solve the first eval expression by copying the same lines of code from boxes.js. Unfortunately I do not have enough knowledge to solve the second eval expression.

Can you look into it?

Link to comment
Share on other sites

possibly related I found a big problem when using cond statement. Cond works in that it will show or not show the program when you launch wpi, but any application you put the cond statement on will not install. They show up in the menu but do not intall. As soon as I remove the cond statement all apps install ok.

Here is my cond statement

cond[pn]=['FileExists("%cdrom%\\Install\\Software\\AdAware\\aawsepersonal.exe")']

When turning on debug it appears everything is ok until you check a box, then it runs through a condition statement which fails on every app because it is looking in "Irom%\Install" which I is my cdrom driver so it seems to be replacing cd with I instead of replacing %cdrom% with I:

Also I get this error when trying to exit after debugging

exit.gif

Dennis

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...