Solved

Creating Uninstaller for Windows Installer Deployment?

Posted on 2003-11-11
6
290 Views
Last Modified: 2010-04-16
Is there an easy way to create an installer based on an a deployment project I am making for my application?  If not, what are my best options?  I want to have a icon in the program folder in startup that makes it very easy for the user to uninstall the software.
0
Comment
Question by:jjacksn
  • 3
  • 3
6 Comments
 
LVL 2

Accepted Solution

by:
sedmans earned 250 total points
ID: 9730859
Add a shortcut that runs

msiexec /x Example.msi

where Example.msi is the installation package.
0
 
LVL 5

Author Comment

by:jjacksn
ID: 9735159
Actually, I'm having problems adding that to the installer package, how can I do that?
0
 
LVL 2

Expert Comment

by:sedmans
ID: 9738391
If you got into the file system editor in the setup project you should see a folder called User's Programs Menu.

You can add folders and shortcuts here that will be placed in the correct place during setup.
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 5

Author Comment

by:jjacksn
ID: 9738588
Right, except that I run into two problems

1.  I can't seem find the .msi file itself to target with a link.
2.  The user may delete the installer.

Can I add a shortcut and specify the exact arguments?
0
 
LVL 2

Expert Comment

by:sedmans
ID: 9738670
As control panel manages to remove the program even when the installer class is deleted there has to be a way to do this.

I have not got anytime right at this second but I will try to find it later on today.

Steve
0
 
LVL 5

Author Comment

by:jjacksn
ID: 9738692
Steve,

I believe the control panel uninstaller is not quite what we are talking about here.  I think that copies the data from the .msi and stores it somewhere.  I would like to do what you are talking about, that way it appears there is an unistall.  

I don't even mind this solution:

copy the output of the installer as part of the installation.
create the link you talked about.  

But even this seems very hard to do.  
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…
Concerto provides fully managed cloud services and the expertise to provide an easy and reliable route to the cloud. Our best-in-class solutions help you address the toughest IT challenges, find new efficiencies and deliver the best application expe…

947 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now