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

Launch attached file and read stdout

Tue May 09, 2017 6:26 pm

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

Wed May 10, 2017 11:48 am

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”