更新时间:2022-06-02 00:50:59
根据针对您链接的问题的答案,您应该将其安排在InstallFiles之后并进行
According to this answer to the question you linked, you should schedule it after InstallFiles and make it deferred.
在安装过程中启用详细日志记录,您将能够看到何时将文件复制到硬盘驱动器以及何时调用自定义操作。
Enable verbose logging during your installation, and you'll be able to see when files are copied to the hard drive and when your custom action is called.
在InstallFinalized之后,您的安装已经完成。
After InstallFinalized, your installation is already complete.