错误:安装程序检测到文件自最初发布以来已更改 [英] Error: Setup has detected that the file has changed since it was initially published

查看:2090
本文介绍了错误:安装程序检测到文件自最初发布以来已更改的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发Visual Studio 2017最新更新。我的项目只有.NET 4.6作为先决条件。我已经很长时间没有发布我的程序,但最近使用Windows 7 SP 1的客户无法安装。我不确定
是什么问题,但我希望有人可以提供帮助

已设置以下属性:
Property:[ AdminUser] = true {boolean}
属性:[InstallMode] = HomeSite {string}
属性:[NTProductType] = 1 {int}
属性:[ProcessorArchitecture] = Intel {string}
属性:[VersionNT] = 6.1.1 {version}
运行检查包'Microsoft .NET Framework 4.6(x86およびx64)',阶段BuildList
读取值'Release'的注册表项'HKLM \ Software \ Microsoft /\\ NET Framework Setup\NDP\v4\Full'
无法读取注册表值
未设置属性值'DotNet46Full_Release'
读数值'v4'的注册表项'HKLM \ SOFTWARE \ Microsoft \ NET Framework Setup\OS Integration'
无法读取注册表值
未设置属性值'DotNet46Full_OSIntegrated'
阅读注册表k的值'发布' ey'HKLM\Software\Microsoft\NET Framework Setup\NDP\v4\Full \ 1041'
无法读取注册表值
未设置属性值'DotNet46FullLangPack_Release'
读取注册表项'HKLM \SYSTEM \ CurrentControlSet \Control\MUI \ UILanguages\ja-JP'的值'LCID'
读取整数值1041
设置值'1041 { int}'for property'DotNet46FullLangPack_OS_LCID'
读取注册表项'HKLM \ SOFTWARE \ Microsoft \ NET Framework Setup\OS Integration'的值'v4'
无法读取注册表值
未设置属性'DotNet46FullLangPack_OSIntegrated'的值
已为包'Microsoft .NET Framework 4.6(x86およびx64)'设置了以下属性:
属性:[DotNet46FullLangPack_OS_LCID] = 1041 {int}
运行检查命令'DotNetFX46 \NDP46-KB3045557-x86-x64-AllOS-ENU.exe'
运行运算符的结果属性'InstallMode'上的'ValueEqualTo'和值'HomeSite':true
检查命令'DotNetFX46 \NDP46-KB3045557-x86-x64-AllOS-ENU.exe'的结果是'绕过'
运行检查命令'DotNetFX46\NDP46-KB3045557-x86-x64-AllOS-ENU.exe'
在属性'InstallMode'和值'HomeSite'上运行运算符'ValueEqualTo'的结果:true
结果命令'DotNetFX46 \NDP46-KB3045557-x86-x64-AllOS-ENU.exe'的检查是'旁路'
运行检查命令'DotNetFX46 \NDP46-KB3045560-Web.exe'
在属性'InstallMode'和值'HomeSite'上运行运算符'ValueNotEqualTo'的结果:false
跳过ByPassIf因为未定义属性'DotNet46Full_Release'
跳过ByPassIf因为未定义属性'DotNet46Full_OSIntegrated'
在属性'AdminUser'上运行运算符'ValueEqualTo'并且值'false'的结果:false
运行结果属性'VersionNT'上的运算符'VersionLessThan'和值'6.0.0':false
在属性'ProcessorArchitecture'和值'IA64'上运行运算符'ValueEqualTo'的结果:false
检查命令的结果'DotNetFX46 \ NDP46-KB3045560-Web.exe'是'安装'
运行检查命令'DotNetFX46 \NDP46-KB3045560-Web.exe'
在属性上运行运算符'ValueNotEqualTo'的结果' InstallMode'和值'HomeSite':false
跳过ByPassIf因为未定义属性'DotNet46Full_Release'
跳过ByPassIf因为未定义属性'DotNet46Full_OSIntegrated'
在属性上运行运算符'ValueNotExists'的结果'DotNet46Full_OSIntegrated':true
检查命令'DotNetFX46 \NDP46-KB3045560-Web.exe'的结果是'绕过'
运行检查命令'DotNetFX46 \NDP46-KB3045557-x86-x64- AllOS-JPN.exe'
跳过ByPassIf因为属性'DotNet46FullLangPack_Release'未定义
跳过ByPassIf因为未定义属性'DotNet46FullLangPack_OSIntegrated'
在属性'AdminUser'上运行运算符'ValueEqualTo'并且值'false'的结果:false
运行结果属性'VersionNT'上的运算符'VersionLessThan'和值'6.0.0':false
在属性'ProcessorArchitecture'和值'IA64'上运行运算符'ValueEqualTo'的结果:false
检查命令的结果'DotNetFX46\NDP46-KB3045557-x86-x64-AllOS-JPN.exe''安装'
运行检查命令'DotNetFX46 \NDP46-KB3045557-x86-x64-AllOS-JPN.exe'
跳过ByPassIf,因为Property'DotNet46FullLangPack_Release'未定义
跳过ByPassIf因为未定义属性'DotNet46Full_OSIntegrated'
在属性'DotNet46Full_OSIntegrated'上运行运算符'ValueNotExists'的结果:true
结果检查com mand'DotNetFX46\NDP46-KB3045557-x86-x64-AllOS-JPN.exe''绕过'
'Microsoft .NET Framework 4.6(x86およびx64)'运行检查结果:需要安装
EULA for组件的Microsoft .NET Framework 4.6(x86およびx64)'被接受。
将文件复制到临时目录"C:\ Users \KAKE-I~1 \ AppData \ Local \Temp \ VSD5668.tmp \"
将文件下载到"C:\ Users \KAKE-I~1 \ AppData \ Local \Temp \ VSD5668.tmp \"
(2018/08/21 14:09:47)从'http://go.microsoft.com/fwlink/下载'DotNetFX46 \NDP46-KB3045557-x86-x64-AllOS-JPN.exe'? linkid = 528223& clcid = 0x411'到'C:\ Users \KAKE-I~1 \ AppData \ Local \Temp \ VSD5668.tmp \'
下载完成于2018/08 / 21 14:09:48
验证C:\ Users \ KAKE-I~1 \ AppData \ Local \Temp \ VSD5668.tmp \ DotNetFX46 \NDP46-KB3045557-x86的文件完整性-x64-AllOS-JPN.exe
WinVerifyTrust返回0
文件信任
错误:ファイル'C:\ Users \KAKE-I~1 \ AppData \ Local \ Temp \ VSD5668.tmp \DotNetFX46 \ NDP46-KB3045557-x86-x64-AllOS-JPN.exe'は最初に発行されて以来変更されています
。(2018/08/21 14:09: 51)将'DotNetFX46 \NDP46-KB3045557-x86-x64-AllOS-JPN.exe'从'http://go.microsoft.com/fwlink/?linkid=528223&clcid=0x411'下载到'C:\' Users\KAKE-I〜1\AppData\Local\Te mp\VSD5668.tmp \'
下载完成时间2018/08/21 14:09:51
验证C:\ Users \ KAKE-I~1 \ AppData \\的文件完整性\\ local \Temp \ VSD5668.tmp \DotNetFX46 \NDP46-KB3045557-x86-x64-AllOS-JPN.exe
WinVerifyTrust返回0

