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!

jetnetadapter
Posts: 4
Joined: Tue Apr 25, 2017 8:06 pm

Launch attached file and read stdout

Hi,
I want to create custom action that execute exe file and store the output to property.
I want to use binary to detect user WAN ip & country.

Thanks
Sorin
Posts: 663
Joined: Mon May 08, 2017 1:03 pm

Re: Launch attached file and read stdout

Hello,

You could use a VBS/C++/C# Custom action and write a code which launches the exe and uses the value contained by its stdout to set an installer property. Please take a look on How to set an installer property using custom actions.

Best regards,
Sorin
Sorin Stefan - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”