Skip to content

Commit

Permalink
* Configure the context menu select model for grepWin as "Player" to …
Browse files Browse the repository at this point in the history
…increase the limit of 15 to 100.

* change the registry entry names
This fixes issue #488
  • Loading branch information
stefankueng committed Jul 1, 2017
1 parent a220214 commit 31eced5
Show file tree
Hide file tree
Showing 5 changed files with 86 additions and 61 deletions.
36 changes: 21 additions & 15 deletions src/Setup/Setup.wxs
Original file line number Diff line number Diff line change
Expand Up @@ -43,21 +43,27 @@
<File Id="Chinese.lang" Name="Chinese.lang" DiskId="1" Source="../../translations/Chinese.lang" />
<File Id="Nederlands.lang" Name="Nederlands.lang" DiskId="1" Source="../../translations/Nederlands.lang" />
<File Id="Spanish.lang" Name="Spanish.lang" DiskId="1" Source="../../translations/Spanish.lang" />
<RegistryKey Root="HKLM" Key="Software\Classes\Directory\shell\grepWin..." />
<RegistryValue Root="HKLM" Key="Software\Classes\Directory\shell\grepWin...\command" Value='[INSTALLDIR]grepWin.exe /searchpath:"%1"' Type="string" />
<RegistryValue Root="HKLM" Key="Software\Classes\Directory\shell\grepWin..." Name="Icon" Value='[INSTALLDIR]grepWin.exe,-107' Type="string" />
<RegistryKey Root="HKLM" Key="Software\Classes\Directory\Background\shell\grepWin..." />
<RegistryValue Root="HKLM" Key="Software\Classes\Directory\Background\shell\grepWin..." Name="Icon" Value='[INSTALLDIR]grepWin.exe,-107' Type="string" />
<RegistryValue Root="HKLM" Key="Software\Classes\Directory\Background\shell\grepWin...\command" Value='[INSTALLDIR]grepWin.exe /searchpath:"%V"' Type="string" />
<RegistryKey Root="HKLM" Key="Software\Classes\Folder\shell\grepWin..." />
<RegistryValue Root="HKLM" Key="Software\Classes\Folder\shell\grepWin..." Name="Icon" Value='[INSTALLDIR]grepWin.exe,-107' Type="string" />
<RegistryValue Root="HKLM" Key="Software\Classes\Folder\shell\grepWin...\command" Value='[INSTALLDIR]grepWin.exe /searchpath:"%1"' Type="string" />
<RegistryKey Root="HKLM" Key="Software\Classes\Drive\shell\grepWin..." />
<RegistryValue Root="HKLM" Key="Software\Classes\Drive\shell\grepWin..." Name="Icon" Value='[INSTALLDIR]grepWin.exe,-107' Type="string" />
<RegistryValue Root="HKLM" Key="Software\Classes\Drive\shell\grepWin...\command" Value='[INSTALLDIR]grepWin.exe /searchpath:"%1"' Type="string" />
<RegistryKey Root="HKLM" Key="Software\Classes\*\shell\grepWin..." />
<RegistryValue Root="HKLM" Key="Software\Classes\*\shell\grepWin..." Name="Icon" Value='[INSTALLDIR]grepWin.exe,-107' Type="string" />
<RegistryValue Root="HKLM" Key="Software\Classes\*\shell\grepWin...\command" Value='[INSTALLDIR]grepWin.exe /searchpath:"%1"' Type="string" />
<RegistryKey Root="HKLM" Key="Software\Classes\Directory\shell\grepWin" />
<RegistryValue Root="HKLM" Key="Software\Classes\Directory\shell\grepWin" Value="search with grepWin" Type="string" />
<RegistryValue Root="HKLM" Key="Software\Classes\Directory\shell\grepWin\command" Value='[INSTALLDIR]grepWin.exe /searchpath:"%1"' Type="string" />
<RegistryValue Root="HKLM" Key="Software\Classes\Directory\shell\grepWin" Name="Icon" Value='[INSTALLDIR]grepWin.exe,-107' Type="string" />
<RegistryKey Root="HKLM" Key="Software\Classes\Directory\Background\shell\grepWin" />
<RegistryValue Root="HKLM" Key="Software\Classes\Directory\Background\shell\grepWin" Value="search with grepWin" Type="string" />
<RegistryValue Root="HKLM" Key="Software\Classes\Directory\Background\shell\grepWin" Name="Icon" Value='[INSTALLDIR]grepWin.exe,-107' Type="string" />
<RegistryValue Root="HKLM" Key="Software\Classes\Directory\Background\shell\grepWin\command" Value='[INSTALLDIR]grepWin.exe /searchpath:"%V"' Type="string" />
<RegistryKey Root="HKLM" Key="Software\Classes\Folder\shell\grepWin" />
<RegistryValue Root="HKLM" Key="Software\Classes\Folder\shell\grepWin" Value="search with grepWin" Type="string" />
<RegistryValue Root="HKLM" Key="Software\Classes\Folder\shell\grepWin" Name="Icon" Value='[INSTALLDIR]grepWin.exe,-107' Type="string" />
<RegistryValue Root="HKLM" Key="Software\Classes\Folder\shell\grepWin\command" Value='[INSTALLDIR]grepWin.exe /searchpath:"%1"' Type="string" />
<RegistryKey Root="HKLM" Key="Software\Classes\Drive\shell\grepWin" />
<RegistryValue Root="HKLM" Key="Software\Classes\Drive\shell\grepWin" Value="search with grepWin" Type="string" />
<RegistryValue Root="HKLM" Key="Software\Classes\Drive\shell\grepWin" Name="Icon" Value='[INSTALLDIR]grepWin.exe,-107' Type="string" />
<RegistryValue Root="HKLM" Key="Software\Classes\Drive\shell\grepWin\command" Value='[INSTALLDIR]grepWin.exe /searchpath:"%1"' Type="string" />
<RegistryKey Root="HKLM" Key="Software\Classes\*\shell\grepWin" />
<RegistryValue Root="HKLM" Key="Software\Classes\*\shell\grepWin" Value="search with grepWin" Type="string" />
<RegistryValue Root="HKLM" Key="Software\Classes\*\shell\grepWin" Name="Icon" Value='[INSTALLDIR]grepWin.exe,-107' Type="string" />
<RegistryValue Root="HKLM" Key="Software\Classes\*\shell\grepWin\command" Value='[INSTALLDIR]grepWin.exe /searchpath:"%1"' Type="string" />
<RegistryValue Root="HKLM" Key="Software\Classes\*\shell\grepWin" Name="MultiSelectModel" Value='Player' Type="string" />
<RegistryValue Root="HKLM" Key="Software\grepWin" Name="installDir" Value='[INSTALLDIR]' Type="string" />
</Component>

