Tuesday, February 17, 2009

Windows Installer (MSI) in VS 2008: How to Default to Everyone

When creating an installer packing in VS.NET 2008, the default option is to install as "Just Me" instead of "Everyone". This blog entry for VS.NET 2003 details this nicely -- but it is outdated. As that post details, you have to edit the MSI database to get it to work.

However, in VS.NET 2008, there is a property on the Setup project itself named "InstallAllUsers" that defaults to false. Simply toggle it to true and you're in business.

I just thought I'd add this so others who google for it don't go through the heart aches that used to be required in earlier versions of VS.NET.