mirror of
https://github.com/greenshot/greenshot
synced 2025-08-19 21:13:23 -07:00
Merge from BRANCH: Added check for Microsoft Office Document Imaging (MODI), when this is not installed the OCR plug-in won't be available for installation.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@828 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
parent
6426add749
commit
7567a40158
1 changed files with 6 additions and 1 deletions
|
@ -106,7 +106,7 @@ de.ocr=OCR Plugin (braucht Microsoft Office 2003 oder 2007)
|
|||
nl.ocr=OCR Plugin (heeft Microsoft Office 2003 of 2007 nodig)
|
||||
[Components]
|
||||
Name: "plugins"; Description: "Plugins"; Types: Full
|
||||
Name: "plugins\ocr"; Description: {cm:ocr}; Types: Full
|
||||
Name: "plugins\ocr"; Description: {cm:ocr}; Types: Full; Check: CheckMODI
|
||||
;Name: "plugins\jira"; Description: "JIRA Plugin"; Types: Full
|
||||
Name: "plugins\titlefix"; Description: {cm:titlefix}; Types: Full
|
||||
;Name: "plugins\flickr"; Description: "Flickr Plugin"; Types: Full
|
||||
|
@ -120,6 +120,11 @@ external 'IssFindModule@files:IssProc.dll stdcall setuponly';
|
|||
function IssFindModuleU(hWnd: Integer; Modulename: PAnsiChar; Language: PAnsiChar; Silent: Boolean; CanIgnore: Boolean ): Integer;
|
||||
external 'IssFindModule@{app}\IssProc.dll stdcall uninstallonly';
|
||||
|
||||
function CheckMODI(): Boolean;
|
||||
begin
|
||||
Result := RegKeyExists(HKEY_CURRENT_USER, 'Software\Microsoft\Office\11.0\MODI') or RegKeyExists(HKEY_CURRENT_USER, 'Software\Microsoft\Office\12.0\MODI');
|
||||
end;
|
||||
|
||||
// Don't install as long as Greenshot is running
|
||||
function NextButtonClick(CurPage: Integer): Boolean;
|
||||
var
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue