Gil*_*lad 9 windows-installer wix wix3.5 wix3.6 wix3.7
根据这个
http://wix.tramontana.co.hu/tutorial/user-interface/ui-wizardry
我创建了以下代码
<?xml version="1.0" encoding="utf-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
<Product Id="*" Name="Installer" Language="1033" Version="0.0.1.4" Manufacturer="my" UpgradeCode="*">
<Package InstallerVersion="200" Compressed="yes" InstallScope="perMachine" />
<MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed." />
<MediaTemplate EmbedCab="yes" />
<!--icon for Add/Remove Programs-->
<Icon Id="WINDOWS.ico" SourceFile="..\WINDOWS.ico" />
<Property Id="ARPPRODUCTICON" Value="WINDOWS.ico" />
<Feature Id="ProductFeature" Title="Installer" Level="1" Description="The complete installation" Display="expand" ConfigurableDirectory="INSTALLFOLDER">
<ComponentRef Id="ProgramMenuDir" />
<ComponentGroupRef Id="ExportReleaseComponentGroup" />
</Feature>
<!--Internal tools-->
<Feature Id="Internal_Calibration_tools" Title="Internal Calibration tools" Level="1000" Description="Internal tools">
<ComponentGroupRef Id="group_Internal_Calibration_tools" />
</Feature>
<UIRef Id="WixUI_Mondo"></UIRef>
<UIRef Id="WixUI_ErrorProgressText" />
<WixVariable Id="WixUIExclamationIco" Value="..\Import\WINDOWS_32px.ico" />
<WixVariable Id="WixUIInfoIco" Value="..\Import\WINDOWS_32px.ico" />
<WixVariable Id="WixUINewIco" Value="..\Import\WINDOWS_16px.ico" />
<WixVariable Id="WixUIUpIco" Value="..\Import\WINDOWS_16px.ico" />
</Product>
<Fragment>
<Directory Id="TARGETDIR" Name="SourceDir">
<Directory Id="ProgramFiles64Folder">
Run Code Online (Sandbox Code Playgroud)
但是我仍然看不到图标的变化.

在bootstrap中一切正常,所有图标都已更改.
Leo*_*eoN 12
你应该添加这个.应添加整个顶部横幅图像.
<WixVariable Id="WixUIBannerBmp" Value="..\images\banner.bmp" />
Run Code Online (Sandbox Code Playgroud)
确保其大小正确,并且必须是位图图像.
参考:http://wixtoolset.org/documentation/manual/v3/wixui/wixui_customizations.html
如果要更改顶部横幅的图像,则需要创建493×58位图,该位图将用作对话标题和文本的背景图层.
所以在Product元素中添加以下行:
<WixVariable Id="WixUIBannerBmp" Value="$(var.ImagesDir)\[YOUR BITMAP HERE].bmp" />
Run Code Online (Sandbox Code Playgroud)
你会发现你需要改变默认的UI维克斯其他WixVariables 这里
| 归档时间: |
|
| 查看次数: |
10729 次 |
| 最近记录: |