tim
tim

Reputation: 1369

VS2010 Setup and Deployment: removing a shortcut from previous version

I have a VS2010 Setup and Deployment project. We have decided to change the program group to which the next version installs. How do I remove the previous program group? I would prefer to not have the user uninstall via Control Panel.

Upvotes: 0

Views: 530

Answers (1)

user957902
user957902

Reputation: 3060

You will need to trigger the windows installer to peform a "Major Upgrade" of you product. A major upgrade will uninstall the previous versions components. Details can be found here ins the MSDN docs: http://msdn.microsoft.com/en-us/library/windows/desktop/aa369786(v=vs.85).aspx

You might also consder moving to Wix (Windows Installer XML). You can create much more flexable installers in Visual Studio with it. See: http://wix.sourceforge.net/

Upvotes: 2

Related Questions