vidur
Posts: 43
Joined: Thu Jul 31, 2014 4:21 am

Custom Action for Exe setup file

Hi,
I have requirement where i need to perform a custom action only if my install file is an MSI. How can i check if the Installer is MSI or is a bootstrapped MSI in EXE?

Thanks
Eusebiu
Posts: 4959
Joined: Wed Nov 14, 2012 2:04 pm

Re: Custom Action for Exe setup file

Hi,

To achieve this, you can check the [SETUPEXEDIR] and [AI_SETUPEXEPATH] properties. If they are set (not empty), then the package uses a bootstrapper (is an EXE).

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
vidur
Posts: 43
Joined: Thu Jul 31, 2014 4:21 am

Re: Custom Action for Exe setup file

Hi,
It worked Thanks for your reply
Eusebiu
Posts: 4959
Joined: Wed Nov 14, 2012 2:04 pm

Re: Custom Action for Exe setup file

You're welcome. I'm glad it worked.

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

Return to “Building Installers”