gdcoke
Posts: 3
Joined: Sun Oct 01, 2006 2:50 pm

How to enforce Administrator privileges within bootstrapper?

Hello,

I'm using AI 4.3 enterprise, registered.

In the bootstrapper, how do I check for and enforce administrative privileges? I have several software product prerequisites defined within my AIP project, and these prerequisites are executed by the bootstrapper, but these prerequisites require that the launching user have administrative privileges.

I have an AdminUser launch condition defined, and this works great for the resultant MSI (and if the user launches my setup by way of the resultant MSI), but apparently this launch condition is not seen by the bootstrapper.

Is it possible to check for administrative privileges within the bootstrapper, and then display a message to the user? If this is not possible, what is the support team's recommendation on how to handle this scenario whereby my software prerequisites require administrative privileges but the launching user of the EXE does not have administrative privileges?

Thank you very much.
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

This is not currently supported but we have added it on our TODO list. Thank you for your suggestion.

Regards,
Gigi
_______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
gdcoke
Posts: 3
Joined: Sun Oct 01, 2006 2:50 pm

Thank you, Gigi.

AI is an excellent product, but I am surprised to learn that this is currently unsupported.

This would seem to me as a common request by AI users since I can imagine that it is very common for prerequisites (frameworks, runtimes, and other platform-level prerequisites, etc.) to require administrative privileges.

Interested in and welcome your further thoughts.

Return to “Common Problems”