Jump to content

Recommended Posts


Posted (edited)

I think it is better let Greyed Condition same as Condition.

It may be

gcond[pn]=['FileExists("file1")&&FileExist("file2")']

or somthing else

Edited by billjrm
Posted

found a problem, if an entry is set as a default then it is still posible to select it

for example

prog[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

Posted

I have no such problem.

gcond[pn]=['FileExists("%programfiles%\K-Lite Codec Pack\\unins000.exe")']

use \\ before K-Lite.

typing error ???

Posted

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

Posted (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.7b

4.3.7b.rar

Edited by billjrm
Posted
...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 WPI

because 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 .

Posted (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 WPI

because 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 by billjrm
Posted (edited)

I have seen your file...but I do not understand what is your point about greyed condition.

Edited by billjrm

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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