[Registry] Root: HKCR; SubKey: NGIE; ValueData: "NGIE"; ValueType: string; Flags: CreateValueIfDoesntExist UninsDeleteKey; Root: HKCR; SubKey: NGIE; ValueName: "URL Protocol";ValueData:{app}\NGIE.exe; Flags: CreateValueIfDoesntExist; ValueType: string; Root: HKCR; SubKey: NGIE\shell\open\command; ValueData: """{app}\NGIE.exe"" ""%1"""; Flags: CreateValueIfDoesntExist; ValueType: string;
注意command项一定要加引号把路径包起来,否则不起效果