Jump to content

Recommended Posts


Posted
var deps=[];             // dependency, fill in uids of progs, this one is dependent of

                        //  if a dependent program is selected, its 'parent' gets selected too

                        //  if 'parent' is deselected, program is also deselected

First of all, Hey hasi!

I didn't know if you left for good; I haven't seen you post in a while! :)

Now, could you explain, or post an exmaple, of how to use the dependency? Sounds really useful, but I'm not enitrely sure how it works.

NO confirmation message, when timer reaches 0:00

Did you also remove the standard confirmation message? (the one where user clicks Begin Install)? Or do I still have to comment out that line "window.alert(getText(msgStartInstall));" to remove Alert?

Thanks again!

Posted

Hi hasi001

what i was talking about is the case sensitive variables used in WPI

wether i write in my command line

cmd1[pn]=['%CDROM%\\Install\\Driver\\USBFlash\\USBFlash.vbs']

or

cmd1[pn]=['%cdrom%\\Install\\Driver\\USBFlash\\USBFlash.vbs']

not what actually comes out

Posted
Did you also remove the standard confirmation message? (the one where user clicks Begin Install)? Or do I still have to comment out that line "window.alert(getText(msgStartInstall));" to remove Alert?

he did not...

Posted

@qwerty

to stop WPI from installing twice you must edit the WPI.hta file

find the text

<!-- The continue button. -->

about 11 lines below is this

onClick="CreateFile(); self.close();">

change it to

onClick="stopInterval();CreateFile(); self.close();">

one line below is this

<font class="side" onClick="CreateFile(); self.close();">

change it to this

<font class="side" onClick="stopInterval();CreateFile(); self.close();">

The problem was the timer is still running after clicking BeginInstall, why it only does this if everything is selected i am looking into.

This applies to all versions so far a i can see...

Posted

Thanks BritishBulldog i'll give it a try. Btw i'm not sure i only happens when everything is selected. I tried last time like this: On my config file i set nero to Default=no and when wmi started i just clicked begin install (everything exept nero was installed as it was set in default) but secont wmi still started when countdown ended...

Posted
you need to write the stopInterval exactly as it is in the code...

Did that but i have'nt tested it yet. What i wrote earlier was about what i saw last time i installed win on Virtual Machine. I havent tested this modified hta jet...

Posted

@ BB

Hey BritishBulldog you don't know by chance what is controlling

the little green checks and the yellow highlight where we check

off programs to install ? I would like to change the colors of both...

thanks

BD

EDIT

thanks.............

Posted

So you do not want the confirmation message. Ok - removed it. And the problem with the timer not stopping is solved too.

New Version: 2.9.9a at the WPI homepage.

The homepage's docs, config and faq sections were also updated to reflect the new possibility to make progs dependent on each other.

Have a nice time...

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

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