wix示例

<?xml version='1.0' encoding='windows-1252'?>
<Wix xmlns='http://schemas.microsoft.com/wix/2006/wi' xmlns:iis='http://schemas.microsoft.com/wix/IIsExtension'>

<Product Name='test of wix' Id='FA55B128-7312-4899-9300-BFE2B8299DCF'
    UpgradeCode='44ADC6FF-5F9E-418d-A035-D0F4DD7B6001'
    Language='1033' Codepage='1252' Version='1.0.0.0' Manufacturer='honty'>

<Package Id='*' Keywords='Installer' Description="test of wix"
     Comments='no comment' Manufacturer='honty'
     InstallerVersion='200' Languages='1033' Compressed='yes' SummaryCodepage='1252' InstallScope="perMachine"/>

<UI>
      <UIRef Id="WixUI_InstallDir" />
      <UIRef Id="WixUI_ErrorProgressText" />
    </UI>

<Property Id="WIXUI_INSTALLDIR" Value="INSTALLDIR" />

<Media Id='1' Cabinet='gplpv.cab' EmbedCab='yes' />


<Directory Id="TARGETDIR" Name="SourceDir">
<Directory Id="ProgramFilesFolder">
<Directory Id="INSTALLDIR" Name="dir">
<!--<Component Id="test1.bat" Guid="31B5277C-8C62-4abb-A9C3-A8A6CDA7EDBC">
<File Id="test1.bat" Source=".\test1.bat"/>
</Component>-->
</Directory>
</Directory>
</Directory>

<Component Id="test1.bat" Guid="31B5277C-8C62-4abb-A9C3-A8A6CDA7EDBC" Directory="INSTALLDIR">
<File Id="test1.bat" Source=".\test1.bat"/>
</Component>

<Feature Id="MainApplication" Title="Main Application" Level="1">
<ComponentRef Id="test1.bat" />
</Feature>

<CustomAction Id='ExeBat' FileKey='test1.bat' ExeCommand='' Execute='deferred' Return='ignore' Impersonate='no'/>

<InstallExecuteSequence>
<Custom Action='ExeBat' After='InstallFiles'>NOT Installed</Custom>
</InstallExecuteSequence>

</Product>
</Wix>


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值