我正在使用HTTPS设置网址发布我的应用程序并将其托管到HTTPS网址。
当我运行setup.exe
时发生错误。
An error occurred trying to download 'https://***.tjc.tv/WMSClient.application'.
See the setup log file located at 'C:\Users\mkumawat\AppData\Local\Temp\VSD3796.tmp\install.log' for more information.
日志文件
The following properties have been set:
Property: [AdminUser] = true {boolean}
Property: [InstallMode] = HomeSite {string}
Property: [ProcessorArchitecture] = AMD64 {string}
Property: [VersionNT] = 6.2.0 {version}
Running checks for package 'Windows Installer 3.1', phase BuildList
The following properties have been set for package 'Windows Installer 3.1':
Running checks for command 'WindowsInstaller3_1\WindowsInstaller-KB893803-v2-x86.exe'
Result of running operator 'VersionGreaterThanOrEqualTo' on property 'VersionMsi' and value '3.1': true
Result of checks for command 'WindowsInstaller3_1\WindowsInstaller-KB893803-v2-x86.exe' is 'Bypass'
'Windows Installer 3.1' RunCheck result: No Install Needed
Launching Application.
URLDownloadToCacheFile failed with HRESULT '-2146697202'
Error: An error occurred trying to download 'https://***.tjc.tv/WMSClient.application'.
当我在浏览器中手动下载此https://***.tjc.tv/WMSClient.application
时,它正在下载并且工作正常,但在setup.exe
中它无效。
我已经尝试过以下解决方案,但没有任何效果。
答案 0 :(得分:0)
在我们的系统上,setup.exe也失败,并显示错误URLDownloadToCacheFile failed with HRESULT '-2146697208'
,而在单击ourapp.application链接或启动下载的文件时,该应用程序安装没有问题。
如果我们将安装源从HTTPS更改为HTTP,则可以使用setup.exe进行安装。
我们的解决方案是重新启用HTTPS页面的缓存。由于setup.exe使用的是WinInet,因此这是可以通过IE进行的Internet设置更改。
由于大多数流量都转移到HTTPS,所以此安全功能对我而言不再有意义