0

I am using the following link that provides an example on how to create an IE custom download manager. The example is rather simple but when I install and run it , it does not work... I think the reason is that the it supposed to change the resitry key HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\DownloadUI but I do not see it does that...

Any idea...? (Thanks)

Dafna
  • 181
  • 1
  • 2
  • 14
  • So you did build that project, including the setup project and then ran the msi that came out of it, right? – rene Jul 04 '16 at 09:03
  • Yes, Installation passed successfully – Dafna Jul 04 '16 at 09:07
  • create a log file and check if the key is created: http://stackoverflow.com/questions/7126077/create-an-msi-log-file – rene Jul 04 '16 at 09:35
  • The registry key is not created from the MSI file (it is not in the setup). It is in part of the Register() method of the IEDownloadManager class (which inherits from IDownloadManager). Maybe the method is not being called..? – Dafna Jul 04 '16 at 12:47
  • Here is the Register method: [System.Runtime.InteropServices.ComRegisterFunction] public static void Register(Type t) { string ieKeyPath = @"SOFTWARE\Microsoft\Internet Explorer\"; using (RegistryKey ieKey = Registry.CurrentUser.CreateSubKey(ieKeyPath)) { ieKey.SetValue("DownloadUI", t.GUID.ToString("B")); } } – Dafna Jul 04 '16 at 12:49

0 Answers0