Is there a way to save component's registry settings from Target Designer or MSDE?

  • Thread starter Thread starter aalekseyev
  • Start date Start date
A

aalekseyev

I have an urgent need to add some components to units deployed in the
filed without reloading whole image. There's no DUA at this point, so
the only way to do it would be to collect registry information and
files manually and then copy/install them using a script.
However, the problem is that I cannot export/extract registry keys and
files from the database.

Is there away to get at least registry keys saved somehow for specific
components? I can collect files manually, but not the registry data,
since there's way too much of it.

Thank you in advance,
Alex
 
hmm, yes you could do it by browsing through the database but even I
wouldn't relish that job, way too difficult and time consuming since the reg
data is all over the place, but indexed by component VIGUID in another
table.

You can view the settings for components in Target Designer and access the
regkeys that way. There's no easy way to export that data other than
manually.

Here's my recommendation-
Another thing you could do would be to start with a blank configuration in
Target Designer, add just the components you want to service, do *not* run
check dependencies, then build the config (you won't be booting this, you
want to capture the reg keys). The runtime you just built will have all the
keys you're looking for (there might be one or two from a hidden prototype
but it should be obvious to you). You can mount those hives using regedit,
then export the keys to a .reg file or .txt file. You may need to do a
little clean up though since the exported keys will show they came from the
hive you alias'ed and not Software / System. All in all you could do this in
about 15-30 minutes.

Let me know how it goes, it should be a nice little hack that I may blog
about if it works for you. <grin>
 
Andy,

I think this is a very bright idea! I wonder why I did not think about
it myself? :)
I was able to get hive loaded and then exported it to .reg file. From
there its all peanuts :)

Thank you so much!
Alex
 
Andy/Alex

Andy, the way you have mentioned will work without any issues.

I used to do the same way in my field jobs.

I prepare new runtime.
Launch my regedit and load the hive i wanted from config file
export the registry
and use find and replace command to rename the hive name to original
and thats it..

You cna export the resgistry to the filed image straightaway.

I thought of putting this in my blog about this article.

Magesh.
http://embedxp.blogspot.com
 
Back
Top