[wix-users] What is the recommended way to handle installing same files to multiple locations

Rob Mensching rob at firegiant.com
Tue Oct 13 08:41:12 PDT 2020


Or simply put the files in different Components and let smart cabbing handle the duplication.

---
Short replies here. Complete answers here: https://www.firegiant.com/services/

-----Original Message-----
From: wix-users <wix-users-bounces at lists.wixtoolset.org> On Behalf Of Nir Bar via wix-users
Sent: Tuesday, October 13, 2020 6:55 AM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Cc: Nir Bar <nir.bar at panel-sw.com>
Subject: Re: [wix-users] What is the recommended way to handle installing same files to multiple locations

Assuming there's a file that unconditionally gets installed, you can add components with the proper target folder and condition and add CopyFile elements to copy the unconditioned file around. See https://wixtoolset.org/documentation/manual/v3/xsd/wix/copyfile.html


--

Nir Bar

WiX Expert

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/



More information about the wix-users mailing list