This may help. I have used the list below many times to copy my AB
setup running on Win XP to my Win Vista laptop when I travel. It's
worked for me - many times.
ReefBreak
AB must be installed on the target machine before you start.
AB should not be running on either machine, all files should be closed.
1. Copy the stocks database folder
copy c:\YourLocation\US-Stocks to the target computer
2. Copy the formulas folder
copy c:\Program Files\AmiBroker\Formulas to the target computer
3. Copy the broker.newcharts file
Copy c:\program files\amibroker\broker.newcharts to the target
computer
4. Copy the Layouts folder
Copy c:\Program files\Amibroker\Layouts to the target computer
5. Copy the Watchlist files
copy c:\yourlocation\*.tls to the target computer
--- In amibroker@xxxxxxxxxps.com,
"bingk66" <bing.kwok@x..> wrote:
>
> Hi Tomasz,
>
>
> Thank you for your detailed response.
>
> I did run the full setup of Amibroker V5.20. The result of this
full setup was that the Amibroker directory was created under
C:\Program Files (x86). Seeing how the install program already created
the Amibroker directory, I had assumed that it was safe, perhaps
naively, that it was possible to substitute the contents of one
Amibroker directory with another. I seem to recall support mentioning
that it was OK to copy the entire AMibroker directory across if you
wanted to keep all your data, formulas, layouts chart setup etc etc
identical to what you had in the original computer. Perhaps that advice
from support was not applicable to Vista or 7, only to XP.
>
> In view of what you have just said, is there a simple and safe way
to copy across all the data, formulas, layouts chart setup etc etc from
the old computer without copying the entire Amibroker directory ?
>
> --- In amibroker@xxxxxxxxxps.com,
Tomasz Janeczko <groups@> wrote:
> >
> > Hello,
> >
> > Quote from the user:
> > "I copied the entire Amibroker directory from my old computer
onto the
> > C:\Program files
> >
> > (x86) directory in the new computer and started up Amibroker."
> >
> >
> > Wrong!
> >
> > All your problems come from the fact that you have copied
files manually,
> > instead of running full setup from
> > http://www.amibroker.com/bin/AmiBroker520.exe
> > to install AmiBroker into FINAL directory.
> >
> > You can not just copy files in Windows 7 inside "Program
Files" or
> > "Program Files (x86)"
> > because these directories are PROTECTED (even under admin
account) and
> > Windows
> > will redirect all write to virtual folders.
> >
> > Running FULL SETUP is absolutely necessary on Windows VISTA
and Windows 7.
> >
> > Without running FULL SETUP Windows Vista and Windows 7 will
use its
> > folder virtualization.
> > http://support.microsoft.com/kb/927387
> >
> >
> > Running setup is a MUST because only setup programs are
allowed in
> > Windows Vista / 7 to
> > write to Program Files and allow programs to actually have
write access
> > subdirectory.
> > The setup program will enable write rights to AmiBroker
directory and
> > only then you
> > will be able to actually create files inside without being
redirected by
> > Windows Folder Virtualization.
> >
> > So once again:
> > 1. DELETE everything by hand.
> > 2. RUN FULL SETUP http://www.amibroker.com/bin/AmiBroker520.exe
> > and select proper FINAL directory.
> > DO NOT COPY anything by hand.
> >
> > Best regards,
> > Tomasz Janeczko
> > amibroker.com
> >
> > On 2010-03-04 10:25, bingk66 wrote:
> > > Hi Mike,
> > >
> > > Using the Dir command from good old DOS has shed some
light on my problem. Everytime I update a formula from within
Amibroker, a new file is created inside the C:\Users\Bing\AppData\Local\VirtualStore\Program
Files (x86)\Amibroker\Formulas\Custom folder. From what I can
tell, this is the directory that Amibroker (or Windows 7) will look
into first to find whatever files it need. If it finds it there, it
will use that version.
> > >
> > > If it does not find the file that it requires, it will
then go to
> > >
> > > C:\Users\Bing\Program Files (x86)\Amibroker\Formulas\Custom
> > >
> > > The problem that I have is that everytime I update a
formula within Amibroker, a new version of the file is created in
C:\Users\Bing\AppData\Local\VirtualStore\Program Files
(x86)\Amibroker\Formulas\Custom. This results in 2 different
versions kept of each updated file which is a pain to say the least.
Also I cannot use Windows Explorer to zoom down to this directory
because it does not recognise the AppData directory
> > >
> > > Would you have any idea why this is happening ??
> > >
> > > Bing
> > >
> > > --- In amibroker@xxxxxxxxxps.com,
"Mike"<sfclimbers@> wrote:
> > >
> > >> That being the case, all I can suggest is double and
triple check the complete path of the file that you are drilling down
to via Explorer vs. the path that shows up in the Save As dialog. It
sounds like you're looking at two different copies of the file.
> > >>
> > >> If you're not used to Windows 7, but can still
access a command prompt, just use good ol' DOS to find all copies of
the file:
> > >>
> > >> To get to the root drive you can do:
> > >>
> > >> cd \
> > >>
> > >> From root drive do this:
> > >>
> > >> dir /s myfile.afl
> > >>
> > >> Do not type in any directory paths, just type the
name of your file ignoring all directories, the /s flag will cause a
deep search of all subdirectories (i.e. the entire drive since you are
starting from root).
> > >>
> > >> Mike
> > >>
> > >> --- In amibroker@xxxxxxxxxps.com,
"bingk66"<bing.kwok@> wrote:
> > >>
> > >>> Hi Mike,
> > >>>
> > >>> It means that I shutdown Amibroker, then using
windows explorer go into the C:\program files (x86)\Amibroker
directory, dive down all the way to the folder that contain the afl
file that I had just modified within AB. I then open that AFL file
using a simple text editor like notepad and have a look.
> > >>>
> > >>> --- In amibroker@xxxxxxxxxps.com,
"Mike"<sfclimbers@> wrote:
> > >>>
> > >>>> Bing,
> > >>>>
> > >>>> What *exactly* are you doing when you say
"when I have a look at the file outside of AB"?
> > >>>>
> > >>>> Mike
> > >>>>
> > >>>> --- In amibroker@xxxxxxxxxps.com,
"bingk66"<bing.kwok@> wrote:
> > >>>>
> > >>>>> Hi Mike and Keith,
> > >>>>>
> > >>>>> Thanks for your prompt responses.
> > >>>>>
> > >>>>> I tried using the save as option within
the File save option and it tells me that the directory it was trying
to save the file into is indeed C:\Program Files (x86)\Amibroker ....
etc. So I actually went ahead and did the save and it all appears to
work within AB. However, when I have a look at the file outside of AB,
once again it does not reflect the changes.
> > >>>>>
> > >>>>> It looks like I will have to follow
Keith's suggestion of uninstalling AB from c:\program files (x86) and
then reinstalling it back into C:\program files. However, before doing
that, my problem now is that I like to backup the work done in Windows
7, but I cannot do it because I don't know where the actual files are
kept. To physically go through and identify all the changes within
Windows 7 would be a very time consuming and error prone exercise which
I am hoping to avoid.
> > >>>>>
> > >>>>> AB must be storing these formulas
outside of C:\Program Files (x86) because when I am working with the
formulas within AB, it displays the absolute latest versions of the
code, right down to the indentings, comments, tabs etc etc and those
details must surely be stored somewhere.
> > >>>>>
> > >>>>> Bing
> > >>>>>
> > >>>>> --- In amibroker@xxxxxxxxxps.com,
Keith McCombs<kmccombs@> wrote:
> > >>>>>
> > >>>>>> Bingk --
> > >>>>>> This would be a great opportunity to
rant against the idiots at M$ for
> > >>>>>> making such un-user-friendly
software. They could have kept \Program
> > >>>>>> Files\ for 32bit programs. And made
a new folder called \Program Files
> > >>>>>> 64\ for 64bit programs. But that
would be too easy for us users. And
> > >>>>>> M$ will probably sell more
'upgraded' software this way. End of rant.
> > >>>>>>
> > >>>>>> There are probably many ways to
solve your problem. This is the way I
> > >>>>>> did. When installing AB (32bit
version) do not install in the default
> > >>>>>> folder, \Program Files (x86)\.
Instead install it in \Program Files\.
> > >>>>>> Continue until you are asked for
your working folder. Then set that to
> > >>>>>> \Program Files\ also. Now copy the
entire Amibroker directory from your
> > >>>>>> old computer onto the C:\Program
files\. That's it.
> > >>>>>>
> > >>>>>> Well not all of it. BEFORE you do
the above, the safest thing is to
> > >>>>>> save any Win7 AB work, .afl files,
that you want to some folder outside
> > >>>>>> of \Amibroker\. Then uninstall AB
from \Program Files (x86)\. Then go
> > >>>>>> to the paragraph above.
> > >>>>>>
> > >>>>>> BTW, Amibroker is available as a
64bit program also. But DON'T try to
> > >>>>>> use it yet. Get the 32bit version
working to your satisfaction first.
> > >>>>>> Then if you feel you want to try the
64bit, after there is at least a
> > >>>>>> 5.30 version, it is simple to
install, and still have the 32bit to fall
> > >>>>>> back on. Just ask again for how to
do it.
> > >>>>>>
> > >>>>>> Hope this helps,
> > >>>>>> -- Keith
> > >>>>>>
> > >>>>>>
> > >>>>>>
> > >>>>>> On 3/2/2010 22:55, bingk66 wrote:
> > >>>>>>
> > >>>>>>> Hi all,
> > >>>>>>>
> > >>>>>>> I have just bought a new
computer that runs Windows 7 Home Premium. I
> > >>>>>>> subsequently installed Amibroker
V5.2 Full version. Unlike previous
> > >>>>>>> versions of Amibroker in my
previous computer whereby the Amibroker
> > >>>>>>> directory was found in
C:\Program Files\, this particular installation
> > >>>>>>> on my new computer has the
Amibroker directory located in the
> > >>>>>>> C:\Program Files (x86)\ instead,
which I thought was a little strange
> > >>>>>>> but OK, as Amibroker seems to be
working well.
> > >>>>>>>
> > >>>>>>> Now as part of my migration into
the new computer, I copied the entire
> > >>>>>>> Amibroker directory from my old
computer onto the C:\Program files
> > >>>>>>> (x86) directory in the new
computer and started up Amibroker. Once
> > >>>>>>> again, all my formulas and
charts seem to work OK, Amibroker appears
> > >>>>>>> to be refering to the correct
directory, so no problems.
> > >>>>>>>
> > >>>>>>> After making some changes to
some formulas within Amibroker, I saved
> > >>>>>>> my work and exited Amibroker. I
then went into the C:\ Program files
> > >>>>>>> (x86)\Amibroker to check that
the changes that I had made within
> > >>>>>>> Amibroker was corrected
reflected inside C:\ Program files
> > >>>>>>> (x86)\Amibroker. To my surprise,
the work that I had saved within
> > >>>>>>> Amibroker was not updated within
the C:\ Program files (x86)\Amibroker
> > >>>>>>> directory. I tried to make some
more changes within Amibroker and once
> > >>>>>>> again these changes were not
reflected in the Program files
> > >>>>>>> (x86)\Amibroker directory.
> > >>>>>>>
> > >>>>>>> Just to test things out a little
further, I created a new test
> > >>>>>>> directory within the C:\ Program
files (x86)\Amibroker\Formulas folder
> > >>>>>>> just to see whether Amibroker
would recognize it and pick it up when
> > >>>>>>> it loaded up next. Sure enough,
Amibroker picked it up the new
> > >>>>>>> directory, but not only that, it
also retained all the changes that I
> > >>>>>>> had made to the various
formulas. So from Amibroker's point of view,
> > >>>>>>> everything is working OK. My
question then is where is Amibroker
> > >>>>>>> storing all of its formulas ??,
if its not inside C:\ Program files
> > >>>>>>> (x86)\Amibroker\Formulas
> > >>>>>>>
> > >>>>>>> This is a problem for me as my
backup routines look inside the C:\
> > >>>>>>> Program files (x86)\Amibroker\Formulas
directory to backup my formulas
> > >>>>>>> and at the moment, its backing
up code that does not incorporate the
> > >>>>>>> changes that I made within
AMibroker.
> > >>>>>>>
> > >>>>>>> Would appreciate any feedback
> > >>>>>>>
> > >>>>>>>
> > >>>>>>>
> > >>>>>>
> > >>>>>
> > >>>>
> > >>>
> > >>
> > >
> > >
> > >
> > > ------------------------------------
> > >
> > > **** IMPORTANT PLEASE READ ****
> > > This group is for the discussion between users only.
> > > This is *NOT* technical support channel.
> > >
> > > TO GET TECHNICAL SUPPORT send an e-mail directly to
> > > SUPPORT {at} amibroker.com
> > >
> > > TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
> > > http://www.amibroker.com/feedback/
> > > (submissions sent via other channels won't be considered)
> > >
> > > For NEW RELEASE ANNOUNCEMENTS and other news always
check DEVLOG:
> > > http://www.amibroker.com/devlog/
> > >
> > > Yahoo! Groups Links
> > >
> > >
> > >
> > >
> > >
> >
>