DeTard Posted December 19, 2004 Posted December 19, 2004 I've been fighting with getting WPI to properly detect my CD drive... and finally figured it out. Could you PLEASE say that %cdrom% should be lower case somewhere? Out of habit and convention, I always use caps for environment variables, and this is the only time where it's kicked me in the a**.
Astalavista Posted December 19, 2004 Posted December 19, 2004 I had the same problem before.Due to the fact, that the wpi doesn't have enough documentation.1. What to do 2. What not to do3. use only small caps4. everything even the folder name is case sensative.5. you hv to use \\ as oppose to \6. sometimes the regtweaks doesn't not get applied.7. how to change the background color8. the wpi 2.98a build has a major bug. if u do nothing. It will still ask u to confirm.that sucks! that isn't unattended anymore.9. I need more cmd lines. cmd1 to cmd3 is not enough for me.Britishbulldog will be coming out with his custom build, w/ instructions to boot.Hopefully with lots of pictures.generate.rar
Astalavista Posted December 19, 2004 Posted December 19, 2004 Here is a little FAQ I made hopefull it will be of some use.WPI_FAQ.rar
DeTard Posted December 19, 2004 Posted December 19, 2004 @AstalavistaThanks for the heads up on the bug with the message. Quick fix, comment out window.alert(getText(msgStartInstall));in generate.js and the message should never show.
BritishBulldog Posted December 19, 2004 Posted December 19, 2004 said that two pages back plus Astalavista wanted two options for this 1. when BeginInstall is clicked2. when timer runs outI am just looking at modifying the script so the variables are not case sensitive..
Astalavista Posted December 19, 2004 Posted December 19, 2004 Britishbulldog, no ones every reads.... thats the problem.That is why i suggested u make your own Thread. and u can control/ deletepost that are not relevant.
BritishBulldog Posted December 19, 2004 Posted December 19, 2004 Will do but give me a bit of timeI am just looking into the scripting and changing a few things
BritishBulldog Posted December 19, 2004 Posted December 19, 2004 just made up a copy of 2.9.8a that is not case sensitivethe only thing is either capitals or notfor example %CDROM% or %cdrom% but not %CDrom%%systemdrive% or %SYSTEMDRIVE% but not %SystemDrive% %windir% or %WINDIR% but not %WinDIR% %programfiles% or %PROGRAMFILES% but not %PRogRamFiles%you can use in one line cdrom and another CDROM also with the other variables.the timer is set to 3 seconds on this so you can test and see what happens.The message is in after you click on BeginInstall but not after the timer runs out.See other posts on how to get rid of this at the BeginInstall.wpi2.8.9_non_case.rar
BritishBulldog Posted December 19, 2004 Posted December 19, 2004 @qwertyyou need to post your WPI files so we can have a look at them..
hasi001 Posted December 19, 2004 Posted December 19, 2004 Hi all.New version 2.9.9 is out at the WPI homepage. Seems the bulldog and I have done the same job. The changes are not based on bulldog's reworked version, but on my original 2.9.8a.What's new:NO more case-sensitivity with environment-variablesprogram dependencies NO confirmation message, when timer reaches 0:00 @BULLDOGcanse-sensitivity with folder names ? i know that with linux but not with windows. c:\windows == C:\WInDOws == c:\Windows == C:\winDOwS isn't it?send me a config, where case sentitivity in folder-names matters - I'll check the WPI implementation to get rid of it.
Astalavista Posted December 19, 2004 Posted December 19, 2004 Mine has it.britishbulldog I need your advice... what should i do with the new build do i justreplace everything? and retain only my config.js?2.9.9 is in german... can u release an english version or tell mewhich file holds that info so i can change it to english?ok i found it! it is in the language.js I just remove the language i dont need.now it is in english.wpi.rar
hasi001 Posted December 19, 2004 Posted December 19, 2004 what should i do with the new build do i justreplace everything? and retain only my config.js?no. you should use the new config.js. but you can reuse part of your config. youst replace everything between//---------------------------------------------------------------------------------------------// Your programs here ...//---------------------------------------------------------------------------------------------and//---------------------------------------------------------------------------------------------// End of programs list.//---------------------------------------------------------------------------------------------with your entries.or put the 2 new property definitions into your config.js. that'svar uid=[]; // unique identifier, used for dependency checking 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 deselectedand use it instead of the sample config.2.9.9 is in german... can u release an english version or tell mewhich file holds that info so i can change it to english?edit config.js, set language='en' that's it.
Astalavista Posted December 19, 2004 Posted December 19, 2004 here is another problem i have with descriptionAnd to get apostrophes in descriptions, add a slash before themit doesn't work can u check the code
hasi001 Posted December 19, 2004 Posted December 19, 2004 here is another problem i have with descriptionAnd to get apostrophes in descriptions, add a slash before themit doesn't work can u check the code Not a shlash. Use a backslash.'\'' results in a single''/'' results in a script error
Recommended Posts