Hide Textbox on Uninstall - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

kevinfigg
Posts: 18
Joined: Mon Sep 08, 2008 3:46 pm

Hide Textbox on Uninstall

Hi

I have added a textbox to the 'Exit Dialog' to give my users an idea what to do next.

As this information is only relevent when installing the product, I'd like to hide it when the it's Uninstalled.

So far, I've created a Control Condition for the text box;

Condition: (REMOVE="ALL" AND (NOT UPGRADINGPRODUCTCODE))
Action: Hide

However, when uninstalling, the textbox remains. Is there a way of doing this?

Many thanks
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Hide Textbox on Uninstall

Hi,

Please note that not all Windows Installer properties are available after the install process is complete. However, you can use the "Installed" property for two custom Control Conditions:

Code: Select all

Condition_______|_Action
(Not Installed) | (Show)
Installed       | Hide
Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
kevinfigg
Posts: 18
Joined: Mon Sep 08, 2008 3:46 pm

Re: Hide Textbox on Uninstall

Hi Cosmin

Worked brilliantly. Thanks very much.

Kevin

Return to “Common Problems”