Determining the Location of the Update Client

Got a problem you cannot solve? Try here.
glenharvy
Posts: 167
Joined: Fri Sep 14, 2007 3:53 am

Determining the Location of the Update Client

Postby glenharvy » Sun Jan 19, 2014 5:36 pm

Hi,

Since upgrading to Win8.1, my registry no longer contains a reference to the uninstall directory in none of the following places:

String uninstallDir = "";
try
{
RegistryKey pRegKey;
pRegKey = Registry.LocalMachine.OpenSubKey(@"Software\Microsoft\Windows\CurrentVersion\Uninstall\MyCourts", false);

if (pRegKey == null)
pRegKey = Registry.LocalMachine.OpenSubKey(
@"Software\WOW6432NODE\Microsoft\Windows\CurrentVersion\Uninstall\MyCourts", false);

if (pRegKey == null)
pRegKey = Registry.CurrentUser.OpenSubKey(@"Software\Microsoft\Windows\CurrentVersion\Uninstall\MyCourts", false);

if (pRegKey == null)
pRegKey = Registry.CurrentUser.OpenSubKey(
@"Software\WOW6432NODE\Microsoft\Windows\CurrentVersion\Uninstall\MyCourts", false);

if (pRegKey == null)
{
RegistryKey localMachineX64View = RegistryKey.OpenBaseKey(RegistryHive.LocalMachine, RegistryView.Registry64);
pRegKey = localMachineX64View.OpenSubKey(@"Software\Microsoft\Windows\CurrentVersion\Uninstall\MyCourts", false);
}

Searching the whole registry for the location has not proved successful either.

Has something changed. Is there an alternative source of this data?

glenharvy
Posts: 167
Joined: Fri Sep 14, 2007 3:53 am

Re: Determining the Location of the Update Client

Postby glenharvy » Sun Jan 19, 2014 9:49 pm

Updating IA to IA 18.4 and then re-installing the product has fixed this issue and the registry entry has been made... Reinstalling using the 'old' build did not work.

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Determining the Location of the Update Client

Postby FrancescoT » Mon Jan 20, 2014 5:09 am

:D
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 113 guests