发布博文
随想
读书
音乐
其他
我想爱,想吃,还想在一瞬间变成天上半明半暗的云。
我想爱,想吃,还想在一瞬间变成天上半明半暗的云。
我想爱,想吃,还想在一瞬间变成天上半明半暗的云。
我想爱,想吃,还想在一瞬间变成天上半明半暗的云。

WiX Toolset - How to use custom license file and logo

429
高光翔
2024-09-24 18:01

WiX Toolset has default licence file and logo icon. Generally speaking, we should replace it to our own licence and logo icon.

In WiX setup project

<!--License aggrement-->
<WixVariable Id="WixUILicenseRtf" Overridable="yes" 
             Value="Resources\RiskSpectrum License Agreement.rtf" />

<!--Top Banner UI Logo-->
<WixVariable Id="WixUIBannerBmp" Overridable="yes" Value="Resources\TopBanner.png" />

<!--Verticle Banner UI Logo-->
<WixVariable Id="WixUIDialogBmp" Overridable="yes" 
             Value="Resources\BackgroundLogo.png" />

In WiX bootstrapper project

License as license file.

<BootstrapperApplicationRef Id="WixStandardBootstrapperApplication.RtfLicense">
    <bal:WixStandardBootstrapperApplication 
       LogoFile="$(var.SDPWebSetup.ProjectDir)\Resources\logo.png"
       LicenseFile="path\to\license.rtf"
       SuppressOptionsUI="yes"/>
</BootstrapperApplicationRef>

License as hyper link.

<BootstrapperApplicationRef Id="WixStandardBootstrapperApplication.HyperlinkLicense">
    <bal:WixStandardBootstrapperApplication 
       LogoFile="$(var.SDPWebSetup.ProjectDir)\Resources\logo.png"
       LicenseUrl=""
       SuppressOptionsUI="yes"/>
</BootstrapperApplicationRef>

Tip: At the bottom in page UI Wizardry , can see the different Logo icon variable.

Working with WiX Standard Bootstrapper Application 


Insert title here Insert title here
打  赏