|
#1
|
|||
|
|||
|
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
|
||||
|
||||
|
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. |
|
#3
|
|||
|
|||
|
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();
Best regards Udo |
|
#4
|
|||
|
|||
|
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
|
||||
|
||||
|
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 |
![]() |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
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.








Linear Mode

