Skip to content
Discussion options

You must be logged in to vote

The custom action must have Execute="deferred" and scheduled after InstallInitialize and before InstallFinalize.
Using util XmlFile or my extension (see below) also makes sure that the file is properly rolled back on errors

To use my WiX extension https://www.nuget.org/packages/PanelSwWixExtension4:

      <Binary SourceFile="$(sys.SOURCEFILEDIR)XSLTFile1.xslt" Id="XslTransform" />

      <Component>
        <File Source="$(sys.SOURCEFILEPATH)">
          <PanelSW:XslTransform BinaryKey="XslTransform">
            <PanelSW:Replace Text="\[\[]FILE_NAME\[\]]" Replacement="[FILE_NAME]" />
          </PanelSW:XslTransform>
        </File>
      </Component>

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@marrale
Comment options

Answer selected by marrale
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants