Solved

Creating Uninstaller for Windows Installer Deployment?

Posted on 2003-11-11
6
296 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
MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

 
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

[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

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…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

632 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