我有Setup.Bootstrapper项目输出Setup.exe和安装项目以提供setup.msi输出.但问题是为什么我的setup.exe没有显示ARPCOMMENTS,也没有在运行安装程序时显示Banner.bmp文件.另一方面,Setup.msi工作正常.
我用于Setup.Bootstrapper(Bundle.wxs)的Bundle代码是:
<?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 Name="ABC" Version="3.0.0.0" Manufacturer="XYZ, Inc." UpgradeCode="1EB9EC76-9E5F-4471-B522-314A62518A80">
<BootstrapperApplicationRef Id="WixStandardBootstrapperApplication.RtfLicense">
<bal:WixStandardBootstrapperApplication LicenseFile="License.rtf" SuppressOptionsUI="yes" />
</BootstrapperApplicationRef>
<Chain>
<PackageGroupRef Id="NetFx40ClientWeb" />
<MsiPackage Compressed="yes" SourceFile="Setup.msi" Vital="yes" />
</Chain>
</Bundle>
</Wix>
Run Code Online (Sandbox Code Playgroud)
使用Banner.bmp和ARP状态的Setup Project是:
<UIRef Id="WixUI_InstallDir" />
<Property Id="WIXUI_INSTALLDIR" Value="INSTALLDIR" />
<WixVariable Id="WixUILicenseRtf" Value="License.rtf" />
<WixVariable Id="WixUIBannerBmp" Value="Bitmaps/Banner.bmp" />
<Property Id="ARPPRODUCTICON" Value="ABC.exe" />
<Property Id="ARPCONTACT" Value="XYZ, Inc." />
<Property Id="ARPURLINFOABOUT" Value="http://www.xyz.com/" />
<Property Id="ARPCOMMENTS" Value="abc" />
Run Code Online (Sandbox Code Playgroud)
任何的想法?
我想验证用户输入的下级登录名。任何想法?
以下是给出的下级登录名格式:
http://msdn.microsoft.com/en-us/library/windows/desktop/aa380525%28v=vs.85%29.aspx