Reply to Thread

Post a reply to the thread: Shared DLL counter

Your Message

Click here to log in

What's the name of our main installation product (in uppercase letters), directly followed by the current year?

 

You may choose an icon for your message from this list

Additional Options

  • Will turn www.example.com into [URL]http://www.example.com[/URL].

Topic Review (Newest First)

  • 06-27-2012, 10:13 AM
    linder

    Re: Shared DLL counter

    Yes, if the file already exists, the "Check File" replacement option is enabled and the installer does not replace the file then the installer increments the Shared counter by 1.

    Friedrich
  • 06-27-2012, 09:09 AM
    Chris

    Re: Shared DLL counter

    Ooh. Almost but not quite answered my question :-)

    Assuming "Register as Shared File" option enabled.
    Shared File registry entry exists.
    File already exists, but is same version as SB is wanting to install.
    1. SB does not install or overwrite file.
    2. Does SB increment the counter by 1 ? (I think it should do. Because file may be also used by another app).
  • 06-21-2012, 08:08 AM
    linder

    Re: Shared DLL counter

    Chris,

    Assuming, you have the "Register as Shared File" option enabled. If a shared file registry entry exists, the count will be incremented by one (if file already exists and date/version of the file is equal or newer). If a shared file registry entry does not exist, one will be added and set to one.

    If a shared file registry entry exists, the file will only be "removed" if the counter is 0.

    Friedrich
  • 06-21-2012, 07:51 AM
    Chris

    Shared DLL counter

    Can you tell me how SetupBuilder behaves with regard setting the registry entry SharedDLLs for files it installs and uninstalls.

    1. if I go to install a DLL (with check version set), and SB finds it does
    not need to actually install the file, does the counter get incremented?

    2. if I go to install a DLL (with ALWAYS set), then I guess SB will
    increment the counter?

    3. When SB is told uninstall a DLL, I guess that if counter is > 1
    then the counter is decreased by 1 but the file not removed?

    4. When SB is told to uninstall a DLL, if counter is 1 then
    I guess SB will remove the file and the registry entry??


    (I find that in my registry some counters for MY software have high values due to me having installed it many times (using previous installer)).

Posting Permissions

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