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!

jer7b
Posts: 9
Joined: Mon Nov 17, 2014 3:07 pm

Silent / suite installation and user account control?

Hi there,

I've used Advanced Installer to create exe installers for 6 applications - and then created a "suite" installer to merge these 6 installers into a single msi bundle installation. Within the suite I have customized the command lines for the 6 setup packages so that they install silently e.g. /qn APPDIR="[APPDIR]"

I've followed the tutorial here ( http://www.advancedinstaller.com/user-g ... tions.html ) and the suite works nicely ... but I have one slight issue, I wonder if anyone has a possible remedy?

The user launches the installation suite and is presented with the default install folder. The suite then goes silently through the 6 installers one-by-one ... but before each of the 6 installations the user is presented with the "User Account Control, do you want to allow ..." box.

I wonder is there a way to perform the whole installation without the user being presented with the UAC boxes?

Many thanks in anticipation,

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

Re: Silent / suite installation and user account control?

Hi James and welcome to Advanced Installer forums,

In order to avoid 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 multiple elevation prompts.

Please let me know if that helped.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
jer7b
Posts: 9
Joined: Mon Nov 17, 2014 3:07 pm

Re: Silent / suite installation and user account control?

Hi Dan,

Many thanks for the welcome and quick reply.

In my installation bundle suite I've both enabled and disabled the "Install parameters > Installation options > Run as administrator" option ... but when building a single MSI with either of these options the user still has to click through all the UAC boxes.

Each of my 6 exe installers also have "Run as administrator" enabled - and they've been code signed too.

Another option I'm also looking at is to create a "professional" package - maybe add my 6 applications/folders that way(?) ... but the "suite" option looks ideal.

Thanks and best wishes,

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

Re: Silent / suite installation and user account control?

Hi James,

Please note that the Run as administrator option requires the boostrapper that means the package type must be an .EXE.

Please let me know if that helped.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
jer7b
Posts: 9
Joined: Mon Nov 17, 2014 3:07 pm

Re: Silent / suite installation and user account control?

Hi again Dan,

Many thanks for the tip. Yes, building my suite as an .EXE package type worked really well this time - no UAC prompts.

However ... I'm looking to build an MSI suite installer rather than an EXE installer - basically my company makes software for schools and the schools much prefer MSIs.

If you have any more advice then please let me know, otherwise maybe the professional package option could be a better way(?)

Thanks for your help,

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

Re: Silent / suite installation and user account control?

Hi James,

In this case, you can use the Chained Packages approach.
So, in the Prerequisites page you can add the related .MSIs as chained packages using the Add Chained Package toolbar button.

You can also take a look on the How do I create a chained installation? article with related information for hints and guidance.
However, there will still be a prompt for each package that require administrative rights, this is the default behavior for Windows Installer. If you want to avoid this, you can run the installation package from an elevated command line.

Please let me know if there is anything else I can help you with.

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

Return to “Building Installers”