AndyC
Posts: 11
Joined: Sat Jan 06, 2007 12:51 am

Vista and 4.6.4

I have a need to call a non-installed (but packaged) application with Admin rights, but since 4.6.4, the Shield icon has disappeared off the .msi and this application although executed, is not executed with the right escalation.

I have selected the "Per-user with admin rights required" install option.

What is the correct way to resolve this, or is it waiting on the next update to AI?

Thanks.
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

I cannot reproduce this. How exactly you launch that application?

With "Per-user only (with administrator rights required)" option the package will be installed per-user and with administrator privileges. For more details about all "Installation Type" please see:
http://www.advancedinstaller.com/user-g ... eters.html

Best Regards,
Gigi
_______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
AndyC
Posts: 11
Joined: Sat Jan 06, 2007 12:51 am

I should probably have been more clear.

The installer uses a custom action to launch an embedded application synchronously. This application needs admin rights to access HKLM.
I can tell that this app is silently launched and terminates, however it is writing to the virtual store. This app does not have a manifest associated with it.

If it is executed outside of the installer via "Run as admin...", it successfully updates the registry.

The installer itself does successfully write the HKLM registry keys.

Thanks.
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

Please make sure you use "Deferred with no impersonation" as "Execution Option" for the custom action.

Best Regards,
Gigi
_______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com

Return to “Common Problems”