mandarj123
Posts: 18
Joined: Tue Nov 18, 2014 2:38 pm

Run as administrator and Run Update without elevation

Hello,
If I have following settings for exe setup and subsequent MSI update.

1)Install parameters: "Run as administrator" checkbox checked.
2)Updater: "Install support service" checkbox checked.

In the updater configuration project of MSI update.
"Install update without elevation" checkbox checked.

I encounter behaviour where during an update , I am still asked for administrator credentials.

Is it by design and only because "Run as administrator" checkbox is checked which overrides "Install update without elevation" setting?

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

Re: Run as administrator and Run Update without elevation

Hello,

Please note that your main installation package will require administrator rights. In this installation package you need to configure it 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
mandarj123
Posts: 18
Joined: Tue Nov 18, 2014 2:38 pm

Re: Run as administrator and Run Update without elevation

Hello,

For a non admin user, I continue to be asked for administrator credentials during update.

1)First installer is exe.support service installed.
2)Update is MSI with "update without elevation" checkbox on.

Any clues?
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Run as administrator and Run Update without elevation

Hi,

In order to have a better view about this, can you please give us the AIP's (old project file, the upgraded project file and the updates 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
mandarj123
Posts: 18
Joined: Tue Nov 18, 2014 2:38 pm

Re: Run as administrator and Run Update without elevation

Hi Dan,
Thank you, on further checks on two other environments.
I notice that I am getting this behaviour on one specific machine.

Is there any cache,temp data that could be playing a part.

The similar configuration machine to this machine, where I also tried, has no problems.

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

Re: Run as administrator and Run Update without elevation

Hello,

Since it is working fine on other machines, maybe is something specific for this one. Can you please test on multiple similar machines and see if the behavior still persist?

On some computers suppressing the elevation may not work. e.g. the machine is in a broken state.

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

Return to “Common Problems”