Wix: copy arbitrary file from msi-file directory

39 Views Asked by At

Is it possible to copy a file that does not exist at the msi creation? It would be used in the following situation: the customer has a directory layout like:

|dir
+-program.msi
+-license.bin

The cutomer would run msiexec /i program.msi, and have the program installed to, say, c:\Program Files\Example\Example\ and the license file copied to c:\Program Files\Example\Example\License\. The license file is different per customer.

Is it possible to achieve this without a dll action, using only the built-in wix functionality?

0

There are 0 best solutions below