Well, I decided to spend today solving the problem. I do have the answer to our problem! It took me about 6 hours to figure this out, but like many things, it can be conveyed in only a couple minutes. The type of shortcut that we created is called an advertised shortcut, which means that it checks the "health" of the solution before running the executable. If the program isnt healthy, it will try to reinstall itself. What we want is a non-advertised shortcut, which is just a regular shortcut like the ones you can create in Windows by right-clicing an executable and clicking Create Shortcut. The sources I found referred to two main ways to fix this and the way I was able to utilize requires building the release version of the solution and then editing the installer msi with a program called Orca. Orca takes apart the installation package and allows you to edit it. The following worked for me:
1. Orca is included in the Windows Install SDK, which is found in the Platform SDK at the following link:
Platform SDK
2. After downloading and intalling this, you have to go to C:\Program Files\Microsoft SDK\Bin and install Orca by running orca.msi.
3. After installing Orca, run it and open the msi of your solution.
4. Choose Shortcut from the list on the left and change the Target of your shortcuts to
Code:
[TARGETDIR]\application.exe
where application.exe is your executable. I have a desktop and a start menu shortcut and had to change this for both.
The following link was what I used to start discovering a solution in case you want more information:
MSDN
Note that there are three related Q&As on this page.
This seems to have worked for me and makes sense. I hope it works for you also. Dont hesitate to post if you have any questions. Good luck!