0

How can I get an actual path reference to the installation (.msi) file currently being executed?

I want to copy this file to a new location on disk. I understand that I must use CopyFile for this:

<Component Id="InstallationFileCopyId">
    <CopyFile Id="InstallationFileCopyId" FileId="{installation file}" DestinationDirectory="NewLocationDirectory" />
</Component>

I am using WiX Toolset 3.9 in Visual Studio 2013.

Dave New
  • 38,496
  • 59
  • 215
  • 394

1 Answers1

1

Wix has an OriginalDatabase property which shows the exact location of the msi being executed

tollgen
  • 209
  • 1
  • 4
  • 15