我用inno setup打包,有一行写注册表的代码如下,需要调用shgame.exe带参数运行,可是编译时会报错,不能在双引号里再使用双引号,这个谁能帮忙看看。 参数处"%L"的双引号必须保留着。
[Registry]Root: HKCR; Subkey: "homefile\shell\open\command"; ValueType: string; ValueData: "{app}\Binaries\ShGame.exe -seekfreeloading "%L""
[Registry]Root: HKCR; Subkey: "homefile\shell\open\command"; ValueType: string; ValueData: "{app}\Binaries\ShGame.exe -seekfreeloading "%L""
用:
Root: HKCR; Subkey: "homefile\shell\open\command"; ValueType: string; ValueData: "{app}\Binaries\ShGame.exe -seekfreeloading ""%L"""