launching of executable from the browser - Advanced Installer Community
sonu
Posts: 148
Joined: Tue Oct 30, 2012 10:04 am

launching of executable from the browser

Hi Support,

We have created installer .exe file and want to execute the file from the browser along with the arguments. Can we do it from the advanced installer?

Another query, can installer exe file read the value of the IP address from the launched browser?

Please let me know your suggestions.

Regards
Sony
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: launching of executable from the browser

Hi Sony,
We have created installer .exe file and want to execute the file from the browser along with the arguments. Can we do it from the advanced installer?
I'm not sure I fully understand your scenario, can you give us more details about the scenario you want to implement?
If you want to create a web-based installation package you can achieve this by selecting the Web-Installer option in the Media page. This creates a single EXE file that will download MSI and install MSI from an URL.
Another query, can installer exe file read the value of the IP address from the launched browser?
If you want to get the IP address of the machine during installation, you can create a custom action which implements this scenario. For example, you can create your custom action as a custom action written in C# or a custom action written in C++.
You can take a look on the Get the IP Address of local computer which may be useful to you.

Then you can go in the Custom Actions page and add a predefined Launch attached file custom action with sequence. This type of custom action can execute an application (EXE or DLL) or run a script (VBScript or Java script). Also, the source file will be embedded in the MSI file but will not be deployed at install time with the other application files.

If you want to send the related value to a web server, you can set a property with related information and send it though the property list of the predefined Send install information to your web server custom action. For details please see: Collect installation data and send it to a web server.

Please let us know if that helped.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”