473,378 Members | 1,110 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,378 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 2023
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: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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...

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.