Inno设置注册表 [英] Inno setup registry

查看:228
本文介绍了Inno设置注册表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以添加什么到win注册表中,以便在右键单击文件时,资源管理器上下文菜单获得一个条目,该条目调用"\ path \ to \ exe","path \ to \ this \ file \ you \右\单击\上?如果可以轻松地在Inno设置中完成此操作,那么您能否提供一些示例? (以及在卸载时摆脱注册表项)

What can I add to the win registry so that the explorer context menu, when you right click on a file, gains an entry that calls "\path\to\exe" "path\to\this\file\you\right\clicked\on"? If that's possible to be done in Inno setup easily, could you possibly provide me with some examples? (As well as get rid of the registry key upon uninstall)

谢谢.

推荐答案

我在MSBuild启动板(http://msbuildlaunchpad.codeplex.com/)中所做的就是这样,

What I did in MSBuild Launch Pad (http://msbuildlaunchpad.codeplex.com/) is like this,

  1. 您的应用程序必须正确处理Windows资源管理器中的参数.
  2. 以下注册表项由安装程序使用,

  1. Your application must handle arguments from Windows Explorer properly.
  2. The following registry key are used by the installer,

[注册表]

根:HKCR;子项:SystemFileAssociations.sln \ shell \ MSBuild; ValueType:字符串;标志:uninsdeletekey deletekey; ValueName:图标; ValueData:""{app} \ MSBuild_APPICON.ico""

Root: HKCR; Subkey: SystemFileAssociations.sln\shell\MSBuild; ValueType: string; Flags: uninsdeletekey deletekey; ValueName: Icon; ValueData: """{app}\MSBuild_APPICON.ico"""

根:HKCR;子项:SystemFileAssociations.csproj \ shell \ MSBuild; ValueType:字符串; ValueData:""{app} \ MSBuild_APPICON.ico"";标志:uninsdeletekey deletekey; ValueName:图标

Root: HKCR; Subkey: SystemFileAssociations.csproj\shell\MSBuild; ValueType: string; ValueData: """{app}\MSBuild_APPICON.ico"""; Flags: uninsdeletekey deletekey; ValueName: Icon

根:HKCR;子项:SystemFileAssociations.vbproj \ shell \ MSBuild; ValueType:字符串; ValueData:""{app} \ MSBuild_APPICON.ico"";标志:uninsdeletekey deletekey; ValueName:图标

Root: HKCR; Subkey: SystemFileAssociations.vbproj\shell\MSBuild; ValueType: string; ValueData: """{app}\MSBuild_APPICON.ico"""; Flags: uninsdeletekey deletekey; ValueName: Icon

根:HKCR;子项:SystemFileAssociations.vcxproj \ shell \ MSBuild; ValueType:字符串; ValueData:""{app} \ MSBuild_APPICON.ico"";标志:uninsdeletekey deletekey; ValueName:图标

Root: HKCR; Subkey: SystemFileAssociations.vcxproj\shell\MSBuild; ValueType: string; ValueData: """{app}\MSBuild_APPICON.ico"""; Flags: uninsdeletekey deletekey; ValueName: Icon

根:HKCR;子项:SystemFileAssociations.oxygene \ shell \ MSBuild; ValueType:字符串; ValueData:""{app} \ MSBuild_APPICON.ico"";标志:uninsdeletekey deletekey; ValueName:图标

Root: HKCR; Subkey: SystemFileAssociations.oxygene\shell\MSBuild; ValueType: string; ValueData: """{app}\MSBuild_APPICON.ico"""; Flags: uninsdeletekey deletekey; ValueName: Icon

根:HKCR;子项:SystemFileAssociations.shfbproj \ shell \ MSBuild; ValueType:字符串; ValueData:""{app} \ MSBuild_APPICON.ico"";标志:uninsdeletekey deletekey; ValueName:图标

Root: HKCR; Subkey: SystemFileAssociations.shfbproj\shell\MSBuild; ValueType: string; ValueData: """{app}\MSBuild_APPICON.ico"""; Flags: uninsdeletekey deletekey; ValueName: Icon

根:HKCR;子项:SystemFileAssociations.ccproj \ shell \ MSBuild; ValueType:字符串; ValueData:""{app} \ MSBuild_APPICON.ico"";标志:uninsdeletekey deletekey; ValueName:图标 根:HKCR;子项:SystemFileAssociations.proj \ shell \ MSBuild; ValueType:字符串; ValueData:""{app} \ MSBuild_APPICON.ico"";标志:uninsdeletekey deletekey; ValueName:图标

Root: HKCR; Subkey: SystemFileAssociations.ccproj\shell\MSBuild; ValueType: string; ValueData: """{app}\MSBuild_APPICON.ico"""; Flags: uninsdeletekey deletekey; ValueName: Icon Root: HKCR; Subkey: SystemFileAssociations.proj\shell\MSBuild; ValueType: string; ValueData: """{app}\MSBuild_APPICON.ico"""; Flags: uninsdeletekey deletekey; ValueName: Icon

根:HKCR;子项:SystemFileAssociations.sln \ shell \ MSBuild \ command; ValueType:字符串; ValueData:""{app} \ MSBuildLaunchPad.exe""%1"";标志:uninsdeletekey deletekey

Root: HKCR; Subkey: SystemFileAssociations.sln\shell\MSBuild\command; ValueType: string; ValueData: """{app}\MSBuildLaunchPad.exe"" ""%1"""; Flags: uninsdeletekey deletekey

根:HKCR;子项:SystemFileAssociations.csproj \ shell \ MSBuild \ command; ValueType:字符串; ValueData:""{app} \ MSBuildLaunchPad.exe""%1"";标志:uninsdeletekey deletekey

Root: HKCR; Subkey: SystemFileAssociations.csproj\shell\MSBuild\command; ValueType: string; ValueData: """{app}\MSBuildLaunchPad.exe"" ""%1"""; Flags: uninsdeletekey deletekey

根:HKCR;子项:SystemFileAssociations.vbproj \ shell \ MSBuild \ command; ValueType:字符串; ValueData:""{app} \ MSBuildLaunchPad.exe""%1"";标志:uninsdeletekey deletekey

Root: HKCR; Subkey: SystemFileAssociations.vbproj\shell\MSBuild\command; ValueType: string; ValueData: """{app}\MSBuildLaunchPad.exe"" ""%1"""; Flags: uninsdeletekey deletekey

根:HKCR;子项:SystemFileAssociations.vcxproj \ shell \ MSBuild \ command; ValueType:字符串; ValueData:""{app} \ MSBuildLaunchPad.exe""%1"";标志:uninsdeletekey deletekey

Root: HKCR; Subkey: SystemFileAssociations.vcxproj\shell\MSBuild\command; ValueType: string; ValueData: """{app}\MSBuildLaunchPad.exe"" ""%1"""; Flags: uninsdeletekey deletekey

根:HKCR;子项:SystemFileAssociations.oxygene \ shell \ MSBuild \ command; ValueType:字符串; ValueData:""{app} \ MSBuildLaunchPad.exe""%1"";标志:uninsdeletekey deletekey

Root: HKCR; Subkey: SystemFileAssociations.oxygene\shell\MSBuild\command; ValueType: string; ValueData: """{app}\MSBuildLaunchPad.exe"" ""%1"""; Flags: uninsdeletekey deletekey

根:HKCR;子项:SystemFileAssociations.shfbproj \ shell \ MSBuild \ command; ValueType:字符串; ValueData:""{app} \ MSBuildLaunchPad.exe""%1"";标志:uninsdeletekey deletekey

Root: HKCR; Subkey: SystemFileAssociations.shfbproj\shell\MSBuild\command; ValueType: string; ValueData: """{app}\MSBuildLaunchPad.exe"" ""%1"""; Flags: uninsdeletekey deletekey

根:HKCR;子项:SystemFileAssociations.ccproj \ shell \ MSBuild \ command; ValueType:字符串; ValueData:""{app} \ MSBuildLaunchPad.exe""%1"";标志:uninsdeletekey deletekey

Root: HKCR; Subkey: SystemFileAssociations.ccproj\shell\MSBuild\command; ValueType: string; ValueData: """{app}\MSBuildLaunchPad.exe"" ""%1"""; Flags: uninsdeletekey deletekey

根:HKCR;子项:SystemFileAssociations.proj \ shell \ MSBuild \ command; ValueType:字符串; ValueData:""{app} \ MSBuildLaunchPad.exe""%1"";标志:uninsdeletekey deletekey

Root: HKCR; Subkey: SystemFileAssociations.proj\shell\MSBuild\command; ValueType: string; ValueData: """{app}\MSBuildLaunchPad.exe"" ""%1"""; Flags: uninsdeletekey deletekey

这篇关于Inno设置注册表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