thern Posted June 7, 2006 Share Posted June 7, 2006 (edited) hi, for test reasons i manage a CD like:CD: | |-i386 (folder with only drivers.cab file) |-_soft_ (folder with only notepad.exe) |-(all WPI folders: Audio,Common,Example.. etc.) |-WPI.hta |-win51i change "Defaultblank" to "notepad.exe" and Command 1 = %cdrom%\_soft_\notepad.exeand when i start wpi.hta from cd and click on "Begin install" there is X on notepad and notepad.exe wont start?could someone can explain me where or how to configure that?and does JS and/or wpi scripts check for big and small letters, %CDROM% <> %cdrom% ??I want (future) to put WPI folder in _soft_ folder and install programs from _soft_\@programs folder (%cdrom%\_soft_\@programs\acrobarreader\acr.exe).Can I do that? Edited June 7, 2006 by thern Link to comment Share on other sites More sharing options...
Dumpy Dooby Posted June 7, 2006 Share Posted June 7, 2006 From the thread:WPI checks for WPI.hta, WIN51 or Driver.cab and uses any one of these for the dir identifier.You can open generate.js and find "function FindCDRom()"There should be a bunch of "if (FileExists[...])" commands. Rearrange them, or list your own file accordingly. Be sure to follow the same pattern that you see in the file. Link to comment Share on other sites More sharing options...
ZcWorld Posted June 7, 2006 Share Posted June 7, 2006 to make life a tab easyer keep all of the WPI files in a folder called WPI <CD/DVD ROOT>- I386 - so on - so on - so on - so on- wpi - wpi.hta - auido - config - so onand its %cdrom%\\path\\file.exe Link to comment Share on other sites More sharing options...
thern Posted June 8, 2006 Author Share Posted June 8, 2006 ok, i've got it to worki must do all things again, unpack archive with WPI and repleace config files, but sill sometimes have strange error in generate.js after clicking on "Begin install" like FindCDRom() in line 25 or FileExits() blablabla, when i dont even touch config files, option or else...thanks guys! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now