我在我的MSI安装程序中嵌入了一个.exe文件,我希望以某种方式直接从安装程序中调用'InstallFiles'操作。WIX安装程序 - 可能在InstallFiles之前调用自定义操作.exe?
它的定义如下:
<CustomAction Id="LaunchInstallManager_TryUninstall" Return="ignore" Directory="INSTALLFOLDER" Execute="deferred" Impersonate="no" ExeCommand=""[#fil713F8F6A7BC9B98857D779B9B29873E1]" /someargument"></CustomAction>
<Custom Action="LaunchInstallManager_TryUninstall" Before="InstallFiles">NOT Installed</Custom>
但在观看日志,它看起来像它的(要试图)从安装目的地调用。
这样的事情可能吗?