Auto repair when you remove files is a default feature of MSI setups.
There's no setting in the IDE to rurn it off.
Does Visual Studio allow you to right-click Exclude on the executable in
solution explorer? If so, that runs it out of a temp location and is removed
afterwards.

Signature
Phil Wilson
[Microsoft MVP-Windows Installer]
Hi Phil,
Thanks for the reply.
> Auto repair when you remove files is a default feature of MSI setups.
> There's no setting in the IDE to rurn it off.
Ah - that would explain it!
> Does Visual Studio allow you to right-click Exclude on the executable in
> solution explorer?
Yes it does.
> If so, that runs it out of a temp location and is removed afterwards.
I tried that, but now the installer gives an error that it cannot find
Interop.IWshRuntimeLibrary...
The executable uses this library to search for unused icons on the target
machine's desktop and remove them if it finds any...
Thanks,
DJ