[Registry]
Root: HKCR; SubKey: xxx; ValueData: "xxx"; ValueType: string; Flags: CreateValueIfDoesntExist UninsDeleteKey;
Root: HKCR; SubKey: xxx; ValueName: "URL Protocol"; Flags: CreateValueIfDoesntExist; ValueType: string;
Root: HKCR; SubKey: xxx\DefaultIcon; ValueData: "{app}\app.exe"; Flags: CreateValueIfDoesntExist; ValueType: string;
Root: HKCR; SubKey: xxx\shell\open\command; ValueData: "{app}\app.exe"; Flags: CreateValueIfDoesntExist; ValueType: string;
其中xxx为协议名,app.exe为应用程序名,{app}为安装路径
添加完毕之后就可以在浏览器上直接
xxx://其他参数