[求助]关于Inno Setup封装软件的问题.
我用Inno Setup封装软件时,打算写入文件关联,但是有个键值为
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\LyricsPower.Lyrics\DefaultIcon]
@="D:\\Program Files\\MiniLyrics\\LP.exe"
我始终无法正常写入,我的Inno脚本是这样写的:
Root: HKLM; Subkey: "SOFTWARE\Classes\LyricsPower.Lyrics\Shell\open\command"; Flags: uninsdeletekey
Root: HKLM; Subkey: "SOFTWARE\Classes\LyricsPower.Lyrics\Shell\open\command"; ValueType: string; ValueName: ""; ValueData: "\"{pf}\\MiniLyrics\\LP.exe\" \"%1\""
但是ValueData: "\"{pf}\\MiniLyrics\\LP.exe\" \"%1\""部分在编译时总是过不去,不知哪位大哥可以赐教一下,不胜感激.