Windows应用程序认证工具包测试结果:应用程序未创建必需的注册表项 [英] Windows App Certification Kit Test Result : app didn't create the require registry entries

查看:114
本文介绍了Windows应用程序认证工具包测试结果:应用程序未创建必需的注册表项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用installshield 2009创建应用程序安装程序.此应用程序是32位应用程序. 现在,根据客户的要求,我们的软件必须通过Windows App认证套件测试(WACK).然后我尝试作为桌面应用程序进行测试,但结果失败.

I create an application installer using installshield 2009. This application is a 32-bit application. Now as the requirement from our client, our software must passed the Windows App Certification Kit test (WACK). Then I try to testing as a desktop application, but the result is failed.

注册表填充测试检测到以下错误:

The registry population test detected the following error:

应用未创建所需的注册表项.
写 适当的添加/删除程序"值
发现错误:注册表 人口测试检测到以下错误:应用未创建 必需的注册表项.
的非可选值"DisplayName"为 程序缺少或无效.
可选值 程序'InstallLocation'丢失或无效.
A 非可选值'Publisher'丢失或对程序无效.
可选值'UninstallString'丢失或对程序无效 .
的非可选值'VersionMajor'丢失或无效 程序.
缺少非可选值'VersionMinor'或 对程序无效.
的非可选值'MajorVersion'为 程序缺少或无效.
非可选值 'MinorVersion'丢失或对程序无效.
可选 值'InstallLocation'丢失或对程序无效.

App didn’t create the required registry entries.
Write appropriate Add/Remove Program values
Error Found: The registry population test detected the following error: app didn’t create the required registry entries.
A non-optional value 'DisplayName' is missing or invalid for program .
An optional value 'InstallLocation' is missing or invalid for program .
A non-optional value 'Publisher' is missing or invalid for program .
An optional value 'UninstallString' is missing or invalid for program .
A non-optional value 'VersionMajor' is missing or invalid for program .
A non-optional value 'VersionMinor' is missing or invalid for program .
A non-optional value 'MajorVersion' is missing or invalid for program .
A non-optional value 'MinorVersion' is missing or invalid for program .
An optional value 'InstallLocation' is missing or invalid for program .

我在另一台已安装的计算机上使用regedit进行检查.
注册表值正确,上述键都不为空或无效

I check with regedit onanother machine with installed.
The registry value is correct, none of the key stated above is empty or invalid

