Indigo Rose Software
  #1  
Old 11-12-2008
SetupJuggler SetupJuggler is offline
Indigo Rose Customer
 
Join Date: Nov 2008
Location: Göttingen, Germany
Posts: 62
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.
Reply With Quote
  #2  
Old 02-05-2009
Darryl's Avatar
Darryl Darryl is offline
Indigo Rose Staff Member
 
Join Date: Jul 2001
Location: Indigo Rose Software
Posts: 1,602
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: AMS70 | SUF80 | TU30 | VP30 |MSIFACT |DeltaMAX
Reply With Quote
  #3  
Old 03-03-2009
SetupJuggler SetupJuggler is offline
Indigo Rose Customer
 
Join Date: Nov 2008
Location: Göttingen, Germany
Posts: 62
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
File Type: zip Suggestion_registry_resource.zip (19.1 KB, 17 views)
Reply With Quote
  #4  
Old 05-07-2009
SetupJuggler SetupJuggler is offline
Indigo Rose Customer
 
Join Date: Nov 2008
Location: Göttingen, Germany
Posts: 62
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
Reply With Quote
  #5  
Old 06-03-2009
Mark's Avatar
Mark Mark is offline
Indigo Rose Staff Member
 
Join Date: Jun 2000
Location: Indigo Rose Software
Posts: 1,773
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
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


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


All times are GMT -6. The time now is 02:28 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright © 2000 - 2009 Indigo Rose Corporation. All rights reserved.
Indigo Rose Software