Kelsenellenelvian Posted December 27, 2005 Posted December 27, 2005 Can't you code in the file exists part? Might be a bit easier that way.
billjrm Posted December 27, 2005 Author Posted December 27, 2005 (edited) I think it is better let Greyed Condition same as Condition.It may begcond[pn]=['FileExists("file1")&&FileExist("file2")']or somthing else Edited December 27, 2005 by billjrm
Kelsenellenelvian Posted December 27, 2005 Posted December 27, 2005 Yeah you are right. Thanks for all the work and help.
glent Posted December 27, 2005 Posted December 27, 2005 found a problem, if an entry is set as a default then it is still posible to select it for exampleprog[pn]=['K-Lite Mega Codec Pack 1.43']picf[pn]=['Kazaa1.png']picw[pn]=['128']pich[pn]=['128']desc[pn]=['K-Lite Codec Pack is a collection of the latest Audio & Video codec\\s required to play any kind of media.']textl[pn]=['Bottom']texti[pn]=['1']cmd1[pn]=['%CDROM%\\software\\Mediaplayers\\Klitecodecpack\\klm.exe']dflt[pn]=['yes']cat[pn]=['Media Players']ordr[pn]=[118]uid[pn]=['KLMEGA']excl[pn]=['KLITE']gcond[pn]=['FileExists("%programfiles%\K-Lite Codec Pack\\unins000.exe")']pn++its still possible to install unless I remove the dflt[pn]=['yes'] line
billjrm Posted December 27, 2005 Author Posted December 27, 2005 I have no such problem.gcond[pn]=['FileExists("%programfiles%\K-Lite Codec Pack\\unins000.exe")']use \\ before K-Lite. typing error ???
glent Posted December 29, 2005 Posted December 29, 2005 corrected the typo but the problem still exists
Kelsenellenelvian Posted December 29, 2005 Posted December 29, 2005 Can you change gcond so it still highlights the desired app and leaves the checkbox enabled?
glent Posted December 29, 2005 Posted December 29, 2005 Yeah I agree that would be better in my opinion. I originally want this option to stop people installing software that is already is installed but what it they needed to reinstall and the box is greyed out? I think Kel is right
billjrm Posted December 29, 2005 Author Posted December 29, 2005 (edited) I added a option "enable checked" (look at config. wizard), only hightlight text if you checked this option. "checkbox enabled" is not a good ideal I thought. ( thinking what happen if dflt="yes" )If you want to reinstall a software, just remove it first and then exec WPI.Please rename anything I named if you felt it is not appropriate because my English is bad.The codes I upload are modified from v4.3.7b4.3.7b.rar Edited December 29, 2005 by billjrm
oneless Posted December 29, 2005 Posted December 29, 2005 ...I added a option "enable checked" (look at config. wizard), only hightlight text if you checked this option...is not ok for me .i use from almost one year, TWO entries in my config.js for most of my programs . practically i simulated THIS grey condition . i needed this .for each program i have only one entry showed in my WPIbecause basicly i use fileexist and !fileexist for the two entries , and different colours .so , my opinion is : the grey condition MUST reflect the GREY CONDITION , wich is TRUE or FALSE .do no exist ELSE here .what for other twenty entries in config.js , no disable checkbox or ...GCOND must be just an extra information for me .with variables who create another variable and so on ...i dont think is ok ... believe me . more lines in config.js , more time at startup for WPI .just an opinion . i still can use 2 entries .
billjrm Posted December 29, 2005 Author Posted December 29, 2005 (edited) i use from almost one year, TWO entries in my config.js for most of my programs . practically i simulated THIS grey condition . i needed this .for each program i have only one entry showed in my WPIbecause basicly i use fileexist and !fileexist for the two entries , and different colours .so , my opinion is : the grey condition MUST reflect the GREY CONDITION , wich is TRUE or FALSE .do no exist ELSE here .what for other twenty entries in config.js , no disable checkbox or ...GCOND must be just an extra information for me .with variables who create another variable and so on ...i dont think is ok ... believe me . more lines in config.js , more time at startup for WPI .just an opinion . i still can use 2 entries .Can you give me some example. Edited December 29, 2005 by billjrm
oneless Posted December 29, 2005 Posted December 29, 2005 my config.jsyou need to look with notepad into .almost all entries have fileexist at cond[pn] .oneLess_config.js
billjrm Posted December 29, 2005 Author Posted December 29, 2005 (edited) I have seen your file...but I do not understand what is your point about greyed condition. Edited December 29, 2005 by billjrm
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