Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 5 of 5
  1. #1
    Join Date
    Nov 2008
    Location
    Göttingen, Germany
    Posts
    77

    Huh? Registry resource entry dialog

    Using SUF 8.1.1006.0
    I'm a newbe on Setup Factory. To add and remove registry keys, I have to do this within the action script. Am I right?. Uninstall may be done with UninstallData.AddItem(UNINDATA_SCRIPTS, sItemData);, tricky but OK.

    I'm missing the possibility to insert registry key and values into a project dialog. The key and values should be installed and automaticly uninstalled when the uninstaller runs. The key and value should be constant strings or session variables or localized variables.

    That would be a great feature.

  2. #2
    Join Date
    Jul 2001
    Location
    Indigo Rose Software
    Posts
    1,834
    I'm not sure I understand your suggestion/question. When you're referring to UninstallData.AddItem, were you wanting to add functionality to an existing uninstall that they have not run, instead of the current install being run and created?

    Normally the procedure is to use the Registry category actions to create the registry entries during the install on either project or screen events, and then create another set of registry actions to undo what you've created using the same Registry category actions, but this time on the uninstall project or screen events. So in this case, you would not need the UninstallData actions.

    I may need further details to help understand the functionality that is missing.

    Thanks.
    Darryl
    Indigo Rose Corporation

    Product Guides: AMS80 | SUF9 | TU30 | VP30 |MSIFACT |DeltaMAX

  3. #3
    Join Date
    Nov 2008
    Location
    Göttingen, Germany
    Posts
    77

    Suggestion: SUF with input dialog for registry resource

    Hi, Darryl,

    thanks for your reply. This feature was part of my previous installer tool. It was very easy to add a registry entry without any scripting.

    Our product needs add a lot of values added into the registry, they should be deleted on uninstall. Within SUF I have to do this, for e.g. within "On Post Install" action, with scripting. Am I right? This is a nice feature and I won't miss it, but sometimes a lot of work to do.

    I'll try to explain my suggestion for a second easy way to add values to the registry. A new entry dialog that might be used to add entries, values, keys to the registry where ever you want to have them. Like the Windows registry editor with HKEY_CLASSES_ROOT, HKEY_CURRENT_USER, HKEY_LOCAL_MACHINE, HKEY_USERS entry shown. Session Variables should be allowed and expanded automaticly.
    A start point may be SUF menu Resources/Registry or Project/Registry to open the new dialog. It would be nice to create more than one registryset. A registryset might be linked with a package, so that it would only be installed, if the package is installed. Before "On Post Install" might be a appropriate time to install the registryset. Another solution might be a new buildin function named Registry.CreateRegistrySet(string NameOfRegistrySet=NIL). If the parameter is left empty, all the registry sets would be created. The uninstall has to delete the values.

    Code:
    -- create registryset from resource
    Registry.CreateRegistrySet("RegistrySet#1");
    error = Application.GetLastError();
    Attached I have an example of the entry dialog for registry resources.



    Best regards
    Udo
    Attached Files

  4. #4
    Join Date
    Nov 2008
    Location
    Göttingen, Germany
    Posts
    77
    Hi, Darryl,

    or anyone for IR Staff, I don't have any feedback if my second description of the suggestion is now better to understand. If you need more or another description of my suggestion, please let me know.

    Best regards
    Udo

  5. #5
    Join Date
    Jun 2000
    Location
    Indigo Rose Software
    Posts
    1,943
    This has been added to our suggestion database.

    You might also want to look at the advanced Import Registry Values option in the Setup Factory script editor. You can access it via the Advanced button.

    REF: 18686
    MSI Factory The Next Generation Intelligent Setup Builder

Similar Threads

  1. Remove quotation marks from a registry entry pathname?
    By Jan Kohl in forum Setup Factory 7.0
    Replies: 1
    Last Post: 05-17-2008, 01:29 PM
  2. Bootstrapped installer doesn't set registry entry
    By garthk in forum MSI Factory 2.0 Discussion
    Replies: 2
    Last Post: 03-12-2008, 01:52 PM
  3. Adding registry Values based on Dialog entry
    By nickw in forum MSI Factory 2.0 Discussion
    Replies: 4
    Last Post: 02-27-2008, 10:30 AM
  4. Displaying dialog if registry entry is not present
    By kmartin7 in forum AutoPlay Media Studio 5.0
    Replies: 1
    Last Post: 09-02-2004, 01:04 PM

Posting Permissions

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