Chips
Posts: 7
Joined: Wed Oct 02, 2024 1:50 pm

Yes or No messagebox doesnt update property in MultipleInstancesDlg

Hello,

I am trying to add a Yes/No message box to the "Next" button on the MultipleInstancesDlg. When the user opts to add a new instance and clicks "Next," I want them to be prompted by a message box. If they select "Yes," the installation of the new instance should proceed; if they choose "No," it should return to the MultipleInstancesDlg.

However, I'm having trouble getting this to work, as the output property (BTN_PRESSED) of the custom action seems to be empty, regardless of whether the user clicks Yes or No. I suspect this issue arises because the MultipleInstancesDlg is part of the EXE Bootstrapper.

How can I achieve this if I can't use custom actions?

Best regards,
Rafael Marques
Eusebiu
Posts: 4950
Joined: Wed Nov 14, 2012 2:04 pm

Re: Yes or No messagebox doesnt update property in MultipleInstancesDlg

Hi Rafael,

I've tested this and it worked as expected for me. Are you sure that you set the custom action and conditions correctly on the "Next" button? They should look like in the image below:
CA and Condition.png
CA and Condition.png (18.92 KiB) Viewed 1566 times

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Chips
Posts: 7
Joined: Wed Oct 02, 2024 1:50 pm

Re: Yes or No messagebox doesnt update property in MultipleInstancesDlg

Hello,
I believe somehow my multipleInstancesDlg has some underlying problem which is affecting it's behaviour (the dialog was bugged and it was fixed by support). I've sent my .aip to the support email.
Best regards,
Rafael
Eusebiu
Posts: 4950
Joined: Wed Nov 14, 2012 2:04 pm

Re: Yes or No messagebox doesnt update property in MultipleInstancesDlg

Hi Rafael,

I'm sorry for my previous confusing answer, but I've tested this again and also talk to the development team and it seems that custom actions are not supported on the "MultipleInstances" dialog.

As a workaround, you can add an extra checkbox on that dialog that the user must check before proceeding with the installation.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Chips
Posts: 7
Joined: Wed Oct 02, 2024 1:50 pm

Re: Yes or No messagebox doesnt update property in MultipleInstancesDlg

Ok, thanks for the help!
Eusebiu
Posts: 4950
Joined: Wed Nov 14, 2012 2:04 pm

Re: Yes or No messagebox doesnt update property in MultipleInstancesDlg

You're welcome. Glad to assist.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”