在Wixsharp中更改横幅文本的颜色

在Wixsharp中更改横幅文本的颜色,wixsharp,Wixsharp,使用默认WiXUI_Minimal时,是否可以更改横幅中显示的文本的颜色,或者是否必须添加自定义对话框?我成功地解决了这个问题 project.BannerImage=“black_banner.jpg”; project.LocalizationFile=“default.wxs”; project.WixSourceGenerated+=project_WixSourceGenerated; 。。。 然后我将其添加到文件default.wxs中 <?xml version="1.0

使用默认WiXUI_Minimal时,是否可以更改横幅中显示的文本的颜色,或者是否必须添加自定义对话框?

我成功地解决了这个问题

project.BannerImage=“black_banner.jpg”;
project.LocalizationFile=“default.wxs”;
project.WixSourceGenerated+=project_WixSourceGenerated;
。。。

然后我将其添加到文件default.wxs中

<?xml version="1.0" encoding="utf-8"?>
<WixLocalization Culture="en-us" xmlns="http://schemas.microsoft.com/wix/2006/localization">  
  <String Id="InstallDirDlgTitle" Overridable="yes">{\White12}Destination Folder</String>
  <String Id="InstallDirDlgDescription" Overridable="yes">{\White8}Click Next to install to the default folder or click Change to choose another.</String>
  <String Id="LicenseAgreementDlgDescription" Overridable="yes">{\White8}Please read the following license agreement carefully</String>
  <String Id="LicenseAgreementDlgTitle" Overridable="yes">{\White12}End User License Agreement</String>
  <String Id="MaintenanceTypeDlgDescription" Overridable="yes">{\White8}Select the operation you whish to perform.</String>
  <String Id="MaintenanceTypeDlgTitle" Overridable="yes">{\White12}Change, repair, or remove installation</String>
  <String Id="ProgressDlgTitleInstalling" Overridable="yes">{\White12}Installing [ProductName]</String>
  <String Id="VerifyReadyDlgInstallTitle" Overridable="yes">{\White12}Ready to Install [ProductName]</String>
  <String Id="VerifyReadyDlgRepairTitle" Overridable="yes">{\White12}Ready to repair [ProductName]</String>
  <String Id="VerifyReadyDlgRemoveTitle" Overridable="yes">{\White12}Ready to remove [ProductName]</String>
</WixLocalization>

{\White12}目标文件夹
{\White8}单击“下一步”安装到默认文件夹,或单击“更改”选择其他文件夹。
{\White8}请仔细阅读以下许可协议
{\White12}最终用户许可协议
{\White8}选择要执行的操作。
{\White12}更改、修复或删除安装
{\White12}正在安装[ProductName]
{\White12}准备好安装[ProductName]
{\White12}准备好修复[ProductName]
{\White12}准备删除[ProductName]
<?xml version="1.0" encoding="utf-8"?>
<WixLocalization Culture="en-us" xmlns="http://schemas.microsoft.com/wix/2006/localization">  
  <String Id="InstallDirDlgTitle" Overridable="yes">{\White12}Destination Folder</String>
  <String Id="InstallDirDlgDescription" Overridable="yes">{\White8}Click Next to install to the default folder or click Change to choose another.</String>
  <String Id="LicenseAgreementDlgDescription" Overridable="yes">{\White8}Please read the following license agreement carefully</String>
  <String Id="LicenseAgreementDlgTitle" Overridable="yes">{\White12}End User License Agreement</String>
  <String Id="MaintenanceTypeDlgDescription" Overridable="yes">{\White8}Select the operation you whish to perform.</String>
  <String Id="MaintenanceTypeDlgTitle" Overridable="yes">{\White12}Change, repair, or remove installation</String>
  <String Id="ProgressDlgTitleInstalling" Overridable="yes">{\White12}Installing [ProductName]</String>
  <String Id="VerifyReadyDlgInstallTitle" Overridable="yes">{\White12}Ready to Install [ProductName]</String>
  <String Id="VerifyReadyDlgRepairTitle" Overridable="yes">{\White12}Ready to repair [ProductName]</String>
  <String Id="VerifyReadyDlgRemoveTitle" Overridable="yes">{\White12}Ready to remove [ProductName]</String>
</WixLocalization>