anupmistry
Posts: 52
Joined: Tue Jan 12, 2010 6:39 pm

Windows 8 App Cert Kit Test Failed

Hi,

Today ran the WACK (Windows 8 App Cert Kit Test Failed) on our Desktop app that is built using AI. Our AI project we have the Product Version set to 7.210.35. Though get following error pertaining to installer:
Error Found:
A non-optional value 'VersionMajor' is missing or invalid for program APPNAME C:\AppFolder\.
A non-optional value 'VersionMinor' is missing or invalid for program APPNAME C:\AppFolder\.
A non-optional value 'MajorVersion' is missing or invalid for program APPNAME C:\AppFolder\.
A non-optional value 'MinorVersion' is missing or invalid for program APPNAME C:\AppFolder\.
An optional value 'InstallLocation' is missing or invalid for program APPNAME C:\AppFolder\.

Impact if not fixed: Apps must create these registry entries DisplayName, InstallLocation, Publisher, UninstallString, VersionMajor , and VersionMinor. Apps that don’t create the required registry entries may not be found by enterprise inventory tools. This can cause problems with OS migrations and upgrades, and Windows telemetry tools may not accurately report info about the app.

How to fix:
Add the necessary info to the app’s Windows Installer package so it can configure Add/Remove Programs in Control Panel correctly. Setting these properties automatically writes the corresponding values into the registry. See link below for more information:
http://msdn.microsoft.com/library/windo ... s.85).aspx
Tried changing the Production Version to 7.210.38.1 and then rebuilt project but still no luck.

Your thoughts? As such think its on the AI Side.

Thanks
Daniel
Posts: 8238
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Windows 8 App Cert Kit Test Failed

Hello,

This issue may appear if the related registry values (VersionMajor, VersionMinor and InstallLocation) are not created by the installation package. Please keep in mind that if you enable "Override Windows Installer programs list entry" option from "Product Details" page, then the related registry entries are added by Advanced Installer in the "Registry" table from "Table Editor" page. Otherwise, the related registry entries should be added automatically by Windows Installer when installing the application. You can take a look on "Certification requirements for Windows 8 desktop apps" article.

Also, can you please tell us what version of Advanced Installer are you using?

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
anupmistry
Posts: 52
Joined: Tue Jan 12, 2010 6:39 pm

Re: Windows 8 App Cert Kit Test Failed

This specific app we never upgraded the AI solution. It is on 7.5.2. I do not see the Override checkbox on the Product Details page. Can you tell me how to add those entries maybe manually to the table editor?

Though we do have other projects that are using the AI 9.x. So far have not run them through the WACK yet.
Daniel
Posts: 8238
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Windows 8 App Cert Kit Test Failed

Hello,
It is on 7.5.2. I do not see the Override checkbox on the Product Details page.
This option is not available in version 7.5.2 of Advanced Installer.

Please make sure that "Register product with Windows Installer" option from "Product Details" page is enabled. The related registry entries will not be created if this option is disabled.

Also, you can try this:
- Create a sample package with 9.x version of Advanced Installer having "Override Windows Installer programs list entry" option enabled.
- Test it with WACK.
- If test will succeed, then open your project created with version 7.5.2 of Advanced Installer and manually create the related registry entries, "VersionMajor", "VersionMinor" and "InstallLocation". To add them go to "Table Editor" page, "Registry" table and create the corresponding registry rows (you can see their exact values in the 9.x project).

Let us know if this helped.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
anupmistry
Posts: 52
Joined: Tue Jan 12, 2010 6:39 pm

Re: Windows 8 App Cert Kit Test Failed

The trick did not work for me. Had to upgrade to 9.1 and then check that override box specifying Custom Name as [ProgramName].
exisllc
Posts: 3
Joined: Fri Jan 30, 2015 3:38 am

Re: Windows 8 App Cert Kit Test Failed

Hello -

We are experiencing the exact same issue, and from the above description we are not sure what needs to be done. We are using AI 11.8. We would really appreciate if someone could guide us to a resolution.

Exis
Daniel
Posts: 8238
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Windows 8 App Cert Kit Test Failed

Hello Exis and welcome to Advanced Installer forums,

Thank you for your interest in Advanced Installer.

In order to have a better view of your installation project, can you please send us the .AIP (project file) to support at advancedinstaller dot com so we can investigate its settings?

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
exisllc
Posts: 3
Joined: Fri Jan 30, 2015 3:38 am

Re: Windows 8 App Cert Kit Test Failed

Will do, thank you very much.
exisllc
Posts: 3
Joined: Fri Jan 30, 2015 3:38 am

Re: Windows 8 App Cert Kit Test Failed

Also, if this helps, we can share the executable we are trying to test that is built with your installer: it's a finished product. It passes windows 7 logo, but not windows 8, we can't figure out the issue....
Daniel
Posts: 8238
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Windows 8 App Cert Kit Test Failed

Hello Exis,

Yes, please also send us a download link for the setup package built with your .aip (project file) to support at advancedinstaller dot com so we can test it on our side.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”