[英]register windows registry file using inno setup
Have no programming language experience. 没有编程语言经验。 Can someone help me create this windows registry file for 64 bit os, using inno.
有人可以使用inno帮助我为64位操作系统创建这个Windows注册表文件。
I have a 我有一个
register_me.reg
register_me.reg
which looks like this: 看起来像这样:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\kiv]
@="KivURI"
"URL Protocol"=""
[HKEY_CLASSES_ROOT\kiv\shell]
[HKEY_CLASSES_ROOT\kiv\shell\open]
[HKEY_CLASSES_ROOT\kiv\shell\open\command]
@="C:\\Documents\\MyApp\\kiv\\exec.bat %1"
Looking at this documentation I could only figure out how to start: 看看这个文档,我只能弄清楚如何开始:
[Registry]
Root: HKCR; Subkey: "C:\Documents\MyApp\kiv\exec.bat %1"; Flags: uninsdeletekey
Any tip on how to start will be appreciated. 任何有关如何开始的提示将不胜感激。 Thanks a ton
万分感谢
You will have to add keys one by one like below: 你必须逐个添加密钥,如下所示:
[Registry]
Root: HKCR; Subkey: "kiv"; Flags: uninsdeletekey; ValueType: none;
Root: HKCR; Subkey: "kiv"; ValueType: string; ValueName: "URL Protocol"; ValueData: "";
Root: HKCR; Subkey: "kiv\shell"; Flags: uninsdeletekey; ValueType: none
Root: HKCR; Subkey: "kiv\shell\open"; Flags: uninsdeletekey; ValueType: none
Root: HKCR; Subkey: "kiv\shell\open\command"; Flags: uninsdeletekey; ValueType: string; ValueName: ""; ValueData: "C:\Documents\MyApp\kiv\exec.bat %1";
Hope it helped! 希望它有所帮助!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.