Get Setup Exe Name from Custom Action - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

hisabir
Posts: 2
Joined: Mon Apr 11, 2011 12:50 pm

Get Setup Exe Name from Custom Action

hi,
Is it possible to get setup exe(bootstrapper) Name from Custom Action. Requirement is like we want to see if setup running is reffered by some one(by add ref id in setup name etc)...
Is It possible or any other way...?
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Get Setup Exe Name from Custom Action

Hello,

You can use the SETUPEXEDIR property which holds the location of the EXE bootstrapper and is resolved when you launch the installation through the EXE bootstrapper. Depending on your custom action type you can get its value in the following way: In then you would have to parse this property in your custom action to get the .EXE file name.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”