• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 511
  • Last Modified:

Question about uninstall mechanism of msi

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
itbabe
Asked:
itbabe
  • 7
  • 3
  • 2
1 Solution
 
Vadim RappCommented:
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
 
itbabeAuthor Commented:
Does conflict management in wise package studio also check for shortcuts,  I thought it only checked for files ?
0
 
Vadim RappCommented:
let me check...
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
Vadim RappCommented:
question: I understand, the targets of the identical shortcuts are different?
0
 
msiexpertCommented:
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
 
itbabeAuthor Commented:
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
 
Vadim RappCommented:
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
 
Vadim RappCommented:
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
 
itbabeAuthor Commented:
Purely theoretical.

Thanks for the info
0
 
Vadim RappCommented:
I'm sure msiexpert meant the opposite.
0
 
msiexpertCommented:
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
 
Vadim RappCommented:
sure, welcome to EE! I'm glad finally won't be alone in these areas.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

  • 7
  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now