Menu

#14 Problem with [Registry] section...

open
nobody
None
5
2009-08-02
2009-08-02
pipiscrew
No

helooo ha.. from GREECE ....

dude i think u have made excellent work... I cant describe :)

I think I found a bug....

look I use
[Registry] section to change file association... working example ::

[Registry]
Root: HKCR; Subkey: ".mcr"; ValueType: string; ValueName: ""; ValueData: "Jitbit Macro"; Flags: uninsdeletevalue
Root: HKCR; Subkey: "Jitbit Macro"; ValueType: string; ValueName: ""; ValueData: ""; Flags: uninsdeletekey
Root: HKCR; Subkey: "Jitbit Macro\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\MacroRecorder.exe,0" ; Flags: uninsdeletekey
Root: HKCR; Subkey: "Jitbit Macro\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\MacroRecorder.exe"" ""%1""" ; Flags: uninsdeletekey

1-if u merge this section to a ISS file and compile (INNO CORE) all work fine...
2-if u merge this section to a ISS file and open to ISTOOL then compile (INNO CORE) the association failed , ISTOOL modify the quotes of script :

[Registry]
Root: HKCR; Subkey: .mcr; ValueType: string; ValueName: ; ValueData: Jitbit Macro; Flags: uninsdeletevalue
Root: HKCR; Subkey: Jitbit Macro; ValueType: string; ValueName: ; ValueData: ; Flags: uninsdeletekey
Root: HKCR; Subkey: Jitbit Macro\DefaultIcon; ValueType: string; ValueName: ; ValueData: """{app}\MacroRecorder.exe,0"""; Flags: uninsdeletekey
Root: HKCR; Subkey: Jitbit Macro\shell\open\command; ValueType: string; ValueName: ; ValueData: """""""{app}\MacroRecorder.exe"""" """"%1"""""""; Flags: uninsdeletekey

check this pics :

http://i26.tinypic.com/2i8f7gi.jpg
http://i29.tinypic.com/2gxfeae.jpg

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.