Hash RemotePayLoad中的哈希值
我是wix新手,谁能告诉我如何在wix中使用remotePayload中的哈希值Hash RemotePayLoad中的哈希值,hash,wix,wix3,wix3.6,wix3.7,Hash,Wix,Wix3,Wix3.6,Wix3.7,我是wix新手,谁能告诉我如何在wix中使用remotePayload中的哈希值 <RemotePayload Hash="D40DB6440BD2B5B5AA00DA63F408469FF22A9542" ProductName="vstor_redist.exe" Description="Dotnet 4.0" Size="39130" Version="4.0.5022.0" /> 在一个包里,我用过它
<RemotePayload
Hash="D40DB6440BD2B5B5AA00DA63F408469FF22A9542"
ProductName="vstor_redist.exe"
Description="Dotnet 4.0"
Size="39130"
Version="4.0.5022.0" />
在一个包里,我用过它。
但是当安装程序运行时,它会显示哈希值不正确您从哪里获得此哈希值的 只需使用此选项即可避免任何不必要的情况
<ExePackage
Id="InstallJava"
DetectCondition='NOT Installed AND JAVACURRENTVERSION>="1.6"'
InstallCondition='NOT VersionNT64'
SourceFile="..\dep\jre-7u55-windows-i586.exe"
InstallCommand='/s'
Compressed="no"
Permanent="yes"
PerMachine="yes"
Vital="no"
DownloadUrl="http://javadl.sun.com/webapps/download/AutoDL?BundleId=86895"
/>
下载vstor_redist.exe并使用SourceFile属性引用它。wix将自动计算Hashcode等
但是,如果您更倾向于使用RemotePayLoad,那么请使用heat.exe来获取这些数据
<wix-folder>/bin/heat payload d:\vstor_redist.exe -out d:\remote.xml
/bin/heat-payload d:\vstor\u redist.exe-out d:\remote.xml
您从何处获得此哈希值
只需使用此选项即可避免任何不必要的情况
<ExePackage
Id="InstallJava"
DetectCondition='NOT Installed AND JAVACURRENTVERSION>="1.6"'
InstallCondition='NOT VersionNT64'
SourceFile="..\dep\jre-7u55-windows-i586.exe"
InstallCommand='/s'
Compressed="no"
Permanent="yes"
PerMachine="yes"
Vital="no"
DownloadUrl="http://javadl.sun.com/webapps/download/AutoDL?BundleId=86895"
/>
下载vstor_redist.exe并使用SourceFile属性引用它。wix将自动计算Hashcode等
但是,如果您更倾向于使用RemotePayLoad,那么请使用heat.exe来获取这些数据
<wix-folder>/bin/heat payload d:\vstor_redist.exe -out d:\remote.xml
/bin/heat-payload d:\vstor\u redist.exe-out d:\remote.xml
在这样使用时,源文件(..\dep\jre-7u55-windows-i586.exe)也将与最终设置一起添加?我只想在安装过程中直接从web自动下载必备软件。有可能吗?你可以试试这个。它不会将prereq打包到安装程序中。因为我使用了Compressed=“no”。在这样使用时,源文件(..\dep\jre-7u55-windows-i586.exe)也将与最终设置一起添加?我只想在安装过程中直接从web自动下载必备软件。有可能吗?你可以试试这个。它不会将prereq打包到安装程序中。因为我使用了Compressed=“no”。