Clarification on Updating DefaultLocation in an MSI

Back in February, I did a blog post on how to change the default location for an Application installed via an MSI.  Thanks to a comment from Joe Marcelino, it wasn’t clear where to find the “DefaultLocation” field to change that.  Here’s a quick how-to on finding the field.

1. Right-click on your Setup project in Solution Explorer and select “View” and then “File System”:

Step1

2. In the window that opens up, under “File System on Target Machine”, select “Application Folder”:

Step2

3. Now, look at the “Properties” window and you’ll see the DefaultLocation property:

Step3

Now you can use any of the settings defined in MSDN to change where the application is installed.

Technorati Tags: ,
Published Monday, April 04, 2011 1:36 PM by PSteele
Filed under:

Comments

# Changing the Default Install Location of an MSI - Patrick Steele's .NET Blog

Pingback from  Changing the Default Install Location of an MSI - Patrick Steele's .NET Blog