I need a vbscript that can do the following.? ? It should check whether ***msi-package 1*** contains any registry keys that are keypath in ***msi-package 2***? and set the components in msi package 1 that contain these registry keys 'on leave installed on uninstall'
(<[login to view URL]>).
The script should contain 2 constants,? 1 constant being the path to the first msi file and one constant being the path to the second msi file.
The script should backup? ***msi-package 1*** before modifying it.
?
| |
I have 2 additional requirements.
1. If the componentguid of the components in ***msi package 1*** containing the registry keys matches the componentguid of the components with the matching keypath in ***msi package 2***,? then the component in msi package 1 should not be set on leave installed on uninstall.? ? Goal is not to break msi package 2 when msI package 1 is uninstalled.
2. You should also check the advertising tables (progid, classid,? typelib)? of ***msi-package 1***? , and when they match a keypath? ***msi package 2,***? ? ? and the component guids of msi package 1 and msi package 2 don't match.? in? it has to set the components containing them? ? (***msi package 1***)? on leave installed on uninstall?
| ? | ? |