My InnoSetup contains the following registry code:
Code: Select all
Root: HKCR; Subkey: bz2game; ValueType: string; ValueData: "URL:Battlezone 2"; Components: protocolhandler;
Root: HKCR; Subkey: bz2game; ValueType: string; ValueName: URL Protocol; Components: protocolhandler;
Root: HKCR; Subkey: bz2game\DefaultIcon; ValueType: string; ValueData: {app}\bzone.exe,0; Components: protocolhandler;
Root: HKCR; Subkey: bz2game\shell\open\command; ValueType: string; ValueData: """{app}\bzone.exe"" -nointro +connect ""%1"" +name {code:GetBZ2Name}"; Components: protocolhandler;
So I'd like to know if anyone has any ideas regarding BZ2 to launch using the correct folder when this method is employed.