[wix-users] Avoid removing files (of a shared msm) by uninstalling msi
Mike Henseler
m.henseler at simfront.com
Wed Dec 1 07:15:31 PST 2021
https://stackoverflow.com/questions/8034798/wix-installer-using-xslt-with-heat-exe-to-update-attributes
-----Original Message-----
From: wix-users <wix-users-bounces at lists.wixtoolset.org> On Behalf Of Mike Henseler via wix-users
Sent: December 1, 2021 10:02 AM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Cc: Mike Henseler <m.henseler at simfront.com>
Subject: Re: [wix-users] Avoid removing files (of a shared msm) by uninstalling msi
You will probably have to create an xml transform, to update the xml created by the heat tool.
I don't have time right now to explain or try your scenario, but wanted to make the suggestion.
-----Original Message-----
From: wix-users <wix-users-bounces at lists.wixtoolset.org> On Behalf Of Rob Mensching via wix-users
Sent: December 1, 2021 9:38 AM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Cc: Rob Mensching <rob at firegiant.com>
Subject: Re: [wix-users] Avoid removing files (of a shared msm) by uninstalling msi
Make sure your Component/@Guid is stable. The Windows Installer reference counts Components by their Guid: https://robmensching.com/blog/posts/2003/10/18/component-rules-101/
-----Original Message-----
From: wix-users <wix-users-bounces at lists.wixtoolset.org> On Behalf Of ;-) via wix-users
Sent: Wednesday, December 1, 2021 3:52 AM
To: wix-users at lists.wixtoolset.org
Cc: ziegolf at gmail.com
Subject: [wix-users] Avoid removing files (of a shared msm) by uninstalling msi
Hello Wix-users,
I will try my first post in this mailing list.
I am working with Wix3.11, Visual Studio 2019 and the Wixproj-Templates of VS2019.
I created a merge module with harvesting (!) its files.
I created a msi to install the merge module. Everything works fine.
I want to use the merge module with different msi's.
Now: the files of the merge module will be uninstalled when uninstalling the first msi (containing this msm)
My question:
In other case I work with Component at SharedDllRefCount="yes".
It is working fine with single files.
But here I am harvesting the source files.
Is it possible to set the value SharedDllRefCount="yes"
during harvesting to each component?
If yes (=possible),
how is the notation of coding it in Wixproj-Templates? (snippet)
What would be a practice to avoid uninstall the files in my use case?
until I uninstall the last msi (containing this msm).
I is not possible to put the files
of the msm into an own msi (because of the development history...)
Any idea?
Thanks in advance
Have a nice day
OZ
BTW - how does the search in the list's archive work?
I get diplayed the number of hits of a keyword in my browser, but no links are shown. How to get the results?
Avoid removing files (of a shared msm) by uninstalling msi
____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/
____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/
***** This email was sent outside of your organization *****
____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/
***** This email was sent outside of your organization *****
More information about the wix-users
mailing list