-
Notifications
You must be signed in to change notification settings - Fork 3
/
add_reg_path.cmd
16 lines (14 loc) · 1.59 KB
/
add_reg_path.cmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
rem n.b. installer has trailing backslash too. be consistent
reg add HKLM\Software\Metamorph\OpenMETA-Visualizer /v PATH /d "%~dp0\" /t REG_SZ /f /reg:32
reg add HKLM\SOFTWARE\META\PETBrowser\PETTools\OpenMetaVisualizer /f /ve /d "OpenMETA Visualizer" /reg:32
reg add HKLM\SOFTWARE\META\PETBrowser\PETTools\OpenMetaVisualizer /f /v "ActionName" /d "Launch in OpenMETA Visualizer" /reg:32
reg add HKLM\SOFTWARE\META\PETBrowser\PETTools\OpenMetaVisualizer /f /v "ExecutableFilePath" /d "%CD%\Dig\run.cmd" /reg:32
reg add HKLM\SOFTWARE\META\PETBrowser\PETTools\OpenMetaVisualizer /f /v "ProcessArguments" /d "\"%%1\" \"%%4\"" /reg:32
reg add HKLM\SOFTWARE\META\PETBrowser\PETTools\OpenMetaVisualizer /f /v "ShowConsoleWindow" /d "0" /t REG_DWORD /reg:32
reg add HKLM\SOFTWARE\META\PETBrowser\PETTools\OpenMetaVisualizer /f /v "WorkingDirectory" /d "%%2" /reg:32
reg add HKLM\SOFTWARE\META\PETBrowser\PETTools\OpenMetaVisualizerDebug /f /ve /d "OpenMETA Visualizer (Debug)" /reg:32
reg add HKLM\SOFTWARE\META\PETBrowser\PETTools\OpenMetaVisualizerDebug /f /v "ActionName" /d "Launch in OpenMETA Visualizer (Debug)" /reg:32
reg add HKLM\SOFTWARE\META\PETBrowser\PETTools\OpenMetaVisualizerDebug /f /v "ExecutableFilePath" /d "%CD%\Dig\run.cmd" /reg:32
reg add HKLM\SOFTWARE\META\PETBrowser\PETTools\OpenMetaVisualizerDebug /f /v "ProcessArguments" /d "\"%%1\" \"%%4\"" /reg:32
reg add HKLM\SOFTWARE\META\PETBrowser\PETTools\OpenMetaVisualizerDebug /f /v "ShowConsoleWindow" /d "1" /t REG_DWORD /reg:32
reg add HKLM\SOFTWARE\META\PETBrowser\PETTools\OpenMetaVisualizerDebug /f /v "WorkingDirectory" /d "%%2" /reg:32