Visual studio 2012 设置文件和控制面板的属性中显示了不同的版本
我有msi安装程序,它是使用Visual Studio 2012中的Wix工具构建的。 我已使用version=“(bind.FileVersion.File)”设置setup.exe的版本。 它看起来好到一半;意味着我在控件中显示相同的版本 面板作为安装后绑定到的dll版本。 但问题是,当我看到setup.exe文件的属性时,它会显示给我 不同的。 我想不出为什么会这样? 任何帮助都将不胜感激Visual studio 2012 设置文件和控制面板的属性中显示了不同的版本,visual-studio-2012,wix,Visual Studio 2012,Wix,我有msi安装程序,它是使用Visual Studio 2012中的Wix工具构建的。 我已使用version=“(bind.FileVersion.File)”设置setup.exe的版本。 它看起来好到一半;意味着我在控件中显示相同的版本 面板作为安装后绑定到的dll版本。 但问题是,当我看到setup.exe文件的属性时,它会显示给我 不同的。 我想不出为什么会这样? 任何帮助都将不胜感激 注意:我在64位计算机上使用64位Windows 7,因为您提到的是EXE而不是MSI,我猜您是在将
注意:我在64位计算机上使用64位Windows 7,因为您提到的是EXE而不是MSI,我猜您是在将MSI捆绑到引导程序包中 要将exe版本绑定到msi,请按说明使用
bind.packageVersion.PackageID
下面是一个如何使用它的示例:
<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
<Bundle Name="Bootstrapper1"
Version="!(bind.PackageVersion.master)"
Manufacturer="Test"
UpgradeCode="$(var.UpgradeCode)">
<BootstrapperApplicationRef
Id="WixStandardBootstrapperApplication.RtfLicense" />
<Chain>
<MsiPackage Id="master" SourceFile="MyInstaller.msi" />
</Chain>
</Bundle>
</Wix>
正如您提到的EXE而不是MSI,我猜您是在将MSI捆绑到引导程序包中 要将exe版本绑定到msi,请按说明使用
bind.packageVersion.PackageID
下面是一个如何使用它的示例:
<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
<Bundle Name="Bootstrapper1"
Version="!(bind.PackageVersion.master)"
Manufacturer="Test"
UpgradeCode="$(var.UpgradeCode)">
<BootstrapperApplicationRef
Id="WixStandardBootstrapperApplication.RtfLicense" />
<Chain>
<MsiPackage Id="master" SourceFile="MyInstaller.msi" />
</Chain>
</Bundle>
</Wix>
正如您提到的EXE而不是MSI,我猜您是在将MSI捆绑到引导程序包中 要将exe版本绑定到msi,请按说明使用
bind.packageVersion.PackageID
下面是一个如何使用它的示例:
<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
<Bundle Name="Bootstrapper1"
Version="!(bind.PackageVersion.master)"
Manufacturer="Test"
UpgradeCode="$(var.UpgradeCode)">
<BootstrapperApplicationRef
Id="WixStandardBootstrapperApplication.RtfLicense" />
<Chain>
<MsiPackage Id="master" SourceFile="MyInstaller.msi" />
</Chain>
</Bundle>
</Wix>
正如您提到的EXE而不是MSI,我猜您是在将MSI捆绑到引导程序包中 要将exe版本绑定到msi,请按说明使用
bind.packageVersion.PackageID
下面是一个如何使用它的示例:
<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
<Bundle Name="Bootstrapper1"
Version="!(bind.PackageVersion.master)"
Manufacturer="Test"
UpgradeCode="$(var.UpgradeCode)">
<BootstrapperApplicationRef
Id="WixStandardBootstrapperApplication.RtfLicense" />
<Chain>
<MsiPackage Id="master" SourceFile="MyInstaller.msi" />
</Chain>
</Bundle>
</Wix>
我使用了这个版本=“!(bind.fileVersion.My.dll)”并且在控制面板中显示了正确的版本号,现在我真正想要做的是使(.msi和application.exe)都具有与控制面板中application.exe显示的相同的版本号(当使用右键单击->属性->详细信息进行检查时)。我使用了这个版本=“!”!(bind.fileVersion.My.dll)“这在控制面板中显示了正确的版本号,现在我真正想做的是使(.msi和application.exe)都具有与application.exe在控制面板中显示的版本号相同的版本号(当使用右键单击->属性->详细信息进行检查时)。我使用了此版本=“!(bind.fileVersion.My.dll)”这在控制面板中显示了正确的版本号,现在我真正想做的是使(.msi和application.exe)具有与控制面板中application.exe显示的相同的版本号(当使用右键单击->属性->详细信息进行检查时)。我使用了此版本=“!(bind.fileVersion.My.dll)”这在控制面板中显示了正确的版本号,现在我真正想做的是使(.msi和application.exe)都具有相同的版本号(当使用右键单击->属性->详细信息进行检查时),就像application.exe在控制面板中显示的一样。