How to specify the boot version of EDEM

Shinichiro_Oshiro
Shinichiro_Oshiro Altair Community Member
edited December 2023 in 質問と回答 (Q&A)

Hello everyone.

I have multiple versions of EDEM installed on one PC.
When you double-click a .dem file to run it, the version of EDEM that starts will be the most recently installed version.
Is there a way to change to the version I want instead of the latest installed version?
It could not be changed using the Windows function "Choose an app".

Best Regards,

Shinichiro

Tagged:

Answers

  • Stephen Cole
    Stephen Cole
    Altair Employee
    edited December 2023

    Hi Shinichiro,

    This is really a Windows question rather than EDEM specifically.  To answer for EDEM it's not something we can control, other than opening the specified EDEM version first then opening the required file.

    That said you can edit/add to your computer registry so that you can add a 'open with specified version' option on right click rather than double click.

    image

    Before doing so best to be aware of the windows warning:

    How to open Registry Editor in Windows 10

    image

    • To update create a .reg file e.g. addEDEMShortcuts.reg
    • Copy and paste the following:
    Windows Registry Editor Version 5.00  [HKEY_CURRENT_USER\SOFTWARE\Classes\*\shell]  [HKEY_CURRENT_USER\SOFTWARE\Classes\*\shell\Open With Edem2022.3] @=""  [HKEY_CURRENT_USER\SOFTWARE\Classes\*\shell\Open With Edem2022.3\command] @="\"C:\\Program Files\\Altair\\2022.3\\EDEM\\bin\\edem.exe\" -i \"%1\""  [HKEY_CURRENT_USER\SOFTWARE\Classes\*\shell\Open With Edem2023]  [HKEY_CURRENT_USER\SOFTWARE\Classes\*\shell\Open With Edem2023\command] @="\"C:\\Program Files\\Altair\\2023\\EDEM\\bin\\edem.exe\" -i \"%1\""
    • Change the file paths appropriately, in the above it's specifying the paths to 2023 and 2022.3 on my PC but you may have different versions and locations.

    image

    • Save and run the .reg and it adds the option to open the different versions on right click the .dem file
  • Shinichiro_Oshiro
    Shinichiro_Oshiro Altair Community Member
    edited December 2023

    Hi Shinichiro,

    This is really a Windows question rather than EDEM specifically.  To answer for EDEM it's not something we can control, other than opening the specified EDEM version first then opening the required file.

    That said you can edit/add to your computer registry so that you can add a 'open with specified version' option on right click rather than double click.

    image

    Before doing so best to be aware of the windows warning:

    How to open Registry Editor in Windows 10

    image

    • To update create a .reg file e.g. addEDEMShortcuts.reg
    • Copy and paste the following:
    Windows Registry Editor Version 5.00  [HKEY_CURRENT_USER\SOFTWARE\Classes\*\shell]  [HKEY_CURRENT_USER\SOFTWARE\Classes\*\shell\Open With Edem2022.3] @=""  [HKEY_CURRENT_USER\SOFTWARE\Classes\*\shell\Open With Edem2022.3\command] @="\"C:\\Program Files\\Altair\\2022.3\\EDEM\\bin\\edem.exe\" -i \"%1\""  [HKEY_CURRENT_USER\SOFTWARE\Classes\*\shell\Open With Edem2023]  [HKEY_CURRENT_USER\SOFTWARE\Classes\*\shell\Open With Edem2023\command] @="\"C:\\Program Files\\Altair\\2023\\EDEM\\bin\\edem.exe\" -i \"%1\""
    • Change the file paths appropriately, in the above it's specifying the paths to 2023 and 2022.3 on my PC but you may have different versions and locations.

    image

    • Save and run the .reg and it adds the option to open the different versions on right click the .dem file

    Hi, Stephen.

    Thank you for your detailed reply.
    I will refer to it.

    Best Regards,

    Shinichiro