WiX Action Sequence

前端 未结 2 931
遥遥无期
遥遥无期 2021-02-05 09:55

I was looking for list of actions and their sequence when running a WiX setup. Somehow the official website doesn\'t seem to provide any information.

The basic problem i

2条回答
  •  [愿得一人]
    2021-02-05 10:46

    The short answer - you should make you custom action deferred and schedule after InstallFiles (if it relies on installed file, which I think it does).

    The long answer - you should get acquainted with in-script execution term. Read more about it on MSDN. When you see the InstallFiles the first time in the log file, it's when immediate actions run and deferred actions are written and scheduled to the installation script. The second time is when it actually executes (and installs files). If you make your action deferred, you'll see the same behavior for it in the log file.

    This might sound not very clear, but it can't until you read more about the way it is designed to work.

提交回复
热议问题