Solved

Creating Uninstaller for Windows Installer Deployment?

Posted on 2003-11-11
6
295 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

 
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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Need help with another query 10 54
Trigger C# code inside the SQL Server 6 57
C# LINQ 5 43
C# LINQ query question 11 32
Introduction This article series is supposed to shed some light on the use of IDisposable and objects that inherit from it. In essence, a more apt title for this article would be: using (IDisposable) {}. I’m just not sure how many people would ge…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

739 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