Page 1 of 1

Determining the Location of the Update Client

Posted: Sun Jan 19, 2014 5:36 pm
by glenharvy
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?

Re: Determining the Location of the Update Client

Posted: Sun Jan 19, 2014 9:49 pm
by glenharvy
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.

Re: Determining the Location of the Update Client

Posted: Mon Jan 20, 2014 5:09 am
by FrancescoT
:D