Fix: Installation path incorrectly disappear for a Setup project that was upgraded from Visual Studio 2008 to Visual Studio 2010 SP1

This article may interest you, if upgrade fails when migrating setup project from VS2008 to VS2010 SP1.

You may experience this error, because a different hashing algorithm is used to create the Globally Unique Identifiers (GUIDs) in Visual Studio 2010 SP1.

When you install the .msi file that is created from the Visual Studio 2010 SP1 Setup project, the .msi file determines that the GUID has changed. The .msi file removes the files and registry keys for the installation path by using the sequence of the project.

To resolve this issue, download and apply this Hotfix 2529927 solution, and then set the new BackwardCompatibleIDGeneration property to True before you build the project.

This hotfix introduces the BackwardCompatibleIDGeneration property. By default, this property is set to False. Before you build the Setup project in Visual Studio 2010 SP1, you have to explicitly set the BackwardCompatibleIDGeneration property to True.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: