build msi that contain exe resource and "run as admin" is selected - Advanced Installer Community
aviranm2
Posts: 1
Joined: Tue Apr 25, 2017 11:27 am

build msi that contain exe resource and "run as admin" is selected

hi to you all
i tring to create MSI package ,the package shuold contain 4-5 EXE resource files
the msi should run these 4-5 exe files with "run as administrator" option selected.
when i try to select that option there is popup saying "the EXE with resources next to it (with cab outside the MSI) was selected in Configuration tab from Build page.
then it build an exe file and not MSI.

what should i do in order to build MSI that will run as administrator.


Aviran
Attachments
Capture.PNG
Capture.PNG (2.33 KiB) Viewed 1643 times
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: build msi that contain exe resource and "run as admin" is selected

Hello Aviran and welcome to our forums,

Whenever "Run as Administrator" option from Install Parameters page is checked the Package Type automatically changes to EXE because this feature is only supported by EXE packages. In order to avoid this behaviour you could use several "Launch File" custom actions and for each one of them check Run as Administrator option in its page.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”