小编Kri*_*sen的帖子

从setup.exe下载ClickOnce失败

我有关于ClickOnce应用程序下载的问题.我已成功将ClickOnce应用程序部署到IIS服务器.ClickOnce文件位于IIS上的路径:/ MyApp/install

当我从另一台机器导航到ClickOnce的标准发布页面时,我可以点击"启动"或安装.区别在于: - "启动"URL是ThisIsTheApplication.application文件. - 安装URL是setup.exe文件

当我单击启动文件时,我可以成功安装应用程序.如果我使用setup.exe,当我尝试执行该文件时它会失败.

setup.exe基本检查我的预先选择是否已安装(仅限.NET 4.5).日志文件说:

The following properties have been set:
Property: [AdminUser] = true {boolean}
Property: [InstallMode] = HomeSite {string}
Property: [NTProductType] = 3 {int}
Property: [ProcessorArchitecture] = AMD64 {string}
Property: [VersionNT] = 6.2.0 {version}
Running checks for package 'Microsoft .NET Framework 4.5 (x86 and x64)', phase BuildList
Reading value 'Version' of registry key 'HKLM\Software\Microsoft\NET Framework Setup\NDP\v4\Full'
Read string value '4.5.51641'
Setting value '4.5.51641 {string}' for property 'DotNet45Full_TargetVersion'
The following properties have been set …
Run Code Online (Sandbox Code Playgroud)

iis clickonce

7
推荐指数
1
解决办法
6410
查看次数

标签 统计

clickonce ×1

iis ×1