Location of Codestore

Started by Peter House, July 10, 2010, 10:02:16 PM

Previous topic - Next topic

Peter House

"Location to install the CodeStore, Function Library, Settings and Projects"

I would like to put this information in a network share.  Specially the Codestore and Function Library.  Projects are easy to move.

Is this possible?

Paul Squires

Hi Peter,

At this time you can't have those files in a location other than off of the main application path or the "My Documents" path via (GetShellFolder(%Null, %CSIDL_PERSONAL )).

Paul Squires
PlanetSquires Software

Peter House

I have three machines I use to write FF-PB code, my laptop, my office desktop, and my workbench desktop.  It is very cumbersome to copy files between these locations.

Since I only use one of these machines at any given time, could I use something like SyncToy (Microsoft Synchronization Tool) to keep particular files in sync?  If Yes, can you tell me which files?

Is there any chance the ability to specify where these files reside can be changed in a future version?

Brian Chirgwin

I recommend using Source Code Version Control. I recommend Mercurial or Subversion. Mercurial is easier to use and what I am switching to.

Alternatively, just install the product on a single location and remote to that location for the other locations. This would mean you only have one copy to manage plus backups.



Paul Squires

Quote from: Peter House on July 12, 2010, 09:22:38 AM
Is there any chance the ability to specify where these files reside can be changed in a future version?

It does sound like a good idea. I will add it to my Tracker for future consideration. It could be something as simple as a new environment option.
Paul Squires
PlanetSquires Software

Paul Squires

BTW, I also use FF3 on multiple machines. I have a small portable 2.5" MyPassport hard drive (Western Digital) and I have my files on. I then simply need to plug that hard drive into whatever machine that I happen to be using. In the evenings I use a syncing program called GoodSync (http://www.goodsync.com) to ensure that all of my files on the portable hard drive are saved to my main computer at home.
Paul Squires
PlanetSquires Software

Peter House

Paul,

How do you transfer the CodeStore, Function Library, and Settings files to this portable drive for use on different machines?

I don't have any problem with projects and store them on a network share with no problem.  Unfortunately, for various reasons, I cannot use RDP as Brian suggested.

Paul Squires

Quote from: Peter House on July 12, 2010, 04:05:09 PM
How do you transfer the CodeStore, Function Library, and Settings files to this portable drive for use on different machines?

I did the original install of FF3 to the portable hard drive. I specified that I wanted the CodeStore, etc... to be in the application's folder (rather than to the My Documents). So, basically I run FF3 directly from the portable hard drive. I don't have to move anything to the computer that the hard drive is attached to.


Paul Squires
PlanetSquires Software

Peter House

Can I reinstall FF3 to a network share and then link the extensions to the FF3 program on the share?


Paul Squires

#9
Quote from: Peter House on July 12, 2010, 07:25:08 PM
Can I reinstall FF3 to a network share and then link the extensions to the FF3 program on the share?

You should be able to (as long as you have administrator rights to be able to install). FF3 doesn't use any special dependencies/registry entries. You can install the whole program to the network and run it from there. If you already have a local install then you can simply copy/paste the FF3 install folder and all subfolders to the network.
Paul Squires
PlanetSquires Software

Roger Garstang

You could also think about this the other way and adjust where your My Documents folder is stored.  To make it easy, applications like TweakUI/TweakXP allow editing the folder locations too.  You can even use a network logon and have your profile folder on one machine no matter where you sign on. Lots of options. I used to use Paul's USB method all the time and even had a .REG registry import to store my key for quick registration.  If I remember right I couldn't get it to work with the longer key though...although it may have been a 64bit Windows issue and reading/writing the wrong key location.