Results 1 to 4 of 4

Thread: Adding key to registry seems not allways to work - UAC Question?

  1. #1

    Default Adding key to registry seems not allways to work - UAC Question?

    I have theese lines in my install:
    ::Registry Key "HKLM\Software" (Always Install)
    ::Registry Key "HKLM\Software\Easyplan" (Always Install)
    ::Registry Value (REG_SZ) "HKLM\Software\Easyplan\ImagePath" =
    %_SB_INSTALLDIR% (Always Install)

    On my PC, It works like a charm - Of Cause its SB7.1 :-).
    At a customers site, I do not get the result of this adding in my program.
    I have no possibility of checking about the key is added at the site
    unfortunately, but I wonder about the reason could be, that a security
    setting forbids me to add at this particular place in the registry.

    Edvard Korsbęk

  2. #2

    Default Re: Adding key to registry seems not allways to work - UAC Question?

    Edvard,

    > On my PC, It works like a charm - Of Cause its SB7.1 :-).
    > At a customers site, I do not get the result of this adding in my program.
    > I have no possibility of checking about the key is added at the site
    > unfortunately, but I wonder about the reason could be, that a security
    > setting forbids me to add at this particular place in the registry.

    Perhaps the other machine is running a Windows 64-bit operating system and
    so the key is not written to HKLM\Software\Easyplan\ImagePath but to
    HKLM\Software\Wow6432Node\Easyplan\ImagePath?

    If they send you the uninstall .log then you can check whether the key has
    been written. If it is not in the log then it was not written.

    Does this help?

    Friedrich

  3. #3

    Default Re: Adding key to registry seems not allways to work - UAC Question?

    The corresponding lines in the uninstall is:
    |017|C:\Program Files\BBSOFT\EASYPLAN
    |015|ImagePath
    |014|Software\Easyplan

    So they are added.

    Perhaps ot, but the corresponding Clarion line is:
    GETREG(REG_LOCAL_MACHINE,'Software\EasyPlan','Imag ePath')
    At another place (With the same props.) i find that the key is
    SOFTWARE/Easyplan/ImagePath

    Is this call case sensitive?
    If so, why is 'SOFTWARE' not 'Software'

    Edvard Korsbęk

  4. #4

    Default Re: Adding key to registry seems not allways to work - UAC Question?

    Hi Edvard,

    > The corresponding lines in the uninstall is:
    > |017|C:\Program Files\BBSOFT\EASYPLAN
    > |015|ImagePath
    > |014|Software\Easyplan
    >
    > So they are added.
    >
    > Perhaps ot, but the corresponding Clarion line is:
    > GETREG(REG_LOCAL_MACHINE,'Software\EasyPlan','Imag ePath')
    > At another place (With the same props.) i find that the key is
    > SOFTWARE/Easyplan/ImagePath
    >
    > Is this call case sensitive?
    > If so, why is 'SOFTWARE' not 'Software'

    Registry keys are not case sensitive. I see "C:\Program Files" in your .log
    (and I assume your have not hard-coded the path nor do you have a 64-bit
    mode installer), so it's a 32-bit Windows version.

    Because the above entries are in the .log, the installer created the keys
    and values. Otherwise, they would not be in the .log. They are only logged
    if the Windows APIs to write registry entries succeeded.

    Friedrich

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •