NSentinel
Posts: 32
Joined: Mon Oct 27, 2008 10:09 am

Elevation issue with admin-only setups

Hi

I've just upgraded AI from 10.3 to 10.5 and got issue with our setup.

Despite our settings we can't run final setup in ordinary way and it requires manually Run As Administrator operation. Below our project settings screen.

Link to image

Result setup is failed to run with "The requested operation requires elevation".

Thank you in advance for any help
Attachments
sshot-6.png
sshot-6.png (98.04 KiB) Viewed 7789 times
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Elevation issue with admin-only setups

Hello,

I'm not sure I fully understand your scenario. Can you please give us more details?

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
NSentinel
Posts: 32
Joined: Mon Oct 27, 2008 10:09 am

Re: Elevation issue with admin-only setups

Thank you for answer.

Our setup is pretty simple. We have setup project which required to be run only as administrator. Versions prior 10.5 correctly embed required information and result setup marked as required to run as administrator. It also visually appears with shield icon (see attached pic).

10.5 exe setup embed requirements to be run as administrator but fails to request elevation (seems there is no manifest for installation itself or it corrupred) and installation even can't start under ordinary user without Run As. There is also no shield mark on exe setup.

We double check after reverting to 10.3 setup is working as expected.

If my description still unclear I can mail our project to support.
Attachments
sshot-7.png
sshot-7.png (8.88 KiB) Viewed 7783 times
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Elevation issue with admin-only setups

Hello,

I'm not sure why you encountered this behavior. Can you please send us the .AIP(project file) and provide us a download link for your application to support at advancedinstaller dot com so we can investigate them? If they contain confidential information you can send us a small test project which reproduce this behavior.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
NSentinel
Posts: 32
Joined: Mon Oct 27, 2008 10:09 am

Re: Elevation issue with admin-only setups

Thank you for answer, I'll send all info.
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Elevation issue with admin-only setups

Hello,

Indeed, I can reproduce and confirm this issue. A fix will be available in the next version of Advanced Installer, thank you for bringing it to our attention.

This appears when the package is localized(e.g. you chose the “Russian” language for your project). It seems that the manifest for elevation is not embedded somehow in the .EXE. It is also replicate on other languages like “Turkish” or “Hungarian”.

Until then you can use this workaround:
Right-click on your EXE package, select "Properties", go in the "Compatibility" tab and check the "Run this program as an administrator" option or you can continue using the 10.3 version of Advanced Installer.

Please let us know if you have other questions.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
NSentinel
Posts: 32
Joined: Mon Oct 27, 2008 10:09 am

Re: Elevation issue with admin-only setups

Thank you for fast response and information!
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Elevation issue with admin-only setups

Hello,

This was fixed in version 10.5.1 of Advanced Installer released on September 06, 2013.

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

Return to “Common Problems”