Warning when using Windows App Certification Kit - Advanced Installer Community
mswarna
Posts: 4
Joined: Wed May 28, 2014 7:39 am

Warning when using Windows App Certification Kit

Hi,

We are using Advanced Installer 9.3.
The installation Type is per-user only(administrator rights required).
When ran through WACK (Windows App Certification Kit), following warnings were given out:

WARNING
Single user registry check
•Warning: The single user registry test detected the following errors:

?Registry key [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\{E2EB168B-E6B1-4168-B357-8AB9E84ADF54}] was modified during installation.
?Registry key [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\{E2EB168B-E6B1-4168-B357-8AB9E84ADF54}] AuthorizedCDFPrefix=String: was modified during installation.
?Registry key [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\{E2EB168B-E6B1-4168-B357-8AB9E84ADF54}] Comments=String:This installer database contains the logic and data required to install Adoddle Navigator QA. was modified during installation.
?Registry key [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\{E2EB168B-E6B1-4168-B357-8AB9E84ADF54}] Contact=String:http://www.asite.com/contact.shtml was modified during installation.
?Registry key [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\{E2EB168B-E6B1-4168-B357-8AB9E84ADF54}] DisplayName=String:Adoddle Navigator QA was modified during installation.
?Registry key [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\{E2EB168B-E6B1-4168-B357-8AB9E84ADF54}] DisplayVersion=String:17.0.1 was modified during installation.
?Registry key [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\{E2EB168B-E6B1-4168-B357-8AB9E84ADF54}] EstimatedSize=DWord:131418 was modified during installation.
?Registry key [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\{E2EB168B-E6B1-4168-B357-8AB9E84ADF54}] HelpLink=ExpandString:http://www.asite.com/support.shtml was modified during installation.
?Registry key [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\{E2EB168B-E6B1-4168-B357-8AB9E84ADF54}] HelpTelephone=String:+44 (0)845 130 5550 was modified during installation.
?Registry key [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\{E2EB168B-E6B1-4168-B357-8AB9E84ADF54}] InstallDate=String:20140519 was modified during installation.
?Registry key [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\{E2EB168B-E6B1-4168-B357-8AB9E84ADF54}] InstallLocation=String:C:\Users\mswarna\Adoddle Navigator QA\ was modified during installation.
?Registry key [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\{E2EB168B-E6B1-4168-B357-8AB9E84ADF54}] InstallSource=String:C:\Users\mswarna\AppData\Roaming\Asite\Adoddle Navigator QA 17.0.1\install\ was modified during installation.
?Registry key [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\{E2EB168B-E6B1-4168-B357-8AB9E84ADF54}] Language=DWord:1033 was modified during installation.
?Registry key [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\{E2EB168B-E6B1-4168-B357-8AB9E84ADF54}] ModifyPath=ExpandString:MsiExec.exe /I{E2EB168B-E6B1-4168-B357-8AB9E84ADF54} was modified during installation.
?Registry key [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\{E2EB168B-E6B1-4168-B357-8AB9E84ADF54}] NoRepair=DWord:1 was modified during installation.
?Registry key [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\{E2EB168B-E6B1-4168-B357-8AB9E84ADF54}] Publisher=String:Asite was modified during installation.
?Registry key [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\{E2EB168B-E6B1-4168-B357-8AB9E84ADF54}] Readme=String: was modified during installation.
?Registry key [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\{E2EB168B-E6B1-4168-B357-8AB9E84ADF54}] Size=String: was modified during installation.
?Registry key [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\{E2EB168B-E6B1-4168-B357-8AB9E84ADF54}] SystemComponent=DWord:1 was modified during installation.
?Registry key [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\{E2EB168B-E6B1-4168-B357-8AB9E84ADF54}] UninstallString=ExpandString:MsiExec.exe /I{E2EB168B-E6B1-4168-B357-8AB9E84ADF54} was modified during installation.
?Registry key [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\{E2EB168B-E6B1-4168-B357-8AB9E84ADF54}] URLInfoAbout=String: was modified during installation.
?Registry key [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\{E2EB168B-E6B1-4168-B357-8AB9E84ADF54}] URLUpdateInfo=String: was modified during installation.
?Registry key [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\{E2EB168B-E6B1-4168-B357-8AB9E84ADF54}] Version=DWord:285212673 was modified during installation.
?Registry key [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\{E2EB168B-E6B1-4168-B357-8AB9E84ADF54}] VersionMajor=DWord:17 was modified during installation.
?Registry key [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\{E2EB168B-E6B1-4168-B357-8AB9E84ADF54}] VersionMinor=DWord:0 was modified during installation.
?Registry key [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\{E2EB168B-E6B1-4168-B357-8AB9E84ADF54}] WindowsInstaller=DWord:1 was modified during installation

Impact if not fixed: The application is available to all users of the machine.

•How to fix: In a Per user installation, should not create or modify machine wide registry entries (HKLM).


My doubt is shouldn't these entries be written into HKCU instead of HKLM?
Is there any way to follow to get rid of these warnings?
Any kind of help will be highly appreciated.
Thanks in advance.
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Warning when using Windows App Certification Kit

Hi,

These entries are written directly by Windows Installer by default, not by the setup package. Windows Installer creates the keys when you install the package,
using information from it, as a result of the registration operation of the package in the system.

Since the package is set to require admin credentials, the installation will run with full admin rights, so automatically the Windows Installer service will write this info in the HKLM hive.

Have you tried the package type "Per user only"?

The setup package created by Advanced Installer has a case when it directly writes these keys, i.e. only if you enable the option "Override Windows Installer programs list entry".
But in this case, the entries are redirected to HKCU or HKLM, depending on the credentials provided for the package to run.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”