Guten Tag,
I am using AI 7.6 build 27499
I have a project which will require admin privileges to install. In order to enforce that, I have selected the "Run only if user has administrator privileges" checkbox on the "System Launch Conditions" tab. On the "Prerequisites" page, I added a Global Prerequisite (Windows Installer 2.0) and I selected the "Check predefined launch conditions before searching for prerequisites" checkbox.
When I run my bootstrapper on a WinXP machine:
* non-admin user sees appropriate pop-up which says "[ProductName] requires administrative privileges to install"
* admin user is able to install
When I run my bootstrapper on a Win7 machine:
* admin user sees the "[ProductName] requires administrative privileges to install" pop-up and cannot install
If I delete my Global Prerequisite and rebuild my project, then the admin user on Win7 does not see the pop-up and can successfully install, as expected. So, it seems like there is some disagreement between having Global Prereqs and the "Run only if user has admin privs" Launch Condition.
The documentation for the predefined launch conditions says:
[The "Run only if user has administrator privileges" option is not supported by Windows Vista or above because of the way the User Account Control works.]
So on a Win7 machine, the bootstrapper should not be triggering this prerequisite.
In another forum I posted concerning the "active Internet connection" prereq, you guys confirmed there was a bug with the interaction between Global Prerequisites and Predefined Launch Conditions. I'm not sure if this is directly related, but it seems to be.
As always, thanks for your help.
-Todd
FOLLOW US
Get the latest news in Application Packaging