Displaying feature depends on ini file settings.
Updated: 21 May 2010 | 3 comments
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
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!
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.
thanks for fast and clear
thanks for fast and clear answer
Would you like to reply?
Login or Register to post your comment.