473,854 Members | 1,436 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 2420
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
1227
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
1835
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
1248
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
1685
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
1289
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
4198
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
1713
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
4072
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
1684
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
9751
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
10682
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10758
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9513
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
7915
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
5743
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...
0
5942
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4562
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
4159
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.