从VS 2015发布ClickOnce应用程序后下载先决条件时出错

时间:2016-01-12 10:37:12

标签: visual-studio-2015 clickonce prerequisites

对于软件开发项目,我们开发了一个设置,其中必备软件将从供应商网站下载。先决条件是.Net 4.5和SqlLocalDB2012。但是当安装程序运行时会出现以下错误。

enter image description here

以下是install.log的最后一行

    Copying files to temporary directory "C:\Users\test\AppData\Local\Temp\VSDEB2.tmp\"
Downloading files to "C:\Users\test\AppData\Local\Temp\VSDEB2.tmp\"
(1/12/2016 3:43:07 PM) Downloading 'DotNetFX45\dotNetFx45_Full_setup.exe' from 'http://go.microsoft.com/fwlink/?linkid=249113' to 'C:\Users\test\AppData\Local\Temp\VSDEB2.tmp\'
Download completed at 1/12/2016 3:43:08 PM
Verifying file integrity of C:\Users\test\AppData\Local\Temp\VSDEB2.tmp\DotNetFX45\dotNetFx45_Full_setup.exe
WinVerifyTrust returned 0
File trusted
(1/12/2016 3:43:08 PM) Downloading 'SqlLocalDB2012\x64\sqlcmdlnutils.msi' from 'http://go.microsoft.com/fwlink/?LinkId=299275&clcid=0x409' to 'C:\Users\test\AppData\Local\Temp\VSDEB2.tmp\'
Download completed at 1/12/2016 3:43:09 PM
Verifying file integrity of C:\Users\test\AppData\Local\Temp\VSDEB2.tmp\SqlLocalDB2012\x64\sqlcmdlnutils.msi
WinVerifyTrust returned 0
File trusted
(1/12/2016 3:43:09 PM) Downloading 'SqlLocalDB2012\x64\sqllocaldb.msi' from 'http://go.microsoft.com/fwlink/?LinkId=299278&clcid=0x409' to 'C:\Users\test\AppData\Local\Temp\VSDEB2.tmp\'
Download completed at 1/12/2016 3:43:12 PM
Verifying file integrity of C:\Users\test\AppData\Local\Temp\VSDEB2.tmp\SqlLocalDB2012\x64\sqllocaldb.msi
WinVerifyTrust returned 0
File trusted
Error: Setup has detected that the file 'C:\Users\test\AppData\Local\Temp\VSDEB2.tmp\SqlLocalDB2012\x64\sqllocaldb.msi' has changed since it was initially published.

我已在setup has detected that the file "" has changed since it was initially publishedError downloading prerequisites after publishing ClickOnce application from VS 2012上完成了两个解决方案。但我仍然得到这个错误。任何想法如何使这项工作。

0 个答案:

没有答案
相关问题