Solved

Creating Uninstaller for Windows Installer Deployment?

Posted on 2003-11-11
6
294 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
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

Article by: Ivo
C# And Nullable Types Since 2.0 C# has Nullable(T) Generic Structure. The idea behind is to allow value type objects to have null values just like reference types have. This concerns scenarios where not all data sources have values (like a databa…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

828 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