Jump to content

This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.

Delpoyment Project

1 reply to this topic


  • Members
  • 3 posts

Posted 16 October 2003 - 11:23


I had made one deployment project using the .net deloyment wizard.
In which I used to launch my project .msi file.

Now as per our new requirement we have to change our installation directory name. When now I install my project it just creates a new folder and install the application perfectly.

How should I add custom Action that if my previous name folder is present on the machine it should detect it and unistall the product before installing the app with new directory name.

Like previously I install at C:\ABC\my.exe now I want it should install C:\XYZ\my.exe but it should first unistall my.exe from ABC directory and remove that directory.

How should I do that Please help me giving me some hints.

Looking forward for your replies.


Stefan Krueger

Stefan Krueger


  • Administrators
  • 13,269 posts

Posted 16 October 2003 - 18:34

Change the ProductCode and populate the Upgrade table. This should automatically uninstall the old version. I think there's a setting in Visual Studio for this.