Video Screencast Help
Search Video Help Close Back
to help
Not able to make it to Vision this year? Get a sampling in the Best of Vision on Demand group.

Displaying feature depends on ini file settings.

Updated: 21 May 2010 | 3 comments
Rivin's picture
0 0 Votes
Login to vote
This issue has been solved. See solution.

Hi guys.

My script has 2 featues, but during installtion I want to display/hide one of them, depends on ini file settings, which exists on the system before install starts.

I created ini with one value Ports, and then I check if this value =0 then do not dispay TestFeature in the Select Feature Dialog, and if value is more than 0, then display it.

But it never works.

Please help

See attachment with my scripts, I zipped it with WinRar, and just rename the extension to "zip", because could not upload it.

Appreciate any inputs.

Regards

Discussion Filed Under:

Comments

Bill MacEachern's picture
06
Mar
2009
0 Votes 0
Login to vote

I can't compile to test anything at the moment, but in your System Search definition you should have a 0 for Item Field since you on;y have one item. Also, the value of the property is a string so you might have better luck doing your Condition table entry like this:



NPORTS = "0"

NPORTS <> "0"



Lastly, and probably the real issue, you've got a spelling mistake in your NPORTS property name in the first Condition table entry. D'oh!

Rivin's picture
06
Mar
2009
1 Vote +1
Login to vote

Hi Bill.

Thanks God we have this forum, I started thinking that my msi got corrupted.

Thank you so much, works perfectly

Have a nice wekend.

Rivin's picture
20
Mar
2009
0 Votes 0
Login to vote

thanks for fast and clear

thanks for fast and clear answer