Installer updates without elevation - Advanced Installer Community
unavyatha
Posts: 5
Joined: Thu Jan 23, 2014 5:18 pm

Installer updates without elevation

Hi,

I have followed the below link for getting updates of our installer for non admin user:
http://www.advancedinstaller.com/user-g ... dates.html

But when I tried to take updates in non admin user account, it is asking for admin credentials. I have built a sample installer to test this with a text file and it is working fine as expected for non admin user, updates are installed without admin credentials.

We are registering dlls as COM register as well as registering some dlls in GAC in the installer. We also have Excel COM addin as part of our installer.

Can you please let me know does this have any impact on the behaviour for taking updates for non admin user?

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

Re: Installer updates without elevation

Hello Navyatha and welcome to Advanced Installer forums,

Please note that your main installation package will require administrator rights. In this installation package you need to configure as it is described in the Handle updates without elevation article and further updates will not require any elevation because the support service which will handle updates without elevation is installed.

The installation of this service  prepares the package to support the installation of updates without elevation on restricted user accounts.

Please let me know if that helped.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
unavyatha
Posts: 5
Joined: Thu Jan 23, 2014 5:18 pm

Re: Installer updates without elevation

Hi Dan,

Thank you for your reply.

I have followed the same steps to build the installer. First time installation is getting installed under admin account but upgrades are also asking for admin credentials with my installer. It is not getting upgraded in non admin user account without elevation.

Same is working with sample instller which just writes to a text file.

Can you please suggest?

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

Re: Installer updates without elevation

Hi Navyatha,

Can you please tell us what version of Advanced Installer are you using? Also, after you install your package can you please try to search in the Services list and see if the Updater Service has been installed and see
its Path to executable is correct?

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
unavyatha
Posts: 5
Joined: Thu Jan 23, 2014 5:18 pm

Re: Installer updates without elevation

Hi Dan,

I'm using Advanced Installer 10.8.
After install I could see the updater service in Services list and its path to executable is also configured properly and is pointing to the updater exe in the installation location of the software.

Let me know if you need any more information.

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

Re: Installer updates without elevation

Hello Navyatha,

Can you please give us the AIP's( old project file, the upgraded project file and the upgrades project file) with the dll and other resources absolutely necessary to reproduce the issue to support at advancedinstaller dot com so we can investigate them?

Just strip down your projects to a basic size containing only the dll and other resources absolutely necessary to build your samples so we can try to reproduce the issue in order to investigate it.

Also, can you give us more details about the Operating System(32/64bit, Service Pack applied, etc)?

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
unavyatha
Posts: 5
Joined: Thu Jan 23, 2014 5:18 pm

Re: Installer updates without elevation

Hi Dan,

I have sent the aip files as requested.
Operating system is Win 7 32 bit SP1.

Thanks,
Navyatha

Return to “Building Installers”