I have a Windows service written in C#. I also have a Windows Form
application for configuring the service. I have created a deployment project
to install both at the same time. When I build the Install package I change
the setup project version, this also changes the Product Code and Package
code. I have RemovePreviousVersion set to true.
If the service is already installed and I update it then launch the setup
program again it all seems to install correctly and the service runs fine.
The config utility is launched immediately after the installation and works.
The next time I launch the config app from the Start menu however a dialog
pops up saying it is installing the app and then deletes parts of my program
and fails.
I also have a separate Windows Forms app with the same problem. After
install when I launch it from the program menu it says it wants to install
the app again.
Any ideas?
Pete