Windows Shell Extension: Difference between revisions

m
replaced Oni Central Forum link with archive.org snapshot URL
m (setup for "xmlfile")
m (replaced Oni Central Forum link with archive.org snapshot URL)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
In Windows you can right-click a file to show a context-menu and choose from various options.
In Windows you can right-click a file to show a context-menu and choose from various options.


There can be customized options for specific file types if you add registry keys to both '''HKEY_CLASSES_ROOT''' and '''HKEY_LOCAL_MACHINE'''.
There can be customized options for specific file types if you add registry keys to both '''HKEY_CLASSES_ROOT''' (or '''HKEY_LOCAL_MACHINE''').
 
Originally, [http://oni.bungie.org/forum/viewtopic.php?pid=10487#p10487 Gumby wrote such shell extension] but it refuses to work on some systems. Either Windows 10 needs HKEY_LOCAL_MACHINE as well or other registry settings of other programs are interfering.


Originally, [http://web.archive.org/web/20160226095407/http://oni.bungie.org/forum/viewtopic.php?pid=10487#p10487 Gumby wrote such a shell extension] but it refuses to work on some systems. Either Windows 10 needs HKEY_LOCAL_MACHINE as well or other registry settings of other programs are interfering.


==Setup for oni. file type==
==Setup for oni. file type==
Line 50: Line 49:
  [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\xmlfile\shell\OniSplit_or_OniSplitGUI\command]
  [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\xmlfile\shell\OniSplit_or_OniSplitGUI\command]
  @="\"C:\\PATH\\Batch_for_OniSplit_or_OniSplitGUI.exe\" \"%1\""
  @="\"C:\\PATH\\Batch_for_OniSplit_or_OniSplitGUI.exe\" \"%1\""
==Notes for repair after standard application changed==
When you change xml standard application following gets added and breaks the context menu options:
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.xml\UserChoice]
As soon as you remove this key context menu works again. However this removes the possibility to double-click .xml to open them.
Somthing is still missing.




Line 68: Line 76:


==Install and uninstall==
==Install and uninstall==
A less tech-sevvy modder shouldn't need to deal with registry settings.
A less tech-savvy modder shouldn't need to deal with registry settings.


AEI could be used to distribute an OniSplitHelper tool that manages the registry.
AEI could be used to distribute an OniSplitHelper tool that manages the registry.
Line 74: Line 82:
Perhaps "Vago" and "Simple Onisplit GUI" could be adapted to do that.
Perhaps "Vago" and "Simple Onisplit GUI" could be adapted to do that.


[[Category:Modding information]]
[[Category:Modding ideas]]
2,191

edits