Apnea Board Forum - CPAP | Sleep Apnea
OSCAR - Multiple versions with distinct data? - Printable Version

+- Apnea Board Forum - CPAP | Sleep Apnea (https://www.apneaboard.com/forums)
+-- Forum: Public Area (https://www.apneaboard.com/forums/Forum-Public-Area)
+--- Forum: Software Support Forum (https://www.apneaboard.com/forums/Forum-Software-Support-Forum)
+--- Thread: OSCAR - Multiple versions with distinct data? (/Thread-OSCAR-Multiple-versions-with-distinct-data)



OSCAR - Multiple versions with distinct data? - RadarRalfs - 01-02-2022

Hello,

I've been using OSCAR 1.2 on Windows 10 for the last year and just installed OSCAR 1.3 into a different folder.  I have made data folders for each version but am running into problems.


It seems there is only one registry value for the data location for OSCAR and the data is incompatible between the two versions.  Am I missing something or is this just the way it is?

Registry:
  Computer\HKEY_CURRENT_USER\SOFTWARE\OSCAR_Team\OSCAR\Settings
    AppData   D:/Users Data/Radar/AppData/OSCAR-1.3/OSCAR_Data

OSCAR Warning:
  The version of OSCAR you are running (1.2.0) is OLDER than the one used to create this data (1.3.0).
  It is likely that doing this will cause data corruption, are you sure you want to do this?

I wanted to run both in parallel for a little while before committing to 1.3.

This is not a complaint.  Thank you and Happy New Year to those that make OSCAR and this Forum available!

Regards,
Dave Hutchinson



RE: OSCAR - Multiple versions with distinct data? - GuyScharf - 01-02-2022

You are correct in that all release versions of OSCAR save their last used database in the same Registry entry. We have plans to make that easier in the future but, in the meantime, there is a workaround.

Create a shortcut for each version. Open the shortcut Properties for 1.3.0. Add the following to the Target field" "--datadir D:/Users Data/Radar/AppData/OSCAR-1.3/OSCAR_Data". That should be included inside the quotes of the target string, with a space before the "--" (note that there are two hyphens).

Modify the shortcut for 1.2.0 similarly.


RE: OSCAR - Multiple versions with distinct data? - RadarRalfs - 01-03-2022

(01-02-2022, 07:02 PM)GuyScharf Wrote: You are correct in that all release versions of OSCAR save their last used database in the same Registry entry. We have plans to make that easier in the future but, in the meantime, there is a workaround.

Create a shortcut for each version. Open the shortcut Properties for 1.3.0. Add the following to the Target field" "--datadir D:/Users Data/Radar/AppData/OSCAR-1.3/OSCAR_Data". That should be included inside the quotes of the target string, with a space before the "--" (note that there are two hyphens).

Modify the shortcut for 1.2.0 similarly.

Thanks very much.  Took me a few tries to get the Shortcut Target correct with quotes and spaces.  Here is what worked:

"C:\Program Files (x86)\OSCAR\OSCAR.exe" --datadir "D:/Users Data/Radar/AppData/OSCAR-1.2/OSCAR_Data"

"C:\Program Files\OSCAR-1.3.0-Win64\OSCAR.exe" --datadir "D:/Users Data/Radar/AppData/OSCAR-1.3/OSCAR_Data"