Announcement

Collapse
No announcement yet.

Error reading registry key

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Error reading registry key

    Hi,

    I have the following code :

    Code:
    if (not Registry.DoesKeyExist(HKEY_CLASSES_ROOT, "CielGestionCommerciale.Application\\CLSID")) then
    	Dialog.Message( "Warning", "App is not registered on this pc !");
    	Application.Exit();
    	else
    	CielGestionCLSID = Registry.GetValue(HKEY_CLASSES_ROOT, "CielGestionCommerciale.Application\\CLSID", "");
    	Dialog.Message("CLSID", CielGestionCLSID );
    end
    I want to get the (Default) value of the CLSID and according to the documentation, I must pass "" as parameter.

    Any clue ?
    thanks in advance,
    Domi.

    the Registry.DoesKeyExist works fine but I get the following error on the Registry.GetValue :

    Code:
    On Startup, Line ..:3 arguments required.
    Stack Traceback...

  • #2
    You may be looking at the wrong line of code. Please set your installation log file to "Extended Errors", run the installer and post the log file.

    Ulrich

    Comment


    • #3
      Hi Ulrich,

      I have checked the line number 2 times but it's ok, I'll post the log file next way (I'm on the go now).

      Sincerly,
      Domi.

      Comment

      Working...
      X