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!

kellyk2004
Posts: 1
Joined: Sat Dec 12, 2015 12:06 am

Installer permissions when launched from another program

Thanks in advance for any help on this problem were having:

We have a downloader built with Adobe Air that downloads the the installer built with Advanced Installer, which installs our app on win 7, 8 & 10.

Once the user run the downloader, it asks for the administrator password, downloads the installer, then launches the installer, then the installer runs our app once the install is done.

That all works, but if this is done as a non-administrator, the desktop icons are not the custom icons(there the default ones), also the next time you go to run the installed app it will not run, you get a permissions error. Also, doing this as a non-administrator, the installer never asks for elevated permission(I assume because we already provided it when we launched the downloader).

Now, if we just run the installer itself it as a non-administrator, the installer asks for the admin password as expected, installs the program, icons are correct and everything works happily ever after.

I don't know enough about how windows permissions work in a scenario like this and need some help to solve it.

Is there any way to "force" the installer to ask for elevated permissions again in the case where it was invoked by another program? or a way to get the installer to inherit the proper permissions we gave the program that launched the installer?

Again, thanks for any help!
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Installer permissions when launched from another program

Hello and welcome to our forums,

I'm not quite sure why this happens. Can you please go to "Install Parameters" page, enable the "Run as administrator" option, rebuild the installer and test again the installation scenario?

Let us know if this helped.

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

Return to “Building Installers”