[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [amibroker] Copying registry keys across computers



PureBytes Links

Trading Reference Links

That was EXACTLY what I was trying to accomplish. I did a full install on the new computer, then tried to save myself the trouble of restoring all my customizations (preferences, database settings, custom layers, toolbar buttons etc.)

 

I only restored HKEY_CURRENT_USER\Software\TJP\Broker key (there is no need to delete it before importing, it get overwritten by the new key). Anyway the result was that I got everything I wanted, except for the fact that the right hand side tab labels (Layers, Symbols, Layouts…) were all mixed up and did not match the contents of the tab. Functionality was ok. It was just an inconvenience.

 

Joseph Biran
____________________________________________

From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of Steve Dugas
Sent: Thursday, April 17, 2008 1:31 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: Re: [amibroker] Copying registry keys across computers

 

Thanks TJ - I did run full setup of 5.0 and then copied over all files/directories. But the look is different, i.e. toolbars etc.  Over the years I have made many changes to customize the UI, which I would like to duplicate on the 2nd computer. Since copying all files did not "fix" it I thought maybe this info is stored in the registry - is that correct?

 

Steve

----- Original Message -----

Sent: Thursday, April 17, 2008 2:53 PM

Subject: Re: [amibroker] Copying registry keys across computers

 

Hello,

 

You need to run FULL SETUP  first. Only then you can copy files. Otherwise it may not work properly because

of missing OLE server reg.

Nothing important is really saved in the registry (only some run time info such as on/off state of crosshair and

most recently used formula), therefore it is advised not to play with registry if you are not Windows poweruser.

Anyway before playing with registry, it is best to use disk image program such as trueimage to perform full backup of windows.

Other than that importing/exporting registry entries is valid procedure *IF* performed correctly.


Best regards,
Tomasz Janeczko
amibroker.com

----- Original Message -----

From: Steve Dugas

Sent: Thursday, April 17, 2008 8:08 PM

Subject: Re: [amibroker] Copying registry keys across computers

 

Hello Joseph and TJ,

 

OK, have had a chance now to open RegEdit and poke around a little. Haven't changed anything yet but what if I did this?....

 

On source computer, export entire TJP section of both keys and copy the 2 files over to the destination computer.

 

Then on destination computer, backup registry and then delete entire TJP section of both keys and import the files from the source computer. Think this would work well?  Thanks for any advice!

 

Steve

----- Original Message -----

From: Steve Dugas

Sent: Thursday, April 17, 2008 1:28 PM

Subject: Re: [amibroker] Copying registry keys across computers

 

Thanks Joseph, that is really very helpful - given your problems, perhaps TJ could comment on whether he thinks this procedure is safe to do?

 

Steve

----- Original Message -----

From: J. Biran

Sent: Thursday, April 17, 2008 12:09 PM

Subject: RE: [amibroker] Copying registry keys across computers

 

 

1.    Backup the destination registry key you want to import over first, open C:\WINDOWS\regedit.exe on destination computer, find the key you are interested in importing later, right click on it and select Export. Give it a location and a name you will know what it is. This will create a YourOriginalKey.reg file.

2.    Save the source registry key, open C:\WINDOWS\regedit.exe on source computer, find the key you are interested in backing up, right click on it and select Export. Give it a location and a name you will know what it is. This will create a YourNewKey.reg file.

3.    Copy the YourNewKey.reg file to the destination computer anywhere, and double click on the file. click ok to import the key into the registry.

 

I have to caution you that this may not be a good idea. A while ago I tried to restore one of those keys into a newly installed computer, and ended up with mislabeled left hand side tabs in AB. Since I did not perform step one, I could not revert to the original. Surprisingly, this could not be fixed even not with uninstall and reinstall of AB!! It stayed like this until I rebuilt windows from scratch next time.



Joseph
Biran
____________________________________________

 

From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of Steve Dugas
Sent: Thursday, April 17, 2008 8:11 AM
To: Yahoo - AmiBroker
Subject: [amibroker] Copying registry keys across computers

 

Hi Guys - I have installed AB on a second computer, then copied over all AB files and directories from my main computer. It works great but it *looks* different. I believe TJ has said in the past that this can be corrected by copying over these registry keys:

 

HKEY_LOCAL_MACHINE\Software\TJP\Broker

and

HKEY_CURRENT_USER\Software\TJP\Broker

 

My question is, what is the best way to copy these sections of the registry from one computer to another?  I would obviously hate to do something wrong and corrupt the registry of the "destination computer". Thanks very much!

 

Steve

__._,_._

__._,_.___

Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

For other support material please check also:
http://www.amibroker.com/support.html




Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___