Reply to Thread

Post a reply to the thread: how to do an "if registry..." statement

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)

  • 04-04-2019, 06:48 AM
    matt55

    Re: how to do an "if registry..." statement

    thank you
  • 12-14-2018, 05:16 PM
    lmodern1878

    Re: how to do an "if registry..." statement

    Quote Originally Posted by linder View Post
    Hello,

    sorry for my late reply. Missed this thread.

    From the technical point-of-view, it's possible and no problem. But do you have all the registry key and value names? First step is always "how to do it without SetupBuilder". Then we can help to convert this to SetupBuilder.

    Friedrich
    Yes, I do know which Kees have to be gotten rid of to reset the trial period:
    On XP and previous: HKLM/Software/Chariot Software Group/App-specific kry(s)
    On vista and above: HKEY_CLASSES_ROOT/VirtualStore/Machine/Software/Chariot Software Croup/ app-specific key(s)

    If they exist, the trial counts down, if they don’t exist the trial resets to 30 days and effectively de-registers the product(s). I would love to build a key generator for these apps but that might take awhile as my budget just got a squeeze put on it. Long story, so for now I’ll have to build a trial reset until I can pay to outsource the building of a key generator
  • 12-11-2018, 10:37 AM
    linder

    Re: how to do an "if registry..." statement

    Hello,

    sorry for my late reply. Missed this thread.

    From the technical point-of-view, it's possible and no problem. But do you have all the registry key and value names? First step is always "how to do it without SetupBuilder". Then we can help to convert this to SetupBuilder.

    Friedrich
  • 11-15-2018, 11:03 AM
    lmodern1878

    how to do an "if registry..." statement

    Hi:

    I'm building a universal product trial reset tool for software that is no longer being made since the vendor is no longer in business and I'm hitting a snag:

    The idea is as follows:
    1. do the software's license control registry keys exist if so, where? store the registry path to the vendor key in a variable since all supported software keys are always under the one vendor key.
    1.1 if the software's keys exist, set a variable to 1, if not set to 0
    2. if they do exist, which one(s)? store the names of the keys for each product in the variables
    3. if none of the three possible keys exist, pop up a dialog telling the user no supported software was found and exit
    4. if the one or more of the supported software's license control keys are found, show a the radio buttons dialog with options for each of the three products or reset all. Depending on which products exist gray out the options on the dialog for the products that don't exist on the user's system.
    5. based on the user's selection in the radio button dialog, delete the appropriate registry key(s)

    I've got the radio button selection figured out so if a user chooses radio option #1 it deletes the vendor key thus resetting all supported installed products, if user choose any of the remaining options it deletes the key for the specific program but not the whole vendor key and its subkeys. where the snag I'm running into is items 1 through 3. Any idea how to accomplish this?

Posting Permissions

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