You're installing an Advertised Shortcut, this means when you double click on the shortcut to run the application Windows Installer checks to ensure that all files, registry keys, etc that should be installed are installed.
For some reason Windows Installer is detecting that your installation has become "corrupt", this might mean that a file has changed, been deleted, registry keys are missing or whatever.
If you install a non-advertised shortcut you'll stop the repair happening. However the better solution is to try and figure out why it's attempting to repair your installation. Generally it's an indication that you've got a problem with your application or installation design - any "key file" in a component isn't permitted to change by default and will be "repaired" if it's modified. You probably don't have any other options in Visual Studio, as it's fairly limited.
I'd highly recommend picking up a copy of The Definitive Guide to Windows Installer, it explains all the Windows Installer concepts clearly using VS2005 and showing how to work around some of the limitations by editing the MSI with Orca.
Edit: (Looked up the in book for you...) you probably need to add DISABLEADVTSHORTCUTS
to the Property
table with a value of 1
. I don't use VS so I can't say if there's a checkbox or not.
You might also be able to "cache" the MSI in the Windows folder, this means you can still repair even if the original MSI is deleted. Again, unsure how to do this with VS.