Skip to content

Commit

Permalink
Merge pull request #411 from m-tmatma/feature/grep-sakura
Browse files Browse the repository at this point in the history
『SAKURAで Grep』をエクスプローラに追加する
  • Loading branch information
m-tmatma authored Sep 28, 2018
2 parents e6115a8 + 6e28634 commit 432a28d
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions installer/sakura-common.iss
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,12 @@ en.fileassoc=Add "Open with Sakura &Editor"
ja.fileassoc=「SAKURAで開く」メニューの追加(&E)
en.sendto=Add Send &To
ja.sendto=送るに追加(&T)
en.sakuragrep=Add 'Grep by SAKURA'
ja.sakuragrep=「SAKURAでGrep」メニューの追加
en.fileassocMenu=Open with Sakura &Editor
ja.fileassocMenu=SAKURAで開く(&E)
en.sakuragrepMenu=Grep by SAKURA
ja.sakuragrepMenu=SAKURAでGrep
en.residentStartup=&Resident at startup
ja.residentStartup=起動時に常駐(&R)
en.IconPreferencefolder=Preference folder
Expand Down Expand Up @@ -134,6 +138,7 @@ Name: desktopicon; Description: "{cm:CreateDesktopIcon}"; Compon
Name: fileassoc; Description: "{cm:fileassoc}"; Components: main; Flags: unchecked;
Name: startup; Description: "{cm:residentStartup}"; Components: main; Flags: unchecked;
Name: sendto; Description: "{cm:sendto}"; Components: main; Flags: unchecked;
Name: sakuragrep; Description: "{cm:sakuragrep}"; Components: main; Flags: unchecked;
[Files]
Source: "sakura\sakura.exe"; DestDir: "{app}"; Components: main; Flags: ignoreversion;
Expand All @@ -158,12 +163,28 @@ Root: HKLM; Subkey: "SOFTWARE\Classes\*\shell\sakuraeditor";
Root: HKLM; Subkey: "SOFTWARE\Classes\*\shell\sakuraeditor\command"; ValueType: string; ValueName: ""; ValueData: """{app}\sakura.exe"" ""%1"""; Tasks: fileassoc; Flags: uninsdeletekey; Check: CheckPrivilege(true)
Root: HKLM; Subkey: "SOFTWARE\Classes\Applications\sakura.exe\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\sakura.exe"" ""%1"""; Tasks: proglist; Flags: uninsdeletekey; Check: CheckPrivilege(true)
Root: HKLM; Subkey: "SOFTWARE\Classes\directory\shell\sakuraGrep"; ValueType: string; ValueName: ""; ValueData: "{cm:sakuragrepMenu}"; Tasks: sakuragrep; Flags: uninsdeletekey; Check: CheckPrivilege(true)
Root: HKLM; Subkey: "SOFTWARE\Classes\directory\shell\sakuraGrep"; ValueType: string; ValueName: "Icon"; ValueData: """{app}\sakura.exe"""; Tasks: sakuragrep; Flags: uninsdeletekey; Check: CheckPrivilege(true)
Root: HKLM; Subkey: "SOFTWARE\Classes\directory\shell\sakuraGrep\command"; ValueType: string; ValueName: ""; ValueData: """{app}\sakura.exe"" -GREPDLG -GREPMODE -GFOLDER=""%1"" -GOPT=""SP"" -GCODE=99 "; Tasks: sakuragrep; Flags: uninsdeletekey; Check: CheckPrivilege(true)
Root: HKLM; Subkey: "SOFTWARE\Classes\directory\BackGround\shell\sakuraGrep"; ValueType: string; ValueName: ""; ValueData: "{cm:sakuragrepMenu}"; Tasks: sakuragrep; Flags: uninsdeletekey; Check: CheckPrivilege(true)
Root: HKLM; Subkey: "SOFTWARE\Classes\directory\BackGround\shell\sakuraGrep"; ValueType: string; ValueName: "Icon"; ValueData: """{app}\sakura.exe"""; Tasks: sakuragrep; Flags: uninsdeletekey; Check: CheckPrivilege(true)
Root: HKLM; Subkey: "SOFTWARE\Classes\directory\BackGround\shell\sakuraGrep\command"; ValueType: string; ValueName: ""; ValueData: """{app}\sakura.exe"" -GREPDLG -GREPMODE -GFOLDER=""%V"" -GOPT=""SP"" -GCODE=99 "; Tasks: sakuragrep; Flags: uninsdeletekey; Check: CheckPrivilege(true)
; registry for each user (non-Admin only)
Root: HKCU; Subkey: "SOFTWARE\Classes\*\shell\sakuraeditor"; ValueType: string; ValueName: ""; ValueData: "{cm:fileassocMenu}"; Tasks: fileassoc; Flags: uninsdeletekey; Check: CheckPrivilege(false)
Root: HKCU; Subkey: "SOFTWARE\Classes\*\shell\sakuraeditor"; ValueType: string; ValueName: "Icon"; ValueData: """{app}\sakura.exe"""; Tasks: fileassoc; Flags: uninsdeletekey; Check: CheckPrivilege(false)
Root: HKCU; Subkey: "SOFTWARE\Classes\*\shell\sakuraeditor\command"; ValueType: string; ValueName: ""; ValueData: """{app}\sakura.exe"" ""%1"""; Tasks: fileassoc; Flags: uninsdeletekey; Check: CheckPrivilege(false)
Root: HKCU; Subkey: "SOFTWARE\Classes\Applications\sakura.exe\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\sakura.exe"" ""%1"""; Tasks: proglist; Flags: uninsdeletekey; Check: CheckPrivilege(false)
Root: HKLM; Subkey: "SOFTWARE\Classes\directory\shell\sakuraGrep"; ValueType: string; ValueName: ""; ValueData: "{cm:sakuragrepMenu}"; Tasks: sakuragrep; Flags: uninsdeletekey; Check: CheckPrivilege(false)
Root: HKLM; Subkey: "SOFTWARE\Classes\directory\shell\sakuraGrep"; ValueType: string; ValueName: "Icon"; ValueData: """{app}\sakura.exe"""; Tasks: sakuragrep; Flags: uninsdeletekey; Check: CheckPrivilege(false)
Root: HKLM; Subkey: "SOFTWARE\Classes\directory\shell\sakuraGrep\command"; ValueType: string; ValueName: ""; ValueData: """{app}\sakura.exe"" -GREPDLG -GREPMODE -GFOLDER=""%1"" -GOPT=""SP"" -GCODE=99 "; Tasks: sakuragrep; Flags: uninsdeletekey; Check: CheckPrivilege(false)
Root: HKLM; Subkey: "SOFTWARE\Classes\directory\BackGround\shell\sakuraGrep"; ValueType: string; ValueName: ""; ValueData: "{cm:sakuragrepMenu}"; Tasks: sakuragrep; Flags: uninsdeletekey; Check: CheckPrivilege(false)
Root: HKLM; Subkey: "SOFTWARE\Classes\directory\BackGround\shell\sakuraGrep"; ValueType: string; ValueName: "Icon"; ValueData: """{app}\sakura.exe"""; Tasks: sakuragrep; Flags: uninsdeletekey; Check: CheckPrivilege(false)
Root: HKLM; Subkey: "SOFTWARE\Classes\directory\BackGround\shell\sakuraGrep\command"; ValueType: string; ValueName: ""; ValueData: """{app}\sakura.exe"" -GREPDLG -GREPMODE -GFOLDER=""%V"" -GOPT=""SP"" -GCODE=99 "; Tasks: sakuragrep; Flags: uninsdeletekey; Check: CheckPrivilege(false)
[Icons]
Name: "{group}\{cm:AppName}"; Filename: "{app}\sakura.exe"; Components: main; Check: InTopMenu(false); Tasks: startmenu;
Name: "{userstartmenu}\{cm:AppName}"; Filename: "{app}\sakura.exe"; Components: main; Check: InTopMenu(true); Tasks: startmenu;
Expand Down

0 comments on commit 432a28d

Please sign in to comment.