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!

DrBanana
Posts: 4
Joined: Wed Jan 13, 2016 3:32 am

Get Main EXE file name from a console app

I want to make an installer which installs a console app(ConsoleTest.exe), then a custom action executes that ConsoleTest.exe, which generates another EXE file, lets say MainApp.exe. Now I want that, installer should create shortcut, firewall settings and launch app at finish of the MainApp.exe, not ConsoleTest.exe. The problem is, MainApp.exe name can be changed so it can be any name, what I want is ConsoleTest.exe should set a property in msi ? and then with that property installer creates shortcut and all other previously written settings.

A step by step guide would be better. Thank you.
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Get Main EXE file name from a console app

Hi,

I'm afraid that we do not have support for getting the file name as explained in your scenario. In order to achieve this you can create your own custom action with this functionality.

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

Return to “Building Installers”