473,396 Members | 2,085 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,396 software developers and data experts.

including an uninstall capacity

Hi

I have noticed that my apps don't have an uninstall capacity in the users
programs shortcuts. While users can remove the program in the control
panel, add remove programs, I would like to have an uninstall as an option
in the program menu.

I am using VS2005 and using the setup deployment project type.

Thanks

Doug
Jul 2 '07 #1
2 2025
Jerry,

Since your installer should create an MSI package, you should be able to
write a small utility which will call MSIEXEC to uninstall your program.
You will want to execute the following on the command line from your utility
(you can spawn this off in a new process from your uninstall program):

msiexec/x {Package | ProductCode}

You can use the package or product code to specify your product.

--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Jerry" <je***********@gmail.comwrote in message
news:46**********************@news.optusnet.com.au ...
Hi

I have noticed that my apps don't have an uninstall capacity in the users
programs shortcuts. While users can remove the program in the control
panel, add remove programs, I would like to have an uninstall as an option
in the program menu.

I am using VS2005 and using the setup deployment project type.

Thanks

Doug

Jul 2 '07 #2
Hi Nicholas

Thanks for your advice.

Can you point me to an example of such a utility?

Thanks

Doug

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.comwrote in
message news:eM**************@TK2MSFTNGP06.phx.gbl...
Jerry,

Since your installer should create an MSI package, you should be able
to write a small utility which will call MSIEXEC to uninstall your
program. You will want to execute the following on the command line from
your utility (you can spawn this off in a new process from your uninstall
program):

msiexec/x {Package | ProductCode}

You can use the package or product code to specify your product.

--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Jerry" <je***********@gmail.comwrote in message
news:46**********************@news.optusnet.com.au ...
>Hi

I have noticed that my apps don't have an uninstall capacity in the users
programs shortcuts. While users can remove the program in the control
panel, add remove programs, I would like to have an uninstall as an
option in the program menu.

I am using VS2005 and using the setup deployment project type.

Thanks

Doug


Jul 4 '07 #3

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

Similar topics

9
by: Lasse Skyum | last post by:
For my renderer at each frame I'm filling a vector with CVisual* elements, sorting it, rendering the objects and then clearing the vector again. I suspect there will be an overhead if the vector...
4
by: Noo | last post by:
Hi. I've got some code that uses vectors fairly extensively and it needs to be efficient. Therefore I'm using reserve() quite a bit. However what other functions (are supposed to) change the...
8
by: Joseph Turian | last post by:
Fellow hackers, Is it possible to shrink the capacity of a vector? i.e. Without new'ing and delete'ing a vector, can one return its memory to the heap? Here's what I get under the g++...
2
by: Fred Zwarts | last post by:
There are a few things I do not understand about the vector class in de standard C++ library. The description of the resize member function says: void resize(size_type sz);Alters the size of...
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...
3
by: leeps_my | last post by:
I'm thinking of using "resize-to-size" to do the trimming: aVector.resize( aVector.size( ) ); I'm wondering why Scott Meyers was recommending "swap trick" instead, since the trick involves...
0
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...
1
by: Jerry | last post by:
Hi Nicholas Thanks for your advice. Can you point me to an example of such a utility? Thanks Doug
7
by: Luna Moon | last post by:
#include "stdafx.h" #include <iostream> #include <string> using namespace std; int main() { string cc(31, 'c'); string bb=cc.assign(3, 'dd');
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: 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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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
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...
0
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...
0
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,...

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.