Tuesday, February 26, 2013

VS2010 Setup Project: Uninstalling the previous MSI

   
For creating update version of installed MSI do the Following Step in vs2010 Project

1 . Change version in assembly file of Project ( version have 4 octate Major.Minor.Build.Release)
2 . You have to change Major or Minor Octate.
3 . Change GUID also in assembly file.

 These are the change which you have to make in Project file.

Now open property window of Setup Project and do the following Change.

1. Change the Major/ Minor Version. ( it automatically change Project id but remain Upgradation COde)
2. Set RemovePreviousVersion to True.
3. Set DetectNewerInstalledVersion to True


Compile Setup and install. Its Working !!

No comments: