Creating MSI installs for Vista

Filed under Installations, Vista

Neeru Hundal has a pretty interesting and informative blog at http://msiblogger.com that’s all about MSI issues.

A very good article there focuses on issues to look out for when creating MSI’s for Vista (or that might end up on Vista, which means pretty much any MSI, I’m guessing).

One in particular hit me just a few days ago. Neeru indicates you need to set the ALLUSERS property to 1. He emphatically states you need to SET IT (not just leave it blank or not there at all). I’ve found that you definitely need to set it, but you should set it to 2, or you may end up getting UAC and “You don’t have proper permissions” messages, even though you’ve created the install to specifically NOT require admin privileges. Originally, I had ALLUSERS set to 1 and was getting a “requires admin privs” message even though my installation shouldn’t have required administrative privileges.

Another nugget:

  • Custom Actions
    1. Custom Actions in the UI Sequence will run with standard user privileges
    2. For Custom actions requiring admin rights, mark custom action as Deferred – No Impersonate

Anyway, he’s got a few other articles there, too, which make for some good reading.

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

*