2017-01-04 17 views
0

我已經使用刻錄創建了一個軟件包安裝程序,它工作正常,我可以使用exe安裝和取消打開,但它沒有出現在控制面板中「添加或刪除程序「wix刻錄包沒有出現在「添加或刪除程序」中

<?xml version="1.0" encoding="UTF-8"?> 
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" 
    xmlns:bal="http://schemas.microsoft.com/wix/BalExtension"> 

    <Bundle Version="14.0" UpgradeCode="7adb5f07-fb5f-4348-8f28-c821bebdc15e"> 

    <BootstrapperApplicationRef Id="WixStandardBootstrapperApplication.RtfLicense"> 
     <bal:WixStandardBootstrapperApplication 
      LogoFile="..\Installers\Graphics\banner.png" 
      LicenseFile="..\Installers\Text\licence.rtf" 
      ShowVersion="yes" 
      ThemeFile="ClassicTheme.xml" 
      LocalizationFile="ClassicTheme.wxl" 
      /> 

    </BootstrapperApplicationRef> 
    <Chain> 

     <MsiPackage DisplayName="Install My Stuff" Permanent="no" Name="My Stuff" SourceFile=".\Kits\XL\Stuff.msi"></MsiPackage> 
     <ExePackage DisplayName="Register Components" Permanent="no" Name="my custom stuff" SourceFile=".\Bin\RegAddIns.exe"></ExePackage> 
    </Chain> 

    </Bundle> 
</Wix> 

回答

2

您的包沒有名稱是我的猜測。您在<Bundle>標記中缺少了幾個可能的屬性。通常我會在包定義中包含名稱,版本,製造商,IconSourceFile和UpgradeCode。這些全部用於添加/刪除程序條目。

相關問題