473,387 Members | 3,787 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

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 5370
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.Unfortunately 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*******@discussions.microsoft.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.
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 #3

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

Similar topics

2
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...
7
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...
9
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...
2
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...
0
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...
4
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,...
1
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"...
5
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...
25
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...
3
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
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,...
0
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...

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.