Discussion:
Creating non-advertised shortcuts in Visual Studio Installer projects?
(too old to reply)
Keith
2005-10-05 16:38:43 UTC
Permalink
Hello,

I have an installer project that creates shortcuts on the users desktop and
in the Start Menu. Because they are advertised shortcuts, my install gets
validated when they are used. I don't want that to happen.

So my question is, how do you create non-advertised shortcuts in Visual
Studio? Is this possible?

Thanks!

Keith
Phil Wilson
2005-10-05 18:10:29 UTC
Permalink
You can't do it through the IDE. You can make them non-advertised with the
DISABLEADVTSHORTCUTS property, either by installing your msi file with a
command line such as:
msiexec /i <patch to msi file> DISABLEADVTSHORTCUTS=1

or getting Orca from the Windows Installer section of thre Windows SDK, and
runninit it on your msi file. In the Property table, add a new row, Property
DISABLEADVTSHORTCUTS and a Value of 1. DISABLEADVTSHORTCUTS is
case-sensitive.
--
Phil Wilson
[Microsoft MVP-Windows Installer]
Definitive Guide to Windows Installer
http://apress.com/book/bookDisplay.html?bID=280
Post by Keith
Hello,
I have an installer project that creates shortcuts on the users desktop
and in the Start Menu. Because they are advertised shortcuts, my install
gets validated when they are used. I don't want that to happen.
So my question is, how do you create non-advertised shortcuts in Visual
Studio? Is this possible?
Thanks!
Keith
Loading...