R.Mueller
Posts: 202
Joined: Thu Aug 02, 2012 3:31 pm

Improved Registry Edit and Key Handling

Hi,

currently I am building a new setup with hundreds of registry keys in it. Its a pain to integrate all the keys with Advanced Installer and assign to specific components. The final result I would like to achieve is a single component containing a file together with all registry entries for this file.

To do so, I need to add the file, and then insert all the keys in registry view. Later on I have to manually find all components containing all the registry keys I have imported before and to manually assign it to my target component.

It would be helpful, if I could assign the keys directly from registry view to a specific component and to have a option to keep the keys together in one component instead of creating a single component for each part of a registry key or value. Additionally an improved view of the registry settings inside the component would be very helpful to understand, if some parts of the registry settings are missing.

Until now I only have a endless list of keys:
RegView.jpg
RegView.jpg (7.77 KiB) Viewed 28923 times
why not show it similar like this:
RegView2.jpg
RegView2.jpg (7.35 KiB) Viewed 28923 times
Regards,

R.Müller
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Improved Registry Edit and Key Handling

Hi,
It would be helpful, if I could assign the keys directly from registry view to a specific component and to have a option to keep the keys together in one component instead of creating a single component for each part of a registry key or value.
I added this improvement on our TODO list and it will be available in a future version. Thank you for your suggestion.
Additionally an improved view of the registry settings inside the component would be very helpful to understand, if some parts of the registry settings are missing.
We will consider improving this in a future version. Thank you for your suggestion.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
R.Mueller
Posts: 202
Joined: Thu Aug 02, 2012 3:31 pm

Re: Improved Registry Edit and Key Handling

Hi Cosmin,

It is also very important for us, to share registry keys between components. This usually happens, when you use 32-bit and 64-bit files in the same project. Registry extraction also does not work in such a case, because the second file contains same keys, which are already exists in this project (or at least AI thinks, they are already exists, maybe they are installed to HKLM\CLSID and HKML\Wow6432Node\CLSID depending on 32-bit or 64-bit components).

Bogdan from support recommends me to follow http://www.advancedinstaller.com/user-g ... istry.html, which may be an appropriate workaround for single keys, but my problem is, that I have some hundreds of registry keys needed to be created by hand in this way.

My proposal would be to allow sharing of registry keys between different components. I could create an individual component for the 32-bit and 64-bit file, share the keys I want to share between the two components and set one to be a 64-bit component. Registry key/value creation and registry reflection need to follow this setting as well. But maybe there is a better way to solve this problem somehow.

What do you think about this issue?

Regards,

Roland
Bogdan
Posts: 2791
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Improved Registry Edit and Key Handling

Hi Roland,
My proposal would be to allow sharing of registry keys between different components...
I'm afraid due to design limitations this is not possible. What is possible is the sharing of a component between multiple features, by pressing "SHIFT" and dragging the component under the desired feature.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
R.Mueller
Posts: 202
Joined: Thu Aug 02, 2012 3:31 pm

Re: Improved Registry Edit and Key Handling

Hi Bogdan,

What about the idea of an improved registry view inside of components instead of the endless list of registry keys? I have had already a long discussion with Mihai about that, but he declined this idea as well.

I don't understand your point here, because everyone who has to maintain a larger number of keys in his projects is getting some trouble with the current situation. For example, I have to manage over 8.000 registry entries in my project and, surely they are saved not only in one, but into several components. Currently it is hard to get an overview about the keys, for example if some specific keys are missing or some others went to the wrong component. Furthermore it would be nice to filter the registry view by feature and/or by component. Additionally there is the fact, that if you use 32/64-Bit package you may have to add keys to the same location in registry view, but its not possible. You mentioned in http://www.advancedinstaller.com/user-g ... istry.html, that AI can not handle duplicate keys or values, "but the "Registry" table inside the MSI supports them". So, why not make it possible in registry view as well? I just add the same value to different components, one is 32-Bit, second is a 64-Bit component and on the target system they are installed either to HKLM\Software or HKLM\Software\Wow64 ... so, again, I don't believe, that I am the only one, installing more than a couple of registry keys at all and getting into trouble with the registry keys.

I understand, that there are some design limitations due to Windows Installer rules and best practice recommendations. But still I have to manage those thousands of keys somehow - ANY optimization would be helpful to make the life easier.

Regards,

Roland
R.Mueller
Posts: 202
Joined: Thu Aug 02, 2012 3:31 pm

Re: Improved Registry Edit and Key Handling

Hey Advanced Installer!

I can't see any change with the registry handling with AI 10.3 (compared to 9.x). Do you plan further improvements here in (one of the next) future versions?

Regards,

Roland
Daniel
Posts: 8238
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Improved Registry Edit and Key Handling

Hello Roland,

Maybe we'll consider this in a future version of Advanced Installer, but for the moment there are not immediate plans. Thank you for your understanding.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
R.Mueller
Posts: 202
Joined: Thu Aug 02, 2012 3:31 pm

Re: Improved Registry Edit and Key Handling

Hi Daniel,

please THANK ALL ADVANCED INSTALLER DEVELOPERS and the support team.

Finally, this feature request made it into Advanced Installer 11. Its a big improvement, well done !!! :D :D

Regards,

Roland
Daniel
Posts: 8238
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Improved Registry Edit and Key Handling

You're always welcome Roland.

We also want to thank you for all of your useful suggestions and for helping us making Advanced Installer a better product. We really appreciate your contribution to this new feature.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
clint
Posts: 135
Joined: Fri Jun 19, 2009 9:46 am
Location: Germany

Re: Improved Registry Edit and Key Handling

Today I have been checking up on the changes made in AI 11.0 vs. the 9.8 version I am currently using, and saw this too.

Thank you for making this change!

c clint
Daniel
Posts: 8238
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Improved Registry Edit and Key Handling

You're welcome Clint.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Feature Requests”