[wix-users] Avoid removing files (of a shared msm) by uninstalling msi

;-) ziegolf at gmail.com
Wed Dec 1 03:51:44 PST 2021


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


More information about the wix-users mailing list