I have written a windows application in visual studio 2015 and it all works perfectly. I went through the publish wizard and deployed the program to C:\Chem.

In Chem I can see a folder "Application Files" together with an application manifest file and a setup file.

When I run the setup file I get a window saying that I can't start the application from this location because it is already installed from a different location - but it isn't!!

Does anyone have any idea what I'm missing?