Auto updates for non Admin users - Advanced Installer Community
bchetana
Posts: 95
Joined: Sat Dec 01, 2012 11:36 am

Auto updates for non Admin users

HI,

I Have a project build in AI 9.8. We give auto updates using the auto updates feature in AI. "Run As Admin" is selected in installation option.

One of our customer is using installer(MSI), to push into client machine (using active dir). Many of the users are restrited users and will not have acess to install the updates.

Does AI has any abilitiy so that the updates exe is downloaded and is installed automatically without user intervesion even for restrited user ?????
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Auto updates for non Admin users

Hello,

In the latest version of Advanced Installer (10.3) you can enable “Install update without elevation” option in the “Properties” tab from the Updater project.
By checking this option, the update will be installed without UAC elevation.

Please let us know if that helped.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
bchetana
Posts: 95
Joined: Sat Dec 01, 2012 11:36 am

Re: Auto updates for non Admin users

Hi Dan,

I tryed this. But getting following message.
During upgrade we, uninstall the old version and install the new, Does this creats a problem?????
Attachments
issue.png
issue.png (164.68 KiB) Viewed 12712 times
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Auto updates for non Admin users

Hi,

Please note that the related functionality will apply only if the settings described in the How to handle updates without elevation? article are implemented in the update's project.

So, can you please make sure that you had configured the updater to install all updates without elevation how it is described in that article?

If you have other questions, please let us know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
bchetana
Posts: 95
Joined: Sat Dec 01, 2012 11:36 am

Re: Auto updates for non Admin users

Ya I have followed the same steps as mentioned. Please see the attached file for configurations.

Also, service is not getting started automatically and getting the bellow message. What could be the issue ??
ServiceUpdate.rar
(8.14 KiB) Downloaded 647 times
Attachments
ScreenHunter_12 Oct. 17 17.07.gif
ScreenHunter_12 Oct. 17 17.07.gif (11.7 KiB) Viewed 12698 times
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Auto updates for non Admin users

Hello,

I'm not sure why you are encountering this behavior.
In order to get more details about what happens can you please contact us to support at advancedinstaller dot com so we can send you a debug .DLL for the updater which will create a log?

As a side note, can you also tell us on what version of the Operating System have you tested because I've used your sample and it worked as expected on Windows 7 64 bit.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
MyLastAngel
Posts: 1
Joined: Tue Nov 05, 2013 2:49 pm

Re: Auto updates for non Admin users

Hello

I have the same problem.

Examples does not work the same error.
installation does not start Custom Action: /configservice -name updater.exe (if exist UI)

Versions:

Windows 7 professional 64 SP1 rus
Windows installer: 5.0.7601.17514
Advanced Installer: 10.6 build 53162
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Auto updates for non Admin users

Hello and welcome to Advanced Installer forums,

Thank you for your interest in Advanced Installer.

I've attached a sample project which implements this scenario, to install updates without elevation.

In this archive you can find an installation package that has the updater configured as it is described in the How to handle updates without elevation? article. Also, you can find here its .AIP (project file).
When you will run the package(build1.msi) it will create in the APPDIR a dummy file and the updater.exe. Once you will launch the Updater.exe it will search for updates (it will find two updates with version 2.0.0 and 3.0.0) which are hosted on a dropbox account.
Once you will choose to install an update, you will see that the update is installed without elevation and the version field from Add/Remove Programs list will be updated accordingly to your choice.

Also I attached the AIPs(project files) of this updates installation packages and the Updates configuration file.

If you have other questions, please let us know.

Best regards,
Dan
Attachments
Sample - InstallUpdatesWithoutElevation.zip
(287.8 KiB) Downloaded 760 times
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Robin917
Posts: 1
Joined: Fri Feb 07, 2014 4:16 pm

Re: Auto updates for non Admin users

Hello Dan,

Thank you for the sample Update file I was able to complete the update without admin rights with the one that you have provided. However when copying your setup on the Install configuration on Advanced Installer 10.6 I am still being prompted for admin rights on the installs. Looking at the settings from your configuration compared to mine everything looks the same but still being prompted for admin.
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Auto updates for non Admin users

Hello Robin and welcome to Advanced Installer forums,

I'm not sure why you encountered this behavior.
In order to have a better view about this, can you please send us the AIP's (old project file, the upgraded project file and the updates configuration project file) to support at advancedinstaller dot com so we can investigate them?

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

Return to “Common Problems”