473,811 Members | 3,300 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

uninstall


When creating a deployment project in Microsoft Visual Studio 2005,
there seems to be no option to create an uninstall link. How can this
be achieved? To be specific, I want an 'Uninstall' shortcut to be
created somewhere in the Start Menu. Also, when user clicks the msi
file to uninstall, he should be able to select uninstall option.

I know there is a command line option using msiexec, but how do I make
this call in my deployment project? Is it legal to distribute msiexec
with my bundled application.
Thanks in advance

Jun 27 '08 #1
2 1968
I believe the current "best practice" from Microsoft is that your Users
should go through the Add/Remove Programs applet to uninstall.

Therefore, if you want an uninstaller, you would have to use a 3rd party
software to create your installers (which would include the option for
uninstalling).

"Sirius" wrote:
>
When creating a deployment project in Microsoft Visual Studio 2005,
there seems to be no option to create an uninstall link. How can this
be achieved? To be specific, I want an 'Uninstall' shortcut to be
created somewhere in the Start Menu. Also, when user clicks the msi
file to uninstall, he should be able to select uninstall option.

I know there is a command line option using msiexec, but how do I make
this call in my deployment project? Is it legal to distribute msiexec
with my bundled application.
Thanks in advance

Jun 27 '08 #2
This link, http://support.microsoft.com/kb/314481, tells how to find the
uninstall string command for any installed product. To the best of my
knowledge the string has always included msiexec /I and the GUID to the
product that my installer uses. I have then included a batch file that
simply has that command as part of the setup project.

"Sirius" wrote:
>
When creating a deployment project in Microsoft Visual Studio 2005,
there seems to be no option to create an uninstall link. How can this
be achieved? To be specific, I want an 'Uninstall' shortcut to be
created somewhere in the Start Menu. Also, when user clicks the msi
file to uninstall, he should be able to select uninstall option.

I know there is a command line option using msiexec, but how do I make
this call in my deployment project? Is it legal to distribute msiexec
with my bundled application.
Thanks in advance

Jun 27 '08 #3

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

Similar topics

6
24250
by: Matt Frame | last post by:
I wrote a small assembly to test the process of placing it into the Global Assembly Cache but now I cannot remove it. When I hi-light and click delete I get the following: Assembly 'Assembly Name' could not be uninstalled because it is required by other applications. I have signed on as the local administrator, I booted into safe mode and I keep getting this message. Can you only put assemblies into the GAC? I would assume if you...
5
4260
by: Leslie Lim | last post by:
I had link my 4 of workstations to server with MySql. 1 pc of my pc can run a software which can update MsSql perfectly but not others(3 failed). I tried to add System Dsn data source for Control Panel - Odbc data source 32. The pc which working fine with the software function but 3 of the rest not. My pcs running xp and win98 ! Regards. Thanks.
2
3029
by: Dave A | last post by:
I have an application that runs in the system tray (taskbar notification area) and it runs at startup. Occasionally I need to release a new version. I have created a deployment project in .Net. With the MSI it detects whether a current version is installed and requests that the user uninstalls it prior to installing the new version. Also, MSI detects a running instance of the application during the uninstall and requests that it be closed...
0
1818
by: Fan Ruo Xin | last post by:
I installed Stinger in my PC (w2k). I need to do a quick compare between DB2 OLAP server and DB2 Cube Views. And I only found DB2 Cube Views version8.1 trial code from IBM website. I didn't want to spend a lot of time on this. So I installed the Cube Views 8.1, without uninstall ESE V8.2 code first last Friday. It looks like everything was OK. But I failed to start DB2 Information Center and DB2 CC today. I've seen process - javaw used...
5
20396
by: Adam Clauss | last post by:
I am needing to automate some installation tasks. I first need to determine if there is already a version of a program installed. The program appears in the Add/Remove Programs in control panel, and I know this is all stored in the registry. But short of searching through the entire registry, I cannot figure out how to locate the program. I see that in the registry (for .msi) installs, stores something like:...
9
6361
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
1695
by: WWengert | last post by:
I am developing a Windows application using VS2005 Pro (VB). The solution includes a setup project. I sent the setup files to a tester and he installed and used the program successfully. I then sent him a new install package with some updates but after he did the uninstall via Add/Remove Programs and then runs the new install package it complains that the program is already installed? How can I completely uninstall the previous version. ...
0
2420
by: Nattydreadlock | last post by:
Hello, I'm having some problems installing Visual Studio 2005. I'll briefly explain what's the history of the problem here. First I installed VS 2005 beta 2. I uninstalled it later via the Windows Uninstall Tool you can download. Then I installed Visual Studio 2005 Team Edition ENU. This was a trial version for 180 days.
2
2790
by: =?Utf-8?B?ZnJlZGR5?= | last post by:
I would like to uninstall app form both local and remote computers without the user knowing what is going on. I have admin right to all the computers so this is not a problem. Can this be done? Thanks Freddy
1
8502
by: Luke | last post by:
Hey all, i'm currently working on a project for our IT group. what this program does is lists all the installed programs on the remote machine for the admin. what i'm trying to add is functionality for the admin to select a program from the list and click an uninstall button on the program to uninstall the program remotely. We are rebuilding this program
0
9734
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
9607
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
10395
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
10137
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
9211
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...
0
5561
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
5700
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4346
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
3874
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.