I am writing a WIX installer and I have the following requirement:
During installation, I need to transfer the absolute path to the file (allow call A) included in my installer to a COM component that already exists on the hard drive and is part of another program. I already wrote the corresponding user action, which expects the path to file A. I do not want to include A as a file installed in the Program Files folder and deleted during the uninstall process. Instead, I would like to put A only temporarily on the hard drive, invoke my custom action, which forces the COM component to use the contents of A, and then remove A from the disk. Is there an easy way to achieve this?
I tried to use a binary table and store A there, however I don't know how to reference A using the absolute path. I know I can put A outside the MSI file, but I would like each file installer to need one MSI.
Any help would be appreciated.
binary wix custom-action temporary-files
madbadger
source share