Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

How to prevent an msi uninstall from removing too much and damaging another program?

Posted on 2008-10-27
1
Medium Priority
?
356 Views
Last Modified: 2013-11-14
First let me say I'm a novice at creating MSI's, however,
I've created an MSI using a software program called "EMCO MSI Package Builder".  I've used it for about a year now deploying software and haven't had a problem until now, when I try to remove the MSI package from a workstation, it seems to 'break' another installed program that is unrelated to the one I am removing.  From what we can tell, it appears that both programs use MDAC and running the uninstall causes MDAC to be removed, which cripples our other program.  I've figured out how to turn on logging during the uninstall; however, it is so huge and so verbose, I am lost in it.
My basic question is whether or not there is a way to run an msi uninstall that doesn't damage another program that may use the same .dll's, or other common files?  Second part of the question, is there a way (generically speaking) to build a msi package so that the uninstall doesn't harm other programs?
0
Comment
Question by:BRIDGEDIVISION
[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
1 Comment
 
LVL 40

Accepted Solution

by:
Vadim Rapp earned 600 total points
ID: 22814746
q1: no, there's no way. This completely depends on the way MSI is made. If author follows the standards, it doesn't happen, but many don't (see below).

q2: MSI technology includes so called ICE validation, and the recommended practice is that every installation gets validated and what's reported is fixed. You can get ORCA and validate in it; the descriptions of the found problems and instructions are detailed and have great educational value. Once you have yours validated and fixed , have a little fun - validate some installation package from someone major, like the same Microsoft, or Adobe, or Nero - your self-respect will go up 1,000%. That's why there are so many MSKB articles "How to uninstall visual studio", "How to uninstall microsoft office" with many-page instructions, and Nero and Adobe create separate utilities to clean up their mess.
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

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

Installations often have prerequisites, such as “Microsoft .Net framework is required for this product”. The usual implementation in MSI installations is system search for a particular registry setting representing the required prerequisite, followe…
Among others, I monitor the Windows Installer zone and Installer zone. I find that many of the questions could be answered much more quickly if a Windows Installer verbose log were submitted with the question.   However, I do not always have t…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…

715 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