Chained MSI - Elevated privileges - Advanced Installer Community
maxonico
Posts: 7
Joined: Tue Dec 27, 2016 8:59 pm

Chained MSI - Elevated privileges

Hello all,

I'm trying to build an installer which contains a chained MSI. This MSI requires elevated permissions (but does not ask for it, either you are an admin or you run it as administrator), but when executing the chained MSI it fails as it requires the elevated permissions - I don't have control over the chained MSI.

Is there a way to tell AI to execute the chained MSI as administrator? I could create an executable as a wrapper for the MSI, but that would be a workaround and don't know if it a valid approach.

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

Re: Chained MSI - Elevated privileges

Hi Maxi and welcome to Advanced Installer forums,

For this you can enable the “Run as administrator” option from the “Install Parameters” page. The benefit of elevating the bootstrapper application is that privileges are elevated only once (if necessary and at the beginning of the installation) and these privileges are inherited by all of the installation's prerequisites and the MSI file without requiring any elevation prompts.

Please let me know if that helped.

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

Return to “Building Installers”