cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
bplivard
Level 4

Display pushbuttons only when installing

Hi all,

I'm working on a basic MSI project, and I'm looking for the right condition
to have custom pushbuttons displayed only during the install sequence.
All they do is to launch external programs from the SetupCompleteSuccess dialog, but they also appear after maintenance and uninstall.:eek:
I've tried quite a few conditions with no success so far.

Could anyone give me a hand with this, please?

Any help would be greatly appreciated 🙂
Labels (1)
0 Kudos
(6) Replies
RobertDickau
Flexera Alumni

Does Not Installed work? What have you tried?
0 Kudos
bplivard
Level 4

Hello Robert,

thank you for replying this fast 🙂

In the behavior part of the dialog, for a given button, I have:
Event: DoAction
Argument: My custom action name
Condition: 1
and in the Conditions part, I tried:
Action: Hide
Condition: tried many but none would work.

Should I put conditions instead of "1" in the condition of the Events tab?
0 Kudos
RobertDickau
Flexera Alumni

No, the Hide action on the control condition should take effect first. What conditions have you tried there? As a test, does it work if you give the Hide action the condition 1?
0 Kudos
bplivard
Level 4

Thanks Robert 🙂

I've used the Not Installed condition and the pushbuttons
are inactive when uninstalling.
I'm still trying to hide them after maintenance or uninstall.
0 Kudos
bplivard
Level 4

Thanks again Robert 😄

I tried the "1" condition as you suggested and it did hide the buttons.
So I tried the Hide Action with the "Installed" condition, and the buttons
are hidden when uninstalling through maintenance.

Thank you for your help and have a nice day:)
0 Kudos
RobertDickau
Flexera Alumni

Yes, quite right: it should have been Hide with condition Installed, Show with condition Not Installed...
0 Kudos