2

如果我使用 https 作为 DownloadURL,如下例所示

<PackageGroup 
            Id="Netfx4Full">
            <ExePackage 
                Id="Netfx4Full" 
                Cache="no" 
                Compressed="no" 
                PerMachine="yes" 
                Permanent="yes" 
                Vital="yes"
                *DownloadUrl="https://go.microsoft.com/fwlink/?    LinkId=164193/dotNetFx40_Full_x86_x64.exe"* >

             <RemotePayload
               ProductName="dotNetFx40_Full_x86_x64.exe" 
                Description="Dotnet 4.0"
                Size="3961856" 
                Version="4.0.5022.0" />
             </ExePackage>
        </PackageGroup>

安装程序没有从网上下载 exe。在提琴手中,我看到的网址是http://go.microsoft.com:443/fwlink/?LinkId=164193/dotNetFx40_Full_x86_x64.exe,我没有将请求转发到 download.microsoft.com。但是,如果我在浏览器中键入相同的 URL,它就可以工作。我需要做一些特别的事情才能与 Wix 燃烧引擎一起工作吗?

4

0 回答 0