Windows注册表编辑器5.00版

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE \ SOFTWARE \ Wow6432Node \ Microsoft \ Windows \ CurrentVersion \ Uninstall {9DAA8BAB-2DD2-4BD5-A3A2-ACB2A28B8041}]
"AuthorizedCDFPrefix" ="
评论" ="
联系人" ="
"DisplayVersion" ="9.1.0"
"HelpLink" ="
"HelpTelephone" =(123) 123-1234"
" InstallDate"=" 20140115"
"InstallLocation" ="C:\ Application Sample \"
"InstallSource" ="C:\ Install \"
"ModifyPath" = hex(2):4d,00,73,00,69,00,45,00,78,00,65,00,63,00,2e,00,65,00,78,\ 00,65,00,20,00,2f,00,58,00,7b,00,39,00,44,00,41,00,41,00,38,00,42,00,41,00, \ 42,00,2d,00,32,00,44,00,44,00,32,00,2d,00,34,00,42,00,44,00,35,00,2d,00,41, \ 00,33,00,41,00,32,00,2d,00,41,00,43,00,42,00,32,00,41,00,32,00,38,00,42,00, \ 38,00,30,00,34,00,31,00,7d,00,00,00
"NoModify" = dword:00000001
"NoRepair" = dword:00000001
"Publisher" =样本发布者"
"Readme" ="="
"Size" ="
"EstimatedSize" = dword:0002861e
"UninstallString" = hex(2):4d,00,73,00,69,00,45,00,78,00,65,00,63,00,2e,00,65,00,\ 78,00,65,00,20,00,2f,00,58,00,7b,00,39,00,44,00,41,00,41,00,38,00,42,00,41, \ 00,42,00,2d,00,32,00,44,00,44,00,32,00,2d,00,34,00,42,00,44,00,35,00,2d,00, \ 41,00,33,00,41,00,32,00,2d,00,41,00,43,00,42,00,32,00,41,00,32,00,38,00,42, \ 00,38,00,30,00,34,00,31,00,7d,00,00,00
"URLInfoAbout" ="www.publisher.com"
"URLUpdateInfo" ="
"VersionMajor" = dword:00000009
"VersionMinor" = dword:00000001
"WindowsInstaller" = dword:00000001
"Version" = dword:09010000
"Language" = dword:00000409
"DisplayName" =应用程序示例"

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall{9DAA8BAB-2DD2-4BD5-A3A2-ACB2A28B8041}]
"AuthorizedCDFPrefix"=""
"Comments"=""
"Contact"=""
"DisplayVersion"="9.1.0"
"HelpLink"=""
"HelpTelephone"="(123) 123-1234"
"InstallDate"="20140115"
"InstallLocation"="C:\Application Sample\"
"InstallSource"="C:\Install\"
"ModifyPath"=hex(2):4d,00,73,00,69,00,45,00,78,00,65,00,63,00,2e,00,65,00,78,\ 00,65,00,20,00,2f,00,58,00,7b,00,39,00,44,00,41,00,41,00,38,00,42,00,41,00,\ 42,00,2d,00,32,00,44,00,44,00,32,00,2d,00,34,00,42,00,44,00,35,00,2d,00,41,\ 00,33,00,41,00,32,00,2d,00,41,00,43,00,42,00,32,00,41,00,32,00,38,00,42,00,\ 38,00,30,00,34,00,31,00,7d,00,00,00
"NoModify"=dword:00000001
"NoRepair"=dword:00000001
"Publisher"="Sample Publisher"
"Readme"=""
"Size"=""
"EstimatedSize"=dword:0002861e
"UninstallString"=hex(2):4d,00,73,00,69,00,45,00,78,00,65,00,63,00,2e,00,65,00,\ 78,00,65,00,20,00,2f,00,58,00,7b,00,39,00,44,00,41,00,41,00,38,00,42,00,41,\ 00,42,00,2d,00,32,00,44,00,44,00,32,00,2d,00,34,00,42,00,44,00,35,00,2d,00,\ 41,00,33,00,41,00,32,00,2d,00,41,00,43,00,42,00,32,00,41,00,32,00,38,00,42,\ 00,38,00,30,00,34,00,31,00,7d,00,00,00
"URLInfoAbout"="www.publisher.com"
"URLUpdateInfo"=""
"VersionMajor"=dword:00000009
"VersionMinor"=dword:00000001
"WindowsInstaller"=dword:00000001
"Version"=dword:09010000
"Language"=dword:00000409
"DisplayName"="Application Sample"



我还检查了与WACK相关的Microsoft KB,它告诉您此错误是由于无效的注册表值或在安装过程中未创建注册表值而发生的.
有人对此有相同的经验吗?如何解决?
我尝试用Google搜索它,但没人能给出确切的解决方法



I'm also check with Microsoft KB related with WACK, it told that this error happened due to invalid registry values or the registry values was not created during installation.
Does anyone have the same experience with this? How to fix it?
I try to google it, but no one can give the exact solution how to fix this

推荐答案

我发现了问题,这是由于安装程序创建了安装程序,并且在卸载过程中未删除安装程序而导致的.此快捷方式还会创建一些注册表,并提供一些与已安装的应用程序相关的参数.

I found the problem, this was caused because the installer create an installer and somehow installer was not removed during uninstall process. This shortcut also create some registry and give some parameter that related to the application installed.

为解决此问题,我回顾了快捷方式的创建过程,并给出了适用于该快捷方式的正确卸载过程.

To fix this, I review the shortcut creation process and give the proper uninstall process for the shorcut.

这篇关于Windows应用程序认证工具包测试结果:应用程序未创建必需的注册表项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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