waykeong Posted December 9, 2006 Share Posted December 9, 2006 (edited) Newest status:- Changed from %AUTOINSTALL% to %CDROM% -> failed! - Changed from %CDROM% to %WPIPATH% -> failed!-----------------------------------------------------------------------------------------------------------I already SET WPIPATH=%CDROM%\WPI, where all my wpi folder exists, and all my installer exist at wpi's subfolder AUTOINSTALL.May I know what error am i making for config.js below?prog[pn]=['ACDSee']uid[pn]=['ACDSEE']picw[pn]=['128']pich[pn]=['128']desc[pn]=['v3.0 - ACDSee is an image browser. With it, you can view many images format at full-screen. It also can view folder at thumbnail view. It also allow batch rename files.']textl[pn]=['Bottom']texti[pn]=['1']ordr[pn]=[11]cmd1[pn]=['%WPIPATH%\\AUTOINSTALL\\acdsee3\\acdsee3.cmd']cat[pn]=['TOOLS']pn++But it keeps on prompting Windows cannot find '%WPIPATH%\AUTOINSTALL\acdsee3\acdsee3.cmd'. Pls help!Also, just to remind this is from older version of WPI, which I copied from "Windows XP Ultimate Experience DVD", so I do not know what version it is. I use this version as below because I love its installer windows. I try version 5.6 but dont like its installer. Below is the installer window from newest WPI which I dont like:-Or it is possible to set installer windows for WPI 5.6 to become the one I like? Edited December 11, 2006 by waykeong Link to comment Share on other sites More sharing options...
lilhit2 Posted December 10, 2006 Share Posted December 10, 2006 I don't know about your config.js problem but that screenshot looks like a RunOnceEx setup Link to comment Share on other sites More sharing options...
AlBundy33 Posted December 10, 2006 Share Posted December 10, 2006 (edited) Why didn't you use %CDROM%\AUTOINSTALL if %AUTOINSTALL% is the same?If this works the problem is to get the value behind %AUTOINSTALL% - maybe it's an Windows-Problem or an WPI-problem.Where did you set this environment variable?--> %CDROM% is only defined in WPIIf you define %AUTOINSTALL% before running WPI I think it's an Windows-problem.I think this would work if you set %AUTOINSTALL%, restart Windows and run WPI.But if you only need %AUTOINSTALL% for WPI you can also use %CDROM%\AUTOINSTALL (this is my prefered solution).Al Edited December 10, 2006 by AlBundy33 Link to comment Share on other sites More sharing options...
waykeong Posted December 11, 2006 Author Share Posted December 11, 2006 it is WPI setup, just think it is older version, but regarding which version is it, then I not really sure... cos I cannot find manual from the WPI I downloaded.. cos I only follow newest WPI manual. Link to comment Share on other sites More sharing options...
Lost Soul Posted December 11, 2006 Share Posted December 11, 2006 whats your folder structer and how are you calling the app, it seems like a addy problem, thats why the app cant find its installers Link to comment Share on other sites More sharing options...
waykeong Posted December 12, 2006 Author Share Posted December 12, 2006 (edited) root|___i386|___wpi (where wpi.hta exist)- - - - |___AUTOINSTALL- - - - - - - - - - |___acdsee3- - - - - - - - - - - - - - -|____acdsee3.cmdThis is my folder structure. Edited December 12, 2006 by waykeong Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted December 12, 2006 Share Posted December 12, 2006 Run WPI and then post your log file or at least a section of it. That is why the log exists for troubleshooting problems like this... Link to comment Share on other sites More sharing options...
AlBundy33 Posted December 12, 2006 Share Posted December 12, 2006 (edited) AUTOINSTALL is NOT %CDROM%\AUTOINSTALL - AUTOINSTALL is %WPIPATH%\AUTOINSTALL or %CDROM%\WPI\AUTOINSTALL.Maybe this was your problem.[EDIT]Sorry have not seen you modified post.I tihnk on older WPI-versions %WPIPATH% was not implemented.Hava a look into WPI_log.txt (by default on your desktop as far as I know) why install failes.Are you shure that %CDROM% has the correct value?My suggestion is:1. Don't use own environment-variables in WPI (%WPIPATH%, %CDROM% and some more are created directly in WPI).2. download the latest WPI and don't modifiy any files on it3. use your config.js with commands like %WPIPATH%\\AUTOINSTALL\\...4. test if this configuration works. [/EDIT]Al Edited December 12, 2006 by AlBundy33 Link to comment Share on other sites More sharing options...
zorphnog Posted December 13, 2006 Share Posted December 13, 2006 (edited) I'm not familiar with the version you are using. Depending on how modified the original WPI code is and how old it is, you may be able to determine the version by doing the following: Open WPI.hta with a text editor and look for the "<HTA:APPLICATION" tag. There should be an entry for the version in that tag. Edited December 13, 2006 by zorphnog Link to comment Share on other sites More sharing options...
mritter Posted December 14, 2006 Share Posted December 14, 2006 RunOnceEx hasn't been used since WPI 4.3.8. I moved away from that to have total control of the install process. If you don't like the look of it, edit the .css file and change it.The main thing is that you cannot set WPIPATH or CDROM in an external script and expect them to work. They are set internally by WPI. WPIPATH was created in 5.0 or 5.1, I believe. 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