Group Policy MSI problems
Posted: Thu Aug 11, 2011 3:45 am
My app is installed into the user's profile, and therefore the installer does not need admin privileges, so UAC elevation within IA 11 is set to asInvoker, and limited users are not asked to elevate. This works perfectly as a single-file EXE build.
However, I purchased IA11 so that I could distribute a single MSI file for sysadmins to deploy centrally, and for any user to be able to install individually.
However, as soon as I use the Group Policy Wizard to create the MSI file, a few bad things start happening:
1) The (outer) MSI file isn't signed! Is there a good reason for this?
2) Users start are asked for admin credentials, i.e. the MSI is not running asInvoker. Given that IA specifically has a way of instructing it to use asInvoker, this seems like a bug that this is not applied to the outer MSI.
Combine the two,and now my users are freaking out with the big yellow 'unknown publisher' box, which requires an over-the-shoulder elevation from their IT department. Double whammy.
Obviously, I can sign the outer MSI file manually. But when I do this, I get even stranger results.
For limited users, nothing changes: it still acts as if it's unsigned, even if it is signed! And for admin users, it bypasses the notice for the outer MSI, but now I get a notice for what I think is the inner MSI. So my question is: how do I get the MSI file to run asInvoker, and how do I get the signature to be recognized on a limited user's machine?
However, I purchased IA11 so that I could distribute a single MSI file for sysadmins to deploy centrally, and for any user to be able to install individually.
However, as soon as I use the Group Policy Wizard to create the MSI file, a few bad things start happening:
1) The (outer) MSI file isn't signed! Is there a good reason for this?
2) Users start are asked for admin credentials, i.e. the MSI is not running asInvoker. Given that IA specifically has a way of instructing it to use asInvoker, this seems like a bug that this is not applied to the outer MSI.
Combine the two,and now my users are freaking out with the big yellow 'unknown publisher' box, which requires an over-the-shoulder elevation from their IT department. Double whammy.
Obviously, I can sign the outer MSI file manually. But when I do this, I get even stranger results.
For limited users, nothing changes: it still acts as if it's unsigned, even if it is signed! And for admin users, it bypasses the notice for the outer MSI, but now I get a notice for what I think is the inner MSI. So my question is: how do I get the MSI file to run asInvoker, and how do I get the signature to be recognized on a limited user's machine?