enthu.rao
Posts: 13
Joined: Tue Jul 15, 2014 9:20 am

how to selectively install file

I have two exes with same name for different resolution. Now I have kept one exe in subfolder with option install to parent folder.

(I also know how to set property,but it does not help in my case)

My application need choice to user if he wants Macro exe or Mini Exe to run.

I also know to Display MessageBox with Yes No Option,but I dont know how to link it all.

I tried my best ,Please help.
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: how to selectively install file

Hi,

You can take a look on the How do I install two files with the same name in the same folder article which should help you.

The "Display message box" custom action stores the button clicked by the user in the property written in the "Output Property" field (i.e. BTN_PRESSED), then you can use that property as a condition for the installation of your files (i.e. BTN_PRESSED="IDYES" to verify if the "Yes" button was clicked).

Let us know if this helped, otherwise give us more details about your scenario.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
enthu.rao
Posts: 13
Joined: Tue Jul 15, 2014 9:20 am

Re: how to selectively install file

I am somewhere nereby,In orgainzation for a file I am setting condition,But please tell me where can I find BTN_PRESSED property ?

I am trying to assign BTN_PRESSED="IDYES" to one exe and BTN_PRESSED="IDNO" to other exe but I am unable to locate the property BTN_PRESSED
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: how to selectively install file

This property is used by the "Display message box" custom action and it can be changed in the "Output Property" field of that custom action.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
enthu.rao
Posts: 13
Joined: Tue Jul 15, 2014 9:20 am

Re: how to selectively install file

Unfortunately even if I change Property name it does not appear in property list
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: how to selectively install file

Indeed, that property does not appear in the property list, so you need to write it manually when you want to use it.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
enthu.rao
Posts: 13
Joined: Tue Jul 15, 2014 9:20 am

Re: how to selectively install file

Ok I will try and come back
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: how to selectively install file

Just let us know anytime you need help.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
enthu.rao
Posts: 13
Joined: Tue Jul 15, 2014 9:20 am

Re: how to selectively install file

Thank you friend my problem solved
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: how to selectively install file

You're always welcome. I'm glad you got this working.

All the best,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”