install - MSI/WiX - Assigning Component GUID's during Multiple Instance Transforms -


using wix 3.5, have msi instance transforms allowing me install software on same machine different product names. this, have "hard-coded" list of product id's , names in .wxs file defined conditionally. however, have single feature-componentref definition includes both file , non-file resources.

installation appears work fine, uninstalling instances demonstrates behaviour mentioned in these 2 sources:

http://msdn.microsoft.com/en-us/library/aa367797(v=vs.85).aspx

and

http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/multiple-instance-transforms-walkthrough-proposed-simple-addition-to-wix-to-make-them-easier-td708828.html

specifically, none of non-file resources (in case, registry entries) uninstalled save last instance of application. (i.e., if uninstall in order: instance1, instance2, , instance3 - instance3's non-file resources removed.

i presuming related not having unique guid's nonfile components (whereas isn't issue file components)

so, wondering whether valid approach define single .wxs file 1 product id, name , 1 set of features, have custom bootstrapper generate new guid's product , non-file components inserted msi database @ runtime? i.e., when comes time uninstall or update, query registry installed instances , retrieve guids then.

this permit instances created @ runtime rather hardcoded in .wxs in advance, , uninstalled cleanly.

does make sense? burn make better? :)

as of version v3.6.1511.0, there "multiinstance" attribute components. allows guid generated on fly each instance per josh rowes suggestion in post wix mailing list (see link in op). have tested , works correctly cause registry data removed when current instance uninstalled, , not when last instance uninstalled.


Comments

Popular posts from this blog

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

apache - Add omitted ? to URLs -

php - How can I stop spam on my custom forum/blog? -