Same components in Diff MSI are removing shortcuts
Hi,
I have two MSI's which have some common files and advertised shortcuts.
When one msi is installed and uninstalled it takes out the shortcut of other msi too.
Common files and shortcuts are in the same components in the both MSI's and component GUID's are synced with each other.....
If any one has info regarding this pls share it.....
Thanks
I have two MSI's which have some common files and advertised shortcuts.
When one msi is installed and uninstalled it takes out the shortcut of other msi too.
Common files and shortcuts are in the same components in the both MSI's and component GUID's are synced with each other.....
If any one has info regarding this pls share it.....
Thanks
0 Comments
[ + ] Show comments
Answers (9)
Please log in to answer
Posted by:
slb
19 years ago
Posted by:
Lillude
19 years ago
Posted by:
ab2cv
19 years ago
Are the shortcuts associated with the same components that install the target files? If not then this could be the reason they're being uninstalled - if so, then I'm not sure as it sounds like you're doing things correctly to me.
Alan
edit - to expand on the above point a bit further - are the shortcuts advertised or not? Don't know if this would make a difference or not. I might have a play around with this and see what results I get - edit
Alan
edit - to expand on the above point a bit further - are the shortcuts advertised or not? Don't know if this would make a difference or not. I might have a play around with this and see what results I get - edit
Posted by:
ab2cv
19 years ago
Done some testing and been able to confirm that if you use advertised shortcuts then the shortcut will be uninstalled, whereas if you use non-advertised shortcuts (shortcut being managed by it's own component) then the shortcuts are left behind.
Not a great solution, since most people will want to take advantage of the advertised entry point that the advertised shortcut provides.
Alan
Not a great solution, since most people will want to take advantage of the advertised entry point that the advertised shortcut provides.
Alan
Posted by:
Ilikebananas
19 years ago
Posted by:
ab2cv
19 years ago
I hear what you're saying Mr bananas - moving the RemoveExistingProducts action in this way allows for 'loose' component management and would certainly resolve the issue for a major upgrade.
However, I think in this case, it is two separate packages that happen to have the same shortcut in them (unless I've misunderstood the situation), so both packages will be installed on the machine at the same time - but if one is removed for whatever reason then it's taking the overlapping shortcut out too.
Alan
However, I think in this case, it is two separate packages that happen to have the same shortcut in them (unless I've misunderstood the situation), so both packages will be installed on the machine at the same time - but if one is removed for whatever reason then it's taking the overlapping shortcut out too.
Alan
Posted by:
Ilikebananas
19 years ago
Hi Alan,
I think you are right, I have been reading too quickly. I do think the situation of having shared shortcuts is uncommon (that probably put me on the wrong foot).
Perhaps it is possible to create a seperate MSI for the common components? (and take at least the shortcuts out of the other ones)
Ilikebananas
I think you are right, I have been reading too quickly. I do think the situation of having shared shortcuts is uncommon (that probably put me on the wrong foot).
Perhaps it is possible to create a seperate MSI for the common components? (and take at least the shortcuts out of the other ones)
Ilikebananas
Posted by:
ab2cv
19 years ago
Posted by:
Ilikebananas
19 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.