Solved

Question about uninstall mechanism of msi

Posted on 2008-10-22
12
493 Views
Last Modified: 2013-11-14
When 2 msi's contain the same shortcut and one shortcut is uninstalled, will the uninstall of one of the 2 packages remove the shortcut or will it detect that the shortcut is part of another msi ?
0
Comment
Question by:itbabe
[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
  • 7
  • 3
  • 2
12 Comments
 
LVL 40

Expert Comment

by:Vadim Rapp
ID: 22775883
If the ID of the component the shortcut belongs to in the MSI is the same in both, then it will be left; otherwise, uninstalled.

For the dll's Windows keeps special counter - "shared dll count" - for this purpose; but only for dll's.

Wise Packaging Studio has special tool exactly for this purpose. Itcollects the database of everything in every installation and thensynchronizes the components. Probably AdminStudio has that as well in their Conflict Solver..
0
 

Author Comment

by:itbabe
ID: 22776083
Does conflict management in wise package studio also check for shortcuts,  I thought it only checked for files ?
0
 
LVL 40

Expert Comment

by:Vadim Rapp
ID: 22776204
let me check...
0
Is Your DevOps Pipeline Leaking?

Is your CI/CD pipeline a hodge-podge of randomly connected tools? You’ve likely got a tool to fix one problem & then a different tool to fix another, resulting in a cluster of tools with overlapping functionality. Learn how to optimize your pipeline with Gartner's recommendations

 
LVL 40

Expert Comment

by:Vadim Rapp
ID: 22776219
question: I understand, the targets of the identical shortcuts are different?
0
 
LVL 2

Expert Comment

by:msiexpert
ID: 22776399
You would need to check the shortcut component guid in each MSI. If they are both unique then uninstalling one MSI will not remove the shortcut for the other.
0
 

Author Comment

by:itbabe
ID: 22776419
So in contrast with the component guid of files where the ID's should be identical in order not to be removed,  in the case of shortcuts,  they should be unique ?
0
 
LVL 40

Accepted Solution

by:
Vadim Rapp earned 500 total points
ID: 22776449
It looks like it's supposed to, but does not. In Conflict Manager, there's setting "shortcuts" under menu setup/conflict settings that supposedly should detect them; but when I tried, it failed to detect the conflict (two packages having the same shortcut on desktop pointing to different files).
0
 
LVL 40

Expert Comment

by:Vadim Rapp
ID: 22776474
Note that usually shortcut is not a separate component; usually it belongs to the component of the target file.

Are you asking for purely theoretical purposes, or there's some specific problem?
0
 

Author Comment

by:itbabe
ID: 22776496
Purely theoretical.

Thanks for the info
0
 
LVL 40

Expert Comment

by:Vadim Rapp
ID: 22776504
I'm sure msiexpert meant the opposite.
0
 
LVL 2

Expert Comment

by:msiexpert
ID: 22778126
LOL!....I can see we are going to have a lot of fun vadimrapp1. I just started yesterday on experts exchange. Look forward to seeing your future postings.
0
 
LVL 40

Expert Comment

by:Vadim Rapp
ID: 22778535
sure, welcome to EE! I'm glad finally won't be alone in these areas.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

One of the most frequently asked questions on EE in the "Windows Installer" zone is how to eliminate self-triggered installation of some product.  The problem occurs when, suddenly, whenever a certain application is launched, or even when a folder i…
Monitor input from a computer is usually nothing special.  In this instance it prevented anyone from using the computer.  This was a preconfiguration that didn't work.
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…

724 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