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!

NigelShaw
Posts: 58
Joined: Wed Apr 01, 2015 12:45 am

Running exe at the end if install

Hi

I need to run a specific exe file during my installation. The exe makes a few specific changes to the registry. I added it to a Custom Action but it doesn't do anything. What is the best way to add the exe into the installer so that it can run as administrator during the installation?

Cheers

Nacho
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Running exe at the end if install

Hi Nacho,

In Advanced Installer there are more built-in custom actions that can launch an EXE file. The EXE file that you want run during the installation can be contained by the package as a regular or temporary file, it can be attached to the package or it can exists on the target machine. Depending on this, you can choose the custom action that suits you the best to solve the problem.

If the EXE file needs elevation it can be launched through a custom action during the “Install Execution" stage. If the application needs to run outside this section, you can use a “Launch file” custom action and set the “Run as Administrator” option for it.

Let me know if this helped, otherwise give me more details about your scenario.

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

Return to “Building Installers”