[英]is there any possibility to run the exe with wix during installation?
我對wix很陌生。 在安裝過程中是否有可能在wix的幫助下運行exe文件。
因此,對於我已經完成的工作,我現在不知道要安裝exe文件。 請幫忙...
<MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed." />
<MediaTemplate />
<Feature Id="ProductFeature" Title="SetupProject1" Level="1">
<ComponentGroupRef Id="ProductComponents" />
</Feature>
</Product>
<Fragment>
<Directory Id="TARGETDIR" Name="SourceDir">
<Directory Id="ProgramFilesFolder">
<Directory Id="INSTALLFOLDER" Name="SetupProject1" />
</Directory>
</Directory>
</Fragment>
<Fragment>
<ComponentGroup Id="ProductComponents" Directory="ProgramFilesFolder">
<Component Id="ProductComponent">
<File Id="PLGSMPL" Source="$(var.PLGSMPL.TargetPath)"/>
<RemoveFile Id="plug_in" Name="PLGSMPL.dll" On="uninstall" />
</Component>
</ComponentGroup>
</Fragment>
在安裝過程中運行EXE的最簡單方法是使用“ 安靜執行自定義操作-WiX工具集” 。
但是,我警告您這樣做,因為EXE所做的任何操作都是MSI未知的。 無法對其進行維修監視,無法回滾,無法使用ORCA對其進行觀察或對其進行轉換,並且可能會給安裝程序帶來脆弱性。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.