المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : get rid of advertised shortcut



C# Programming
09-09-2009, 07:42 PM
hi guys,

I just came across a stupid "feature" of windows installer.
it can just create advertised shortcuts when installing your application which means, any file you delete for example gets "installed" again if you run your application by clicking on that advertised shortcut.

really wonder who gave their approval to crap like this ....but this is actually not my question.

first, I want to turn this "feature" off in my installation files. I learned this is not doable by visual studio 2008 itself, hence you have to download some sdk to do it? I havent figured out yet which steps are neccessary to do this.-.. is there an example out there how to do this?

and further and even more important, I need to change he advertised shortcut on existing installations into an non-advertised shortcut! -- is this doable and if yes, how? did somebody do this before?

thanks for suggestions

best regards

pirate