473,765 Members | 1,975 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Advertised Shortcuts in a setup and deployment project

How can I create a setup and deploment project which does not create
Advertised Shortcuts.
Mar 26 '08 #1
3 2415
Get hold of Orca from the Windows SDK, install from Orca.msi.
Use it to open your built MSI file, go to the Property table.
Add a new row, property name case-sensitive DISABLEADVTSHOR TCUTS and give it
a value of 1.
Save the MSI file.

http://msdn2.microsoft.com/en-us/library/aa368297.aspx
--
Phil Wilson
[MVP Windows Installer]

"Pat" <Pa*@discussion s.microsoft.com wrote in message
news:91******** *************** ***********@mic rosoft.com...
How can I create a setup and deploment project which does not create
Advertised Shortcuts.

Mar 26 '08 #2
Thanks Phil, But do you know if it is possible to do this in the Visual
Studio Setup and Deployment project?

"Phil Wilson" wrote:
Get hold of Orca from the Windows SDK, install from Orca.msi.
Use it to open your built MSI file, go to the Property table.
Add a new row, property name case-sensitive DISABLEADVTSHOR TCUTS and give it
a value of 1.
Save the MSI file.

http://msdn2.microsoft.com/en-us/library/aa368297.aspx
--
Phil Wilson
[MVP Windows Installer]

"Pat" <Pa*@discussion s.microsoft.com wrote in message
news:91******** *************** ***********@mic rosoft.com...
How can I create a setup and deploment project which does not create
Advertised Shortcuts.


Mar 26 '08 #3
No it's not. This should be in a FAQ somewhere, but VS setup projects simply
do not offer IDE support to all the features of Windows Installer. If you
want IDE support for more than one feature, custom actions in the UI
sequence, your own custom dialogs, support for patches, non-advertised
shortcuts etc etc then go for another tool. That's why InstallShield, Wise,
Wix, Advanced Installer and so on are in business.
--
Phil Wilson
[MVP Windows Installer]

"Pat" <Pa*@discussion s.microsoft.com wrote in message
news:FC******** *************** ***********@mic rosoft.com...
Thanks Phil, But do you know if it is possible to do this in the Visual
Studio Setup and Deployment project?

"Phil Wilson" wrote:
>Get hold of Orca from the Windows SDK, install from Orca.msi.
Use it to open your built MSI file, go to the Property table.
Add a new row, property name case-sensitive DISABLEADVTSHOR TCUTS and give
it
a value of 1.
Save the MSI file.

http://msdn2.microsoft.com/en-us/library/aa368297.aspx
--
Phil Wilson
[MVP Windows Installer]

"Pat" <Pa*@discussion s.microsoft.com wrote in message
news:91******* *************** ************@mi crosoft.com...
How can I create a setup and deploment project which does not create
Advertised Shortcuts.



Mar 27 '08 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1222
by: Blake | last post by:
Hello, Does anyone know if there is any way to add a condition to your setup project so that the user can choose if they want a desktop shortcut or a program menu by selecting a checkbox. I know that you can use conditions on files, but I can't get it to work with shortcuts. I tried to apply the condition to the folders instead of the shortcuts themselves, but the setup program doesn't seem to care. It just ignores if the checkboxes...
1
1832
by: ThunderMusic | last post by:
Hi, I want to know if there is a place to learn about Setup Projects, because I'm trying to make one but can't do the things I want to do, like add a registry key or allow the user to select/unselect optional parts. Can somebody help please or supply a link to a place where I could find the ansers or just learn how to make these projects? Thanks
0
1241
by: TC | last post by:
I know .NET setup projects use "Windows Installer" shortcuts instead of ordinary shortcuts, but I'm having trouble with those, so I'd like to hard-code some ordinary shortcuts in the user's start menu. The problem is, the setup project will let me put every kind of file in the start menu except .lnk files. The one file type I need is the one file type which seems to be rejected. Perhaps there is some trick I don't know about. For the...
1
1680
by: Richard Johansson | last post by:
Hi, I want to create an option for creating shortcuts to my application on the users desktop and Start menu in the setup. In my deployment project i have created the necessary checkboxes, and tried to set Conditions on the folders "User's desktop" and "User's Program Menu", but the conditions doesnt seem to affect shortcuts, only physical files... Have anyone else run into these kinds of problems, or am i just missing something obvious...
5
1280
by: Bob Hollness | last post by:
OK, sorry for the silly question but..... I have been writing apps for a while now in VB.Net but I have always just run them from the IDE. This time though I have written an app that I want to install on many computers. So, I went to the program group looking for "Package & Deployment Wizard" as in VB6 but it isn't there! So, how do I create a setup program?? Thanks
3
4189
by: Michael D. Murphy | last post by:
Hi, I am searching for a way to creat desktop shortcuts when running the setup files that were created within a VB solution using the setup wizard. Thanks, Michael
7
1706
by: Bob | last post by:
I want my aps to the insalled as was the old way under c:\Program files\Myapp or give the user the choice as before of installing the app in another folder location. That again no longer seems to be the default way things are done when you publish an app in Vs2005, Microsoft has again <GGGG> seen in their infinite wisdom that they needed to build a better mousetrap for us. Now they install app somewhere in the mydocuments folder...
6
4069
by: andrewbb | last post by:
I want to deploy a service with a windows app and the setup program must conform to the Vista certification requirements. Can that be done with the standard .net setup project? Assuming cost is an issue, what else is available?
2
1680
by: Dmenace | last post by:
Microsoft blows my mind sometimes, what the hell were they thinking? Oh, wait they weren't, that's right. Anyway, I've got a Setup and Deployment added to my project, and it does everything I want it to, with 1 exception. I have created the infamous fonts folder in order for it to install fonts, but it's only putting shortcuts to them in the fonts folder under the windows directory. Why is this? With only shortcuts to them, I can not use...
0
9568
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9398
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10160
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8831
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7378
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5275
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3924
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3531
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2805
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.