问题描述
通过MAS,我有一个blob容器设置,其公共访问权限级别设置为仅对blob的公共读取访问权限",从而可以通过访问" https://myblob.blob.core.windows.net/myprogram/myprogram.htm ".问题出在实际运行 setup.exe
上,它给了我
Through MAS, I have a blob container setup with public access level set to "Public read access for blobs only", allowing for a download of the setup.exe
by visiting "https://myblob.blob.core.windows.net/myprogram/myprogram.htm". The problem stems from actually running setup.exe
in that it gives me
The following properties have been set:
Property: [AdminUser] = true {boolean}
Property: [InstallMode] = HomeSite {string}
Property: [NTProductType] = 1 {int}
Property: [ProcessorArchitecture] = AMD64 {string}
Property: [VersionNT] = 10.0.0 {version}
Running checks for package 'Microsoft .NET Framework 4.5.2 (x86 and x64)', phase BuildList
Reading value 'Release' of registry key 'HKLM\Software\Microsoft\NET Framework Setup\NDP\v4\Full'
Read integer value 460805
Setting value '460805 {int}' for property 'DotNet45Full_Release'
Reading value 'v4' of registry key 'HKLM\SOFTWARE\Microsoft\NET Framework Setup\OS Integration'
Read integer value 1
Setting value '1 {int}' for property 'DotNet45Full_OSIntegrated'
The following properties have been set for package 'Microsoft .NET Framework 4.5.2 (x86 and x64)':
Property: [DotNet45Full_OSIntegrated] = 1 {int}
Property: [DotNet45Full_Release] = 460805 {int}
Running checks for command 'DotNetFX452\NDP452-KB2901907-x86-x64-AllOS-ENU.exe'
Result of running operator 'ValueEqualTo' on property 'InstallMode' and value 'HomeSite': true
Result of checks for command 'DotNetFX452\NDP452-KB2901907-x86-x64-AllOS-ENU.exe' is 'Bypass'
Running checks for command 'DotNetFX452\NDP452-KB2901907-x86-x64-AllOS-ENU.exe'
Result of running operator 'ValueEqualTo' on property 'InstallMode' and value 'HomeSite': true
Result of checks for command 'DotNetFX452\NDP452-KB2901907-x86-x64-AllOS-ENU.exe' is 'Bypass'
Running checks for command 'DotNetFX452\NDP452-KB2901954-Web.exe'
Result of running operator 'ValueNotEqualTo' on property 'InstallMode' and value 'HomeSite': false
Result of running operator 'ValueGreaterThanEqualTo' on property 'DotNet45Full_Release' and value '379893': true
Result of checks for command 'DotNetFX452\NDP452-KB2901954-Web.exe' is 'Bypass'
Running checks for command 'DotNetFX452\NDP452-KB2901954-Web.exe'
Result of running operator 'ValueNotEqualTo' on property 'InstallMode' and value 'HomeSite': false
Result of running operator 'ValueGreaterThanEqualTo' on property 'DotNet45Full_Release' and value '379893': true
Result of checks for command 'DotNetFX452\NDP452-KB2901954-Web.exe' is 'Bypass'
'Microsoft .NET Framework 4.5.2 (x86 and x64)' RunCheck result: No Install Needed
Launching Application.
URLDownloadToCacheFile failed with HRESULT '-2146697210'
Error: An error occurred trying to download 'https://myblob.blob.core.windows.net/myprogram/publish.htm/myprogram.application'.
我感觉到我在某处缺少MAS设置,但不确定在哪里看
I get the feeling I'm missing a setting for MAS somewhere but I'm not sure where to look
推荐答案
结果是我将Visual Studio中的部署URL设置为 https://myblob.blob.core.windows.net/myprogram/myprogram.htm
而不是 https://myblob.blob.core.windows.net/myprogram
,这意味着它试图在 https://myblob.blob下查找文件.core.windows.net/myprogram/myprogram.htm/<设置文件>
Turns out I had set the deployment URL in VisualStudio to https://myblob.blob.core.windows.net/myprogram/myprogram.htm
rather than just https://myblob.blob.core.windows.net/myprogram
which meant it was trying to look for files under https://myblob.blob.core.windows.net/myprogram/myprogram.htm/<Setup files>
这篇关于Microsoft Azure存储拒绝我的OneClick应用程序下载的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!