473,651 Members | 2,716 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How do I add an Uninstall icon off the start menu in .Net?

How do I add an Uninstall icon off the start menu using Visual Studio .Net
Deployment project?

You can add a folder, project output, file or assembly or create a shortcut.
None of these seem to heading in the right direction. I have considered
adding a shortcut to something like "msiexec /x [MSINAME]" or similiar but
to do this I created a shortcut to an uninstall icon (?!) that I previous
added to the project and then attempted to change its target property.
Unfortunately you can then only select a file from within the project and
cannot specify ad-hoc text.

There seems to be nothing in the Help about this.

Thanks in advance.

Regards
Dave A
Nov 22 '05 #1
2 5387
Good question... I must spend some time experimenting
with this... but a couple of points...

1) should we educate the users to accomplish
uninstallation via control panel?

2) having said that, your posting seems to have the
answer in it.... how about getting the shortcut to point
to a .bat file or a .exe file with in effect does the

msiexec /x [MSINAME]

would that work?

Thanks
Nasser

-----Original Message-----
How do I add an Uninstall icon off the start menu using Visual Studio .NetDeployment project?

You can add a folder, project output, file or assembly or create a shortcut.None of these seem to heading in the right direction. I have consideredadding a shortcut to something like "msiexec /x [MSINAME]" or similiar butto do this I created a shortcut to an uninstall icon (?!) that I previousadded to the project and then attempted to change its target property.Unfortunatel y you can then only select a file from within the project andcannot specify ad-hoc text.

There seems to be nothing in the Help about this.

Thanks in advance.

Regards
Dave A
.

Nov 22 '05 #2
I received the answer from the other news group that I cross posted to. I
have included it below for all others who will walk in my footsteps...

----

Hi Dave,

Thanks for posting.

I am thinking about the following:

1. Create a "Uninstall. bat" and include the following line:

msiexec /x {your product code}

(Replace the "your product code" with your product code GUID.)

2. Add the BAT file to your application folder.

3. Add a shortcut that points to the BAT file.

4. Set the "ShowCmd" property of the shortcut to "vsdscMinimized ".

Will it be acceptable? Please feel free to post here.

Regards,

Felix Wang
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

"Nasser" <an*******@disc ussions.microso ft.com> wrote in message
news:03******** *************** *****@phx.gbl.. .
Good question... I must spend some time experimenting
with this... but a couple of points...

1) should we educate the users to accomplish
uninstallation via control panel?

2) having said that, your posting seems to have the
answer in it.... how about getting the shortcut to point
to a .bat file or a .exe file with in effect does the

msiexec /x [MSINAME]

would that work?

Thanks
Nasser

-----Original Message-----
How do I add an Uninstall icon off the start menu using

Visual Studio .Net
Deployment project?

You can add a folder, project output, file or assembly

or create a shortcut.
None of these seem to heading in the right direction.

I have considered
adding a shortcut to something like "msiexec /x

[MSINAME]" or similiar but
to do this I created a shortcut to an uninstall icon

(?!) that I previous
added to the project and then attempted to change its

target property.
Unfortunatel y you can then only select a file from

within the project and
cannot specify ad-hoc text.

There seems to be nothing in the Help about this.

Thanks in advance.

Regards
Dave A
.

Nov 22 '05 #3

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

Similar topics

2
409
by: Dave A | last post by:
How do I add an Uninstall icon off the start menu using Visual Studio .Net Deployment project? You can add a folder, project output, file or assembly or create a shortcut. None of these seem to heading in the right direction. I have considered adding a shortcut to something like "msiexec /x " or similiar but to do this I created a shortcut to an uninstall icon (?!) that I previous added to the project and then attempted to change its...
7
6875
by: Danielb | last post by:
I want my application to run most of the time as just an notify icon visible in the system tray, with some dialogs windows that open if the user selects an option from the context menu on the tray icon. I've had a look at the example on code project that creates an application that runs in the system tray: http://www.codeproject.com/csharp/desktop_mail_checker.asp So I copied how the above article sets up the main form: the form's...
9
6331
by: VJ | last post by:
I am deploying a Package having applications developed using VB.NET and VS.NET 2003. I am using the Packaging feature provided with the VisualStudio. I can use the package to creates shortcuts for all my application executables. Now to Uninstall this package I have to make the user go to Add/Remove programs everytime. The users are requesting that if they can have a uninstall option as part of the application menus... How do I provide...
2
1169
by: Neil Steventon | last post by:
I have packaged an application and it appears in the programs menu - which is great. How do you create an uninstall routine, Id like an Icon like a recycle bin that the user can click that uninstalls my app. Any help would be great thanks. Neil
0
1822
by: kapcreations | last post by:
I have a system tray app which gets the status of a windows service, and displays the appropriate icon for the status of the service in the systray. the problem I am having is the icon disapears under certain conditions, but the exe is still listed in the processes leading me to believe the app is still running. It fires up perfectly on boot, however if the user logs off, and then logs back in (not reboot), or if the system goes to...
4
1242
by: Ray | last post by:
Dear all, Now, I have to go to the control panel to remove the installed deployment manually. Is there any method to generate an uninstall exe for the user to remove the deployment? Thanks a lot, Ray
1
2552
by: mistral | last post by:
How to uninstall windows script encoder (screnc.exe)? There are no entries in Add/Remove programs in Control Panel. However, its a single exe, but installer create program name in windows "Start" menu > programs, as well as write application name in Registry. How to uninstall script encoder safely and correctly, include windows "Start" menu entries? Thanks,
5
6462
by: Screaming Eagles 101 | last post by:
Hi , not much trouble in making a setup project, but I'd like also an icon in All Programs to uninstall the application. I can't find a good explanation on the net so far... -- Filip http://www.ww2airborne.net/
25
4754
by: pacpalm | last post by:
I am running Windows XP Home SP2. On the lower right side of the pop-up start menu there is normally a magnifying glass (icon) next to the word "search" in between links for "help and support" and "run". My "search" icon (and thus my link) in my start menu has disappeared and I have no idea how to restore it. This search icon/link appears, though, at the top of and on the left-hand side of the window that opens when I click "my...
3
4436
by: jctwin9 | last post by:
I've been trying to clean up the installer I created using vb 2005 as best as possible to finalize a project I am working on. I have my installer deploying a .pdf file in the application folder. I want the installer to create a shortcut to that .pdf file in the start menu. I do this by right clicking on the .pdf file that I have included on the setup project in the application folder of the files system editor and making a shortcut. After that I...
0
8352
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
8802
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
8697
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...
0
8579
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7297
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
6158
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
4283
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1909
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1587
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.