Update - job completed, and it was a remarkably smooth and easy process.
- Install FH 7.0.9 to the new system drive.
- Delete the local ProgramData folders for plugins, user-defined queries and fact types and run the simple script that recreates my directory junctions to master copies in OneDrive.
Code: Select all
mklink /J "C:\ProgramData\Calico Pie\Family Historian\Plugins" C:\Users\MarkD\OneDrive\FH\Plugins
mklink /J "C:\ProgramData\Calico Pie\Family Historian\Queries\Custom" C:\Users\MarkD\OneDrive\FH\Queries\Custom
mklink /J "C:\ProgramData\Calico Pie\Family Historian\Fact Types" "C:\Users\MarkD\OneDrive\FH\Fact Types"
- Edit the file containing the machine registry data as described above and save under a new name to prevent any accidents (delete one key and change absolute path descriptions to the new OneDrive location).
- Modify the backup script to become a restore script as below and run (here we don't need to change the OneDrive references as they are not absolute paths, whereas they are in the first script as it ensures that the correct folders are used even when run as a different admin user).
Code: Select all
Reg import "%OneDrive%\Documents\FH Settings\fhCURRENT_USER.reg"
Reg import "%OneDrive%\Documents\FH Settings\fhLOCAL_MACHINE (restore version).reg"
robocopy "%OneDrive%\Documents\FH Settings\fhProgramData" "%PROGRAMDATA%\Calico Pie\Family Historian" /MIR
robocopy "%OneDrive%\Documents\FH Settings\fhAppData" "%APPDATA%\Calico Pie\Family Historian" /MIR
- Upgrade the new copy to FH 7.0.11 by running the new installation file.
I now have FH 7.0.11 on my new system disk, complete with all my customisations.
As a bonus, if I invoke the boot override when starting up and boot into the old system disk, I still have my fully functional FH.7.0.9 available, complete with customisations and data using its own (different) mapping to OneDrive! Clearly that is not for long term use, and I will wipe the old system disk once I am sure that I have copied everything I need.
And before anybody asks, that's completely legitimate. Both Windows and Family Historian licences describe devices, not software copies, so two copies on one device is one license.
The Backup and Restore plugin is still the preferred and recommended method of transfer for general users, but this could be useful for more experienced computer users who are happy with simple file edits and working at the command line (maybe that's just the over-50s who remember DOS or those who dabble in Linux

). IMO, it's no more complex than using the plugin (and the backup and Registry restore are actually easier), and as I noted above it's universally applicable to any file and folder names in any language.