briancorcoran
Posts: 19
Joined: Thu Mar 16, 2017 4:21 pm

Detecting feature installation during Maintenance mode

Hi,

During Maintenance mode, I need to display certain dialogs based on whether a feature is already installed or not. I thought I could just query the state of feature ID, but that is coming up as empty.

For Example, I might "Display a Specific Dialog" for the Next button based on MyFeature = 3 (installed).

Clearly this is wrong. Is there a way to accomplish something like this?

Thanks,

Brian Corcoran
Catalin
Posts: 6586
Joined: Wed Jun 13, 2018 7:49 am

Re: Detecting feature installation during Maintenance mode

Hello Brian,

In order to achieve that, you can use a condition as it follows:

Code: Select all

!FeatureIdentifier = 3
This condition will be true only if the feature is already installed on the machine.

Additionally, beside the event way, you can also use the "Show only if..." option (right click on your dialog --> "Show only if...")

Hope this helps.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
briancorcoran
Posts: 19
Joined: Thu Mar 16, 2017 4:21 pm

Re: Detecting feature installation during Maintenance mode

Yes, that was very helpful.

Thank you,

Brian
Catalin
Posts: 6586
Joined: Wed Jun 13, 2018 7:49 am

Re: Detecting feature installation during Maintenance mode

You are always welcome, Brian.

Glad I could help.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”