(错误:ファイル'C:\ Users \KAKE-I~1 \ AppData \ Local \Temp \ VSD5668.tmp \DotNetFX46 \ NDP46-KB3045557-x86-x64-AllOS-JPN .exe'は最初に発行されて以来変更されています
$



相同 错误:设置检测到FILENAME自最初发布以来已发生变化



我还检查了一个类似的本网站上的问题,以
https://social.msdn.microsoft.com/Forums/windows/en-US/6fb9eb84-850d-4acf-b43f-ed28a68af624/error-setup-has-detected - 该文件已更改,因为它最初发布了吗?forum = winformssetup

,但信息这对我的情况似乎没有帮助。

解决方案


尝试以下方法。


https://stackoverflow.com/questions/18463574/setup-has-detected-that-the-file-has-changed-since-it-was-initially-published


最好的问候,


Alex


I'm working on Visual Studio 2017 current latest update. My project only has .NET 4.6 as its pre-requisite. I had released my program for a long time without trouble, but recently a customer using Windows 7 SP 1 failed to install. I'm not sure what the problem is, but I hope someone can help

The following properties have been set:
Property: [AdminUser] = true {boolean}
Property: [InstallMode] = HomeSite {string}
Property: [NTProductType] = 1 {int}
Property: [ProcessorArchitecture] = Intel {string}
Property: [VersionNT] = 6.1.1 {version}
Running checks for package 'Microsoft .NET Framework 4.6 (x86 および x64)', phase BuildList
Reading value 'Release' of registry key 'HKLM\Software\Microsoft\NET Framework Setup\NDP\v4\Full'
Unable to read registry value
Not setting value for property 'DotNet46Full_Release'
Reading value 'v4' of registry key 'HKLM\SOFTWARE\Microsoft\NET Framework Setup\OS Integration'
Unable to read registry value
Not setting value for property 'DotNet46Full_OSIntegrated'
Reading value 'Release' of registry key 'HKLM\Software\Microsoft\NET Framework Setup\NDP\v4\Full\1041'
Unable to read registry value
Not setting value for property 'DotNet46FullLangPack_Release'
Reading value 'LCID' of registry key 'HKLM\SYSTEM\CurrentControlSet\Control\MUI\UILanguages\ja-JP'
Read integer value 1041
Setting value '1041 {int}' for property 'DotNet46FullLangPack_OS_LCID'
Reading value 'v4' of registry key 'HKLM\SOFTWARE\Microsoft\NET Framework Setup\OS Integration'
Unable to read registry value
Not setting value for property 'DotNet46FullLangPack_OSIntegrated'
The following properties have been set for package 'Microsoft .NET Framework 4.6 (x86 および x64)':
Property: [DotNet46FullLangPack_OS_LCID] = 1041 {int}
Running checks for command 'DotNetFX46\NDP46-KB3045557-x86-x64-AllOS-ENU.exe'
Result of running operator 'ValueEqualTo' on property 'InstallMode' and value 'HomeSite': true
Result of checks for command 'DotNetFX46\NDP46-KB3045557-x86-x64-AllOS-ENU.exe' is 'Bypass'
Running checks for command 'DotNetFX46\NDP46-KB3045557-x86-x64-AllOS-ENU.exe'
Result of running operator 'ValueEqualTo' on property 'InstallMode' and value 'HomeSite': true
Result of checks for command 'DotNetFX46\NDP46-KB3045557-x86-x64-AllOS-ENU.exe' is 'Bypass'
Running checks for command 'DotNetFX46\NDP46-KB3045560-Web.exe'
Result of running operator 'ValueNotEqualTo' on property 'InstallMode' and value 'HomeSite': false
Skipping ByPassIf because Property 'DotNet46Full_Release' was not defined
Skipping ByPassIf because Property 'DotNet46Full_OSIntegrated' was not defined
Result of running operator 'ValueEqualTo' on property 'AdminUser' and value 'false': false
Result of running operator 'VersionLessThan' on property 'VersionNT' and value '6.0.0': false
Result of running operator 'ValueEqualTo' on property 'ProcessorArchitecture' and value 'IA64': false
Result of checks for command 'DotNetFX46\NDP46-KB3045560-Web.exe' is 'Install'
Running checks for command 'DotNetFX46\NDP46-KB3045560-Web.exe'
Result of running operator 'ValueNotEqualTo' on property 'InstallMode' and value 'HomeSite': false
Skipping ByPassIf because Property 'DotNet46Full_Release' was not defined
Skipping ByPassIf because Property 'DotNet46Full_OSIntegrated' was not defined
Result of running operator 'ValueNotExists' on property 'DotNet46Full_OSIntegrated': true
Result of checks for command 'DotNetFX46\NDP46-KB3045560-Web.exe' is 'Bypass'
Running checks for command 'DotNetFX46\NDP46-KB3045557-x86-x64-AllOS-JPN.exe'
Skipping ByPassIf because Property 'DotNet46FullLangPack_Release' was not defined
Skipping ByPassIf because Property 'DotNet46FullLangPack_OSIntegrated' was not defined
Result of running operator 'ValueEqualTo' on property 'AdminUser' and value 'false': false
Result of running operator 'VersionLessThan' on property 'VersionNT' and value '6.0.0': false
Result of running operator 'ValueEqualTo' on property 'ProcessorArchitecture' and value 'IA64': false
Result of checks for command 'DotNetFX46\NDP46-KB3045557-x86-x64-AllOS-JPN.exe' is 'Install'
Running checks for command 'DotNetFX46\NDP46-KB3045557-x86-x64-AllOS-JPN.exe'
Skipping ByPassIf because Property 'DotNet46FullLangPack_Release' was not defined
Skipping ByPassIf because Property 'DotNet46Full_OSIntegrated' was not defined
Result of running operator 'ValueNotExists' on property 'DotNet46Full_OSIntegrated': true
Result of checks for command 'DotNetFX46\NDP46-KB3045557-x86-x64-AllOS-JPN.exe' is 'Bypass'
'Microsoft .NET Framework 4.6 (x86 および x64)' RunCheck result: Install Needed
EULA for components 'Microsoft .NET Framework 4.6 (x86 および x64)' was accepted.
Copying files to temporary directory "C:\Users\KAKE-I~1\AppData\Local\Temp\VSD5668.tmp\"
Downloading files to "C:\Users\KAKE-I~1\AppData\Local\Temp\VSD5668.tmp\"
(2018/08/21 14:09:47) Downloading 'DotNetFX46\NDP46-KB3045557-x86-x64-AllOS-JPN.exe' from 'http://go.microsoft.com/fwlink/?linkid=528223&clcid=0x411' to 'C:\Users\KAKE-I~1\AppData\Local\Temp\VSD5668.tmp\'
Download completed at 2018/08/21 14:09:48
Verifying file integrity of C:\Users\KAKE-I~1\AppData\Local\Temp\VSD5668.tmp\DotNetFX46\NDP46-KB3045557-x86-x64-AllOS-JPN.exe
WinVerifyTrust returned 0
File trusted
Error: ファイル 'C:\Users\KAKE-I~1\AppData\Local\Temp\VSD5668.tmp\DotNetFX46\NDP46-KB3045557-x86-x64-AllOS-JPN.exe' は最初に発行されて以来変更されています
。(2018/08/21 14:09:51) Downloading 'DotNetFX46\NDP46-KB3045557-x86-x64-AllOS-JPN.exe' from 'http://go.microsoft.com/fwlink/?linkid=528223&clcid=0x411' to 'C:\Users\KAKE-I~1\AppData\Local\Temp\VSD5668.tmp\'
Download completed at 2018/08/21 14:09:51
Verifying file integrity of C:\Users\KAKE-I~1\AppData\Local\Temp\VSD5668.tmp\DotNetFX46\NDP46-KB3045557-x86-x64-AllOS-JPN.exe
WinVerifyTrust returned 0

(Error: ファイル 'C:\Users\KAKE-I~1\AppData\Local\Temp\VSD5668.tmp\DotNetFX46\NDP46-KB3045557-x86-x64-AllOS-JPN.exe' は最初に発行されて以来変更されています

is the same as

 Error: Setup has detected FILENAME has changed since it was initially published)

I also checked out a similar problem on this site,
https://social.msdn.microsoft.com/Forums/windows/en-US/6fb9eb84-850d-4acf-b43f-ed28a68af624/error-setup-has-detected-that-the-file-has-changed-since-it-was-initially-published?forum=winformssetup
, but the information did not seem to help my situation.

解决方案

Hi,

Try the following method.

https://stackoverflow.com/questions/18463574/setup-has-detected-that-the-file-has-changed-since-it-was-initially-published

Best Regards,

Alex


这篇关于错误:安装程序检测到文件自最初发布以来已更改的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