发新话题
打印

[求助]关于Inno Setup封装软件的问题.

[求助]关于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\""部分在编译时总是过不去,不知哪位大哥可以赐教一下,不胜感激.
欢迎来我的论坛作客,讨论启动技术:

http://www.haopeng.org/bbs/

启动技术区
影视音乐区
游戏动漫区
休闲娱乐区  

TOP

[求助]关于Inno Setup封装软件的问题.

知道方法了.
Root: HKLM; Subkey: "SOFTWARE\Classes\.lrc"; Flags: uninsdeletekey
Root: HKLM; Subkey: "SOFTWARE\Classes\.lrc"; ValueType: string; ValueName: ""; ValueData: "LyricsPower.Lyrics"
Root: HKLM; Subkey: "SOFTWARE\Classes\.lrc\ShellNew"; Flags: uninsdeletekey
Root: HKLM; Subkey: "SOFTWARE\Classes\.lrc\ShellNew"; ValueType: string; ValueName: "NullFile"; ValueData: ""
Root: HKLM; Subkey: "SOFTWARE\Classes\LyricsPower.Lyrics"; Flags: uninsdeletekey
Root: HKLM; Subkey: "SOFTWARE\Classes\LyricsPower.Lyrics"; ValueType: string; ValueName: ""; ValueData: "LRC 歌词文件"
Root: HKLM; Subkey: "SOFTWARE\Classes\LyricsPower.Lyrics\DefaultIcon"; Flags: uninsdeletekey
Root: HKLM; Subkey: "SOFTWARE\Classes\LyricsPower.Lyrics\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{pf}\MiniLyrics\LP.exe"
Root: HKLM; Subkey: "SOFTWARE\Classes\LyricsPower.Lyrics\Shell"; Flags: uninsdeletekey
Root: HKLM; Subkey: "SOFTWARE\Classes\LyricsPower.Lyrics\Shell\open"; Flags: uninsdeletekey
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"""
Root: HKCR; Subkey: ".lrc"; Flags: uninsdeletekey
Root: HKCR; Subkey: ".lrc"; ValueType: string; ValueName: ""; ValueData: "LyricsPower.Lyrics"
Root: HKCR; Subkey: ".lrc\ShellNew"; Flags: uninsdeletekey
Root: HKCR; Subkey: ".lrc\ShellNew"; ValueType: string; ValueName: "NullFile"; ValueData: ""
Root: HKCR; Subkey: "LyricsPower.Lyrics"; Flags: uninsdeletekey
Root: HKCR; Subkey: "LyricsPower.Lyrics"; ValueType: string; ValueName: ""; ValueData: "LRC 歌词文件"
Root: HKCR; Subkey: "LyricsPower.Lyrics\DefaultIcon"; Flags: uninsdeletekey
Root: HKCR; Subkey: "LyricsPower.Lyrics\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{pf}\MiniLyrics\LP.exe"
Root: HKCR; Subkey: "LyricsPower.Lyrics\Shell"; Flags: uninsdeletekey
Root: HKCR; Subkey: "LyricsPower.Lyrics\Shell\open"; Flags: uninsdeletekey
Root: HKCR; Subkey: "LyricsPower.Lyrics\Shell\open\command"; Flags: uninsdeletekey
Root: HKCR; Subkey: "LyricsPower.Lyrics\Shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{pf}\MiniLyrics\LP.exe"" ""%1"""
正在测试.
哪位朋友能告诉我mp3等文件的关联内容大致是否与上面这个lrc相同吗?
欢迎来我的论坛作客,讨论启动技术:

http://www.haopeng.org/bbs/

启动技术区
影视音乐区
游戏动漫区
休闲娱乐区  

TOP

发新话题