Expand Down
36 changes: 21 additions & 15 deletions src/Setup/Setup64.wxs
Original file line number Diff line number Diff line change
Expand Up @@ -40,21 +40,27 @@
<File Id="Deutsch.lang" Name="Deutsch.lang" DiskId="1" Source="../../translations/Deutsch.lang" />
<File Id="Chinese.lang" Name="Chinese.lang" DiskId="1" Source="../../translations/Chinese.lang" />
<File Id="Nederlands.lang" Name="Nederlands.lang" DiskId="1" Source="../../translations/Nederlands.lang" />
<RegistryKey Root="HKLM" Key="Software\Classes\Directory\shell\grepWin..." />
<RegistryValue Root="HKLM" Key="Software\Classes\Directory\shell\grepWin...\command" Value='[INSTALLDIR]grepWin.exe /searchpath:"%1"' Type="string" />
<RegistryValue Root="HKLM" Key="Software\Classes\Directory\shell\grepWin..." Name="Icon" Value='[INSTALLDIR]grepWin.exe,-107' Type="string" />
<RegistryKey Root="HKLM" Key="Software\Classes\Directory\Background\shell\grepWin..." />
<RegistryValue Root="HKLM" Key="Software\Classes\Directory\Background\shell\grepWin..." Name="Icon" Value='[INSTALLDIR]grepWin.exe,-107' Type="string" />
<RegistryValue Root="HKLM" Key="Software\Classes\Directory\Background\shell\grepWin...\command" Value='[INSTALLDIR]grepWin.exe /searchpath:"%V"' Type="string" />
<RegistryKey Root="HKLM" Key="Software\Classes\Folder\shell\grepWin..." />
<RegistryValue Root="HKLM" Key="Software\Classes\Folder\shell\grepWin..." Name="Icon" Value='[INSTALLDIR]grepWin.exe,-107' Type="string" />
<RegistryValue Root="HKLM" Key="Software\Classes\Folder\shell\grepWin...\command" Value='[INSTALLDIR]grepWin.exe /searchpath:"%1"' Type="string" />
<RegistryKey Root="HKLM" Key="Software\Classes\Drive\shell\grepWin..." />
<RegistryValue Root="HKLM" Key="Software\Classes\Drive\shell\grepWin..." Name="Icon" Value='[INSTALLDIR]grepWin.exe,-107' Type="string" />
<RegistryValue Root="HKLM" Key="Software\Classes\Drive\shell\grepWin...\command" Value='[INSTALLDIR]grepWin.exe /searchpath:"%1"' Type="string" />
<RegistryKey Root="HKLM" Key="Software\Classes\*\shell\grepWin..." />
<RegistryValue Root="HKLM" Key="Software\Classes\*\shell\grepWin..." Name="Icon" Value='[INSTALLDIR]grepWin.exe,-107' Type="string" />
<RegistryValue Root="HKLM" Key="Software\Classes\*\shell\grepWin...\command" Value='[INSTALLDIR]grepWin.exe /searchpath:"%1"' Type="string" />
<RegistryKey Root="HKLM" Key="Software\Classes\Directory\shell\grepWin" />
<RegistryValue Root="HKLM" Key="Software\Classes\Directory\shell\grepWin" Value="search with grepWin" Type="string" />
<RegistryValue Root="HKLM" Key="Software\Classes\Directory\shell\grepWin\command" Value='[INSTALLDIR]grepWin.exe /searchpath:"%1"' Type="string" />
<RegistryValue Root="HKLM" Key="Software\Classes\Directory\shell\grepWin" Name="Icon" Value='[INSTALLDIR]grepWin.exe,-107' Type="string" />
<RegistryKey Root="HKLM" Key="Software\Classes\Directory\Background\shell\grepWin" />
<RegistryValue Root="HKLM" Key="Software\Classes\Directory\Background\shell\grepWin" Value="search with grepWin" Type="string" />
<RegistryValue Root="HKLM" Key="Software\Classes\Directory\Background\shell\grepWin" Name="Icon" Value='[INSTALLDIR]grepWin.exe,-107' Type="string" />
<RegistryValue Root="HKLM" Key="Software\Classes\Directory\Background\shell\grepWin\command" Value='[INSTALLDIR]grepWin.exe /searchpath:"%V"' Type="string" />
<RegistryKey Root="HKLM" Key="Software\Classes\Folder\shell\grepWin" />
<RegistryValue Root="HKLM" Key="Software\Classes\Folder\shell\grepWin" Value="search with grepWin" Type="string" />
<RegistryValue Root="HKLM" Key="Software\Classes\Folder\shell\grepWin" Name="Icon" Value='[INSTALLDIR]grepWin.exe,-107' Type="string" />
<RegistryValue Root="HKLM" Key="Software\Classes\Folder\shell\grepWin\command" Value='[INSTALLDIR]grepWin.exe /searchpath:"%1"' Type="string" />
<RegistryKey Root="HKLM" Key="Software\Classes\Drive\shell\grepWin" />
<RegistryValue Root="HKLM" Key="Software\Classes\Drive\shell\grepWin" Value="search with grepWin" Type="string" />
<RegistryValue Root="HKLM" Key="Software\Classes\Drive\shell\grepWin" Name="Icon" Value='[INSTALLDIR]grepWin.exe,-107' Type="string" />
<RegistryValue Root="HKLM" Key="Software\Classes\Drive\shell\grepWin\command" Value='[INSTALLDIR]grepWin.exe /searchpath:"%1"' Type="string" />
<RegistryKey Root="HKLM" Key="Software\Classes\*\shell\grepWin" />
<RegistryValue Root="HKLM" Key="Software\Classes\*\shell\grepWin" Value="search with grepWin" Type="string" />
<RegistryValue Root="HKLM" Key="Software\Classes\*\shell\grepWin" Name="Icon" Value='[INSTALLDIR]grepWin.exe,-107' Type="string" />
<RegistryValue Root="HKLM" Key="Software\Classes\*\shell\grepWin\command" Value='[INSTALLDIR]grepWin.exe /searchpath:"%1"' Type="string" />
<RegistryValue Root="HKLM" Key="Software\Classes\*\shell\grepWin" Name="MultiSelectModel" Value='Player' Type="string" />
<RegistryValue Root="HKLM" Key="Software\grepWin" Name="installDir" Value='[INSTALLDIR]' Type="string" />
</Component>

Expand Down
36 changes: 21 additions & 15 deletions src/Setup/Setup64_user.wxs
Original file line number Diff line number Diff line change
Expand Up @@ -40,21 +40,27 @@
<File Id="grepWin.EXE" Name="grepWin.exe" DiskId="1" Source="../../bin/release64/grepWin.exe" Vital="yes" />
<File Id="Deutsch.lang" Name="Deutsch.lang" DiskId="1" Source="../../translations/Deutsch.lang" />
<File Id="Chinese.lang" Name="Chinese.lang" DiskId="1" Source="../../translations/Chinese.lang" />
<RegistryKey Root="HKCU" Key="Software\Classes\Directory\shell\grepWin..." />
<RegistryValue Root="HKCU" Key="Software\Classes\Directory\shell\grepWin...\command" Value='[INSTALLDIR]grepWin.exe /searchpath:"%1"' Type="string" KeyPath="yes" />
<RegistryValue Root="HKCU" Key="Software\Classes\Directory\shell\grepWin..." Name="Icon" Value='[INSTALLDIR]grepWin.exe,-107' Type="string" />
<RegistryKey Root="HKCU" Key="Software\Classes\Directory\Background\shell\grepWin..." />
<RegistryValue Root="HKCU" Key="Software\Classes\Directory\Background\shell\grepWin..." Name="Icon" Value='[INSTALLDIR]grepWin.exe,-107' Type="string" />
<RegistryValue Root="HKCU" Key="Software\Classes\Directory\Background\shell\grepWin...\command" Value='[INSTALLDIR]grepWin.exe /searchpath:"%V"' Type="string" />
<RegistryKey Root="HKCU" Key="Software\Classes\Folder\shell\grepWin..." />
<RegistryValue Root="HKCU" Key="Software\Classes\Folder\shell\grepWin..." Name="Icon" Value='[INSTALLDIR]grepWin.exe,-107' Type="string" />
<RegistryValue Root="HKCU" Key="Software\Classes\Folder\shell\grepWin...\command" Value='[INSTALLDIR]grepWin.exe /searchpath:"%1"' Type="string" />
<RegistryKey Root="HKCU" Key="Software\Classes\Drive\shell\grepWin..." />
<RegistryValue Root="HKCU" Key="Software\Classes\Drive\shell\grepWin..." Name="Icon" Value='[INSTALLDIR]grepWin.exe,-107' Type="string" />
<RegistryValue Root="HKCU" Key="Software\Classes\Drive\shell\grepWin...\command" Value='[INSTALLDIR]grepWin.exe /searchpath:"%1"' Type="string" />
<RegistryKey Root="HKCU" Key="Software\Classes\*\shell\grepWin..." />
<RegistryValue Root="HKCU" Key="Software\Classes\*\shell\grepWin..." Name="Icon" Value='[INSTALLDIR]grepWin.exe,-107' Type="string" />
<RegistryValue Root="HKCU" Key="Software\Classes\*\shell\grepWin...\command" Value='[INSTALLDIR]grepWin.exe /searchpath:"%1"' Type="string" />
<RegistryKey Root="HKCU" Key="Software\Classes\Directory\shell\grepWin" />
<RegistryValue Root="HKCU" Key="Software\Classes\Directory\shell\grepWin" Value="search with grepWin" Type="string" KeyPath="yes" />
<RegistryValue Root="HKCU" Key="Software\Classes\Directory\shell\grepWin\command" Value='[INSTALLDIR]grepWin.exe /searchpath:"%1"' Type="string" />
<RegistryValue Root="HKCU" Key="Software\Classes\Directory\shell\grepWin" Name="Icon" Value='[INSTALLDIR]grepWin.exe,-107' Type="string" />
<RegistryKey Root="HKCU" Key="Software\Classes\Directory\Background\shell\grepWin" />
<RegistryValue Root="HKCU" Key="Software\Classes\Directory\Background\shell\grepWin" Value="search with grepWin" Type="string" />
<RegistryValue Root="HKCU" Key="Software\Classes\Directory\Background\shell\grepWin" Name="Icon" Value='[INSTALLDIR]grepWin.exe,-107' Type="string" />
<RegistryValue Root="HKCU" Key="Software\Classes\Directory\Background\shell\grepWin\command" Value='[INSTALLDIR]grepWin.exe /searchpath:"%V"' Type="string" />
<RegistryKey Root="HKCU" Key="Software\Classes\Folder\shell\grepWin" />
<RegistryValue Root="HKCU" Key="Software\Classes\Folder\shell\grepWin" Value="search with grepWin" Type="string" />
<RegistryValue Root="HKCU" Key="Software\Classes\Folder\shell\grepWin" Name="Icon" Value='[INSTALLDIR]grepWin.exe,-107' Type="string" />
<RegistryValue Root="HKCU" Key="Software\Classes\Folder\shell\grepWin\command" Value='[INSTALLDIR]grepWin.exe /searchpath:"%1"' Type="string" />
<RegistryKey Root="HKCU" Key="Software\Classes\Drive\shell\grepWin" />
<RegistryValue Root="HKCU" Key="Software\Classes\Drive\shell\grepWin" Value="search with grepWin" Type="string" />
<RegistryValue Root="HKCU" Key="Software\Classes\Drive\shell\grepWin" Name="Icon" Value='[INSTALLDIR]grepWin.exe,-107' Type="string" />
<RegistryValue Root="HKCU" Key="Software\Classes\Drive\shell\grepWin\command" Value='[INSTALLDIR]grepWin.exe /searchpath:"%1"' Type="string" />
<RegistryKey Root="HKCU" Key="Software\Classes\*\shell\grepWin" />
<RegistryValue Root="HKCU" Key="Software\Classes\*\shell\grepWin" Value="search with grepWin" Type="string" />
<RegistryValue Root="HKCU" Key="Software\Classes\*\shell\grepWin" Name="Icon" Value='[INSTALLDIR]grepWin.exe,-107' Type="string" />
<RegistryValue Root="HKCU" Key="Software\Classes\*\shell\grepWin\command" Value='[INSTALLDIR]grepWin.exe /searchpath:"%1"' Type="string" />
<RegistryValue Root="HKCU" Key="Software\Classes\*\shell\grepWin" Name="MultiSelectModel" Value='Player' Type="string" />
<RegistryValue Root="HKCU" Key="Software\grepWin" Name="installDir" Value='[INSTALLDIR]' Type="string" />
<RemoveFolder Id="REMOVEEXEDIR" On="uninstall" />
</Component>
Expand Down

0 comments on commit 31eced5

Please sign in to comment.