|
|
; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
|
; Input configuration for the Inno Setup Compiler
|
|
|
; Copyright (c) 2004-2005 Christian Stimming <stimming@tuhh.de>
|
|
|
;
|
|
|
; Inno Setup Compiler: See http://www.jrsoftware.org/isdl.php
|
|
|
; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
|
|
|
|
[Setup]
|
|
|
; Using the name here directly because we want it capitalized
|
|
|
AppName=GnuCash
|
|
|
AppVerName=GnuCash @VERSION@
|
|
|
AppPublisher=GnuCash Development Team
|
|
|
AppPublisherURL=http://www.gnucash.org
|
|
|
AppSupportURL=http://www.gnucash.org
|
|
|
AppUpdatesURL=http://www.gnucash.org
|
|
|
VersionInfoVersion=@VERSION@
|
|
|
DefaultDirName={pf}\@PACKAGE@
|
|
|
DefaultGroupName=GnuCash
|
|
|
LicenseFile=@prefix@\..\dist\share\doc\@PACKAGE@\COPYING
|
|
|
Compression=lzma
|
|
|
MinVersion=5.0,5.0
|
|
|
PrivilegesRequired=poweruser
|
|
|
OutputDir=.
|
|
|
OutputBaseFilename=@PACKAGE@-@VERSION@-setup
|
|
|
UninstallFilesDir={app}\uninstall\@PACKAGE@
|
|
|
InfoAfterFile=@prefix@\..\dist\share\doc\@PACKAGE@\README.win32-bin.txt
|
|
|
SetupIconFile=@prefix@\..\dist\share\@PACKAGE@\pixmaps\gnucash-icon.ico
|
|
|
WizardSmallImageFile=@prefix@\..\dist\share\@PACKAGE@\pixmaps\gnucash-icon-48x48.bmp
|
|
|
|
|
|
[Types]
|
|
|
Name: "full"; Description: "{cm:FullInstall}"
|
|
|
Name: "custom"; Description: "{cm:CustomInstall}"; Flags: iscustom
|
|
|
|
|
|
[Components]
|
|
|
Name: "main"; Description: "{cm:MainFiles}"; Types: full custom; Flags: fixed
|
|
|
;Name: "translations"; Description: "{cm:TranslFiles}"; Types: full
|
|
|
;Name: "templates"; Description: "{cm:TemplFiles}"; Types: full
|
|
|
|
|
|
[Tasks]
|
|
|
Name: desktopicon; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"
|
|
|
Name: menuicon; Description: "{cm:CreateMenuLink}"; GroupDescription: "{cm:AdditionalIcons}"
|
|
|
|
|
|
[Icons]
|
|
|
Name: "{group}\GnuCash"; Filename: "{app}\bin\gnucash.exe"; WorkingDir: "{app}\bin"; Comment: "{cm:IconComment_GnuCash}"; IconFilename: "{app}\share\gnucash\pixmaps\gnucash-icon.ico"; Tasks: menuicon
|
|
|
Name: "{group}\{cm:IconName_README}"; Filename: "{app}\doc\gnucash\{cm:IconFilename_README}"; Comment: "{cm:IconComment_README}"; Tasks: menuicon
|
|
|
Name: "{group}\{cm:IconName_FAQ}"; Filename: "http://wiki.gnucash.org/wiki/FAQ"; Tasks: menuicon
|
|
|
Name: "{group}\{cm:IconName_Bugzilla}"; Filename: "http://bugzilla.gnome.org/enter_bug.cgi?product=GnuCash"; Tasks: menuicon
|
|
|
Name: "{group}\{cm:IconName_InstallFQ}"; Filename: "{app}\bin\install-fq-mods.cmd"; WorkingDir: "{app}\bin"; Comment: "{cm:IconComment_InstallFQ}"; Tasks: menuicon
|
|
|
Name: "{group}\{cm:IconName_Theme}"; Filename: "{app}\bin\gtk2_prefs.exe"; WorkingDir: "{app}\bin"; Tasks: menuicon
|
|
|
Name: "{group}\{cm:IconName_Uninstall}"; Filename: "{uninstallexe}"; Comment: "{cm:IconComment_Uninstall}"; Tasks: menuicon
|
|
|
|
|
|
Name: "{commondesktop}\GnuCash"; Filename: "{app}\bin\gnucash.exe"; WorkingDir: "{app}\bin"; Comment: "{cm:IconComment_GnuCash}"; IconFilename: "{app}\share\gnucash\pixmaps\gnucash-icon.ico"; Tasks: desktopicon
|
|
|
|
|
|
[Run]
|
|
|
Filename: "{app}\bin\gnucash.exe"; Description: "{cm:RunPrg}"; WorkingDir: "{app}\bin"; OnlyBelowVersion: 0,6; Flags: postinstall skipifsilent
|
|
|
Filename: "{app}\bin\guile.cmd"; Flags: runhidden
|
|
|
;; The Windows firewall exceptions, see http://www.vincenzo.net/isxkb/index.php?title=Adding_a_rule_to_the_Windows_firewall
|
|
|
Filename: "{sys}\netsh.exe"; Parameters: "firewall add allowedprogram ""{app}\bin\gnucash.exe"" ""GnuCash Free Finance Manager"" ENABLE ALL"; StatusMsg: "{cm:StatusMsgFirewall}"; Flags: runhidden; MinVersion: 0,5.01.2600sp2;
|
|
|
Filename: "{sys}\netsh.exe"; Parameters: "firewall add allowedprogram ""{app}\bin\gconfd-2.exe"" ""GConf Settings Manager"" ENABLE ALL"; StatusMsg: "{cm:StatusMsgFirewall}"; Flags: runhidden; MinVersion: 0,5.01.2600sp2;
|
|
|
|
|
|
[UninstallRun]
|
|
|
Filename: "{app}\bin\gconftool-2.exe"; Parameters: "--shutdown"; Flags: runhidden
|
|
|
Filename: "{sys}\netsh.exe"; Parameters: "firewall delete allowedprogram program=""{app}\bin\@PACKAGE@.exe"""; Flags: runhidden; MinVersion: 0,5.01.2600sp2
|
|
|
Filename: "{sys}\netsh.exe"; Parameters: "firewall delete allowedprogram program=""{app}\bin\gconfd-2.exe"""; Flags: runhidden; MinVersion: 0,5.01.2600sp2
|
|
|
|
|
|
; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
|
; Here we configure the included files and the place of their
|
|
|
; installation
|
|
|
; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
|
[Files]
|
|
|
; The main executables and DLLs
|
|
|
Source: "@prefix@\..\dist\bin\*"; DestDir: "{app}\bin"; Flags: recursesubdirs ignoreversion; Components: main
|
|
|
Source: "@prefix@\..\dist\etc\*"; DestDir: "{app}\etc"; Flags: recursesubdirs; Components: main
|
|
|
Source: "@prefix@\..\dist\etc\@PACKAGE@\environment"; DestDir: "{app}\etc\@PACKAGE@"; Components: main; AfterInstall: MyAfterInstallEnvironment()
|
|
|
; Note: The above AfterInstall function will adapt the
|
|
|
; environment config file on-the-fly by the Pascal script below.
|
|
|
Source: "@prefix@\..\dist\lib\*"; DestDir: "{app}\lib"; Flags: recursesubdirs; Components: main
|
|
|
Source: "@prefix@\..\dist\libexec\*"; DestDir: "{app}\libexec"; Flags: recursesubdirs; Components: main
|
|
|
Source: "@prefix@\..\dist\share\*"; DestDir: "{app}\share"; Flags: recursesubdirs; Components: main
|
|
|
|
|
|
;;; Not needed with AQBANKING5!
|
|
|
;; Additionally, we ship the Qt DLLs because the Online-Banking-Wizard
|
|
|
;; lib/aqbanking/plugins/@-aqbanking_so_effective-@/wizards/qt3-wizard.exe needs them.
|
|
|
;Source: "@-qtbindir-@\QtCore4.dll"; DestDir: "{app}\bin"; Flags: ignoreversion
|
|
|
;Source: "@-qtbindir-@\QtGui4.dll"; DestDir: "{app}\bin"; Flags: ignoreversion
|
|
|
;Source: "@-qtbindir-@\mingwm10.dll"; DestDir: "{app}\bin"; Flags: ignoreversion
|
|
|
;;; The following are all needed by Qt3Support
|
|
|
;Source: "@-qtbindir-@\Qt3Support4.dll"; DestDir: "{app}\bin"; Flags: ignoreversion
|
|
|
;Source: "@-qtbindir-@\QtXml4.dll"; DestDir: "{app}\bin"; Flags: ignoreversion
|
|
|
;Source: "@-qtbindir-@\QtSql4.dll"; DestDir: "{app}\bin"; Flags: ignoreversion
|
|
|
;Source: "@-qtbindir-@\QtNetwork4.dll"; DestDir: "{app}\bin"; Flags: ignoreversion
|
|
|
|
|
|
;; The translations
|
|
|
;Source: "@prefix@\..\dist\share\locale\*"; DestDir: "{app}\share\locale"; Flags: recursesubdirs; Components: translations
|
|
|
;
|
|
|
;; The account templates
|
|
|
;Source: "@prefix@\..\dist\share\@PACKAGE@\accounts\*"; DestDir: "{app}\share\@PACKAGE@\accounts"; Flags: recursesubdirs; Components: templates
|
|
|
|
|
|
; And all the documentation
|
|
|
Source: "@prefix@\..\dist\share\doc\@PACKAGE@\README"; DestDir: "{app}\doc\@PACKAGE@"; Components: main
|
|
|
Source: "@prefix@\..\dist\share\doc\@PACKAGE@\README.win32-bin.txt"; DestDir: "{app}\doc\@PACKAGE@"; Components: main
|
|
|
Source: "@prefix@\..\dist\share\doc\@PACKAGE@\README-de.win32-bin.txt"; DestDir: "{app}\doc\@PACKAGE@"; Components: main
|
|
|
Source: "@prefix@\..\dist\share\doc\@PACKAGE@\README-fr.win32-bin.txt"; DestDir: "{app}\doc\@PACKAGE@"; Components: main
|
|
|
Source: "@prefix@\..\dist\share\doc\@PACKAGE@\README-it.win32-bin.txt"; DestDir: "{app}\doc\@PACKAGE@"; Components: main
|
|
|
Source: "@prefix@\..\dist\share\doc\@PACKAGE@\README-zh_CN.win32-bin.txt"; DestDir: "{app}\doc\@PACKAGE@"; Components: main
|
|
|
Source: "@prefix@\..\dist\share\doc\@PACKAGE@\README-zh_TW.win32-bin.txt"; DestDir: "{app}\doc\@PACKAGE@"; Components: main
|
|
|
Source: "@prefix@\..\dist\share\doc\@PACKAGE@\COPYING"; DestDir: "{app}\doc\@PACKAGE@"; Flags: ignoreversion; Components: main
|
|
|
Source: "@prefix@\..\dist\share\doc\@PACKAGE@\AUTHORS"; DestDir: "{app}\doc\@PACKAGE@"; Components: main
|
|
|
Source: "@prefix@\..\dist\share\doc\@PACKAGE@\ChangeLog"; DestDir: "{app}\doc\@PACKAGE@"; Components: main
|
|
|
|
|
|
|
|
|
; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
|
; Define the registry keys Setup should create (HKLM = HKEY_LOCAL_MACHINE)
|
|
|
; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
|
[Registry]
|
|
|
Root: HKCR; Subkey: ".gnucash"; ValueType: string; ValueName: ""; ValueData: "GnuCash.Financial.Data"; Flags: uninsdeletevalue
|
|
|
Root: HKCR; Subkey: ".gnucash"; ValueType: string; ValueName: "Content Type"; ValueData: "application/x-gnucash"; Flags: uninsdeletevalue
|
|
|
Root: HKCR; Subkey: "GnuCash.Financial.Data"; ValueType: string; ValueName: ""; ValueData: "GnuCash Financial Data"; Flags: uninsdeletevalue
|
|
|
Root: HKCR; Subkey: "GnuCash.Financial.Data\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\share\gnucash\pixmaps\gnucash-icon.ico,0"
|
|
|
Root: HKCR; Subkey: "GnuCash.Financial.Data\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\bin\gnucash.exe"" ""%1"""
|
|
|
|
|
|
Root: HKLM; Subkey: "Software\GnuCash"; ValueType: none; Flags: uninsdeletekeyifempty
|
|
|
Root: HKLM; Subkey: "Software\GnuCash\Paths"; ValueType: none; Flags: uninsdeletekeyifempty
|
|
|
Root: HKLM; Subkey: "Software\GnuCash\Paths"; ValueType: string; ValueName: "prefix"; ValueData: "{app}"; Flags: uninsdeletevalue
|
|
|
Root: HKLM; Subkey: "Software\GnuCash"; ValueType: string; ValueName: "InstallationDirectory"; ValueData: "{app}"; Flags: uninsdeletevalue
|
|
|
Root: HKLM; Subkey: "Software\GnuCash\Paths"; ValueType: string; ValueName: "libdir"; ValueData: "{app}\lib"; Flags: uninsdeletevalue
|
|
|
Root: HKLM; Subkey: "Software\GnuCash\Paths"; ValueType: string; ValueName: "pkglibdir"; ValueData: "{app}\lib\@PACKAGE@"; Flags: uninsdeletevalue
|
|
|
Root: HKLM; Subkey: "Software\GnuCash\Paths"; ValueType: string; ValueName: "sysconfdir"; ValueData: "{app}\etc"; Flags: uninsdeletevalue
|
|
|
Root: HKLM; Subkey: "Software\GnuCash\Paths"; ValueType: string; ValueName: "localedir"; ValueData: "{app}\share\locale"; Flags: uninsdeletevalue
|
|
|
|
|
|
; Store the version information
|
|
|
Root: HKLM; Subkey: "Software\GnuCash\Version"; ValueType: none; Flags: uninsdeletekeyifempty
|
|
|
Root: HKLM; Subkey: "Software\GnuCash\Version"; ValueType: string; ValueName: "Version"; ValueData: "@PACKAGE_VERSION@"; Flags: uninsdeletevalue
|
|
|
Root: HKLM; Subkey: "Software\GnuCash\Version"; ValueType: dword; ValueName: "VersionMajor"; ValueData: "@GNUCASH_MAJOR_VERSION@"; Flags: uninsdeletevalue
|
|
|
Root: HKLM; Subkey: "Software\GnuCash\Version"; ValueType: dword; ValueName: "VersionMinor"; ValueData: "@GNUCASH_MINOR_VERSION@"; Flags: uninsdeletevalue
|
|
|
Root: HKLM; Subkey: "Software\GnuCash\Version"; ValueType: dword; ValueName: "VersionMicro"; ValueData: "@GNUCASH_MICRO_VERSION@"; Flags: uninsdeletevalue
|
|
|
|
|
|
; Additionally, we have to install the paths for gwenhywfar
|
|
|
Root: HKLM; Subkey: "Software\Gwenhywfar"; ValueType: none; Flags: uninsdeletekeyifempty
|
|
|
Root: HKLM; Subkey: "Software\Gwenhywfar\Paths"; ValueType: none; Flags: uninsdeletekeyifempty
|
|
|
Root: HKLM; Subkey: "Software\Gwenhywfar\Paths"; ValueType: string; ValueName: "prefix"; ValueData: "{app}"; Flags: uninsdeletevalue
|
|
|
Root: HKLM; Subkey: "Software\Gwenhywfar\Paths"; ValueType: string; ValueName: "libdir"; ValueData: "{app}\lib"; Flags: uninsdeletevalue
|
|
|
Root: HKLM; Subkey: "Software\Gwenhywfar\Paths"; ValueType: string; ValueName: "plugindir"; ValueData: "{app}\lib\gwenhywfar\plugins\@-gwenhywfar_so_effective-@"; Flags: uninsdeletevalue
|
|
|
Root: HKLM; Subkey: "Software\Gwenhywfar\Paths"; ValueType: string; ValueName: "sysconfdir"; ValueData: "{app}\etc"; Flags: uninsdeletevalue
|
|
|
Root: HKLM; Subkey: "Software\Gwenhywfar\Paths"; ValueType: string; ValueName: "localedir"; ValueData: "{app}\share\locale"; Flags: uninsdeletevalue
|
|
|
|
|
|
; And we also need some registry keys for aqbanking
|
|
|
Root: HKLM; Subkey: "Software\Aqbanking"; ValueType: none; Flags: uninsdeletekeyifempty
|
|
|
Root: HKLM; Subkey: "Software\Aqbanking\Paths"; ValueType: none; Flags: uninsdeletekeyifempty
|
|
|
Root: HKLM; Subkey: "Software\Aqbanking\Paths"; ValueType: string; ValueName: "providerdir"; ValueData: "{app}\lib\aqbanking\plugins\@-aqbanking_so_effective-@\providers"; Flags: uninsdeletevalue
|
|
|
Root: HKLM; Subkey: "Software\Aqbanking\Paths"; ValueType: string; ValueName: "bankinfodir"; ValueData: "{app}\lib\aqbanking\plugins\@-aqbanking_so_effective-@\bankinfo"; Flags: uninsdeletevalue
|
|
|
Root: HKLM; Subkey: "Software\Aqbanking\Paths"; ValueType: string; ValueName: "importerdir"; ValueData: "{app}\lib\aqbanking\plugins\@-aqbanking_so_effective-@\imexporters"; Flags: uninsdeletevalue
|
|
|
Root: HKLM; Subkey: "Software\Aqbanking\Paths"; ValueType: string; ValueName: "wizarddir"; ValueData: "{app}\lib\aqbanking\plugins\@-aqbanking_so_effective-@\wizards"; Flags: uninsdeletevalue
|
|
|
Root: HKLM; Subkey: "Software\Aqbanking\Paths"; ValueType: string; ValueName: "pkgdatadir"; ValueData: "{app}\share\aqbanking"; Flags: uninsdeletevalue
|
|
|
Root: HKLM; Subkey: "Software\Aqbanking\Paths"; ValueType: string; ValueName: "sysconfdir"; ValueData: "{app}\etc"; Flags: uninsdeletevalue
|
|
|
Root: HKLM; Subkey: "Software\Aqbanking\Paths"; ValueType: string; ValueName: "localedir"; ValueData: "{app}\share\locale"; Flags: uninsdeletevalue
|
|
|
Root: HKLM; Subkey: "Software\AqBanking\Paths"; ValueType: string; ValueName: "xmldatadir"; ValueData: "{app}\share\aqhbci\xml"; Flags: uninsdeletevalue
|
|
|
Root: HKLM; Subkey: "Software\AqBanking\Paths"; ValueType: string; ValueName: "cfgmoduledir"; ValueData: "{app}\lib\aqbanking\plugins\@-aqbanking_so_effective-@\frontends\qbanking\cfgmodules"; Flags: uninsdeletevalue
|
|
|
|
|
|
|
|
|
; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
|
; Delete the created config script on uninstall
|
|
|
; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
|
[UninstallDelete]
|
|
|
Type: files; Name: "{app}\bin\guile.cmd"
|
|
|
Type: files; Name: "{app}\etc\gnucash\environment"
|
|
|
Type: filesandordirs; Name: "{app}\share\guile"
|
|
|
Type: filesandordirs; Name: "{app}\etc\gconf"
|
|
|
Type: dirifempty; Name: "{app}\etc\gnucash"
|
|
|
Type: dirifempty; Name: "{app}\etc"
|
|
|
|
|
|
; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
|
; Perform some additional actions in code that can't be done
|
|
|
; by the installer by default. The code snippets below hook
|
|
|
; into the installer code at specific events. See
|
|
|
; http://www.jrsoftware.org/ishelp/index.php?topic=scriptintro
|
|
|
; for more information on iss scription and a syntax reference.
|
|
|
; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
|
[Code]
|
|
|
var
|
|
|
PrevInstDetectedPage : TOutputMsgWizardPage;
|
|
|
PrevAppName, PrevUninstallString : String;
|
|
|
PrevVersionMajor, PrevVersionMinor, PrevVersionMicro : Cardinal;
|
|
|
Uninstallrequired : Boolean;
|
|
|
|
|
|
// ----------------------------------------------------------------
|
|
|
// Sometimes it's not possible to install a newer version of
|
|
|
// GnuCash over an older one on Windows. This happens for example
|
|
|
// when libraries or reports are moved around in the newer version.
|
|
|
// The code below will detect an existing GnuCash installation
|
|
|
// and will remove it (if the user accepts) before installing
|
|
|
// the version the user has selected.
|
|
|
// ----------------------------------------------------------------
|
|
|
|
|
|
{ Lookup the registry information on a previous installation }
|
|
|
procedure GetPrevInstallInfo();
|
|
|
var
|
|
|
sUnInstPath, sAppVersionPath: String;
|
|
|
rootKey : Integer;
|
|
|
begin
|
|
|
sAppVersionPath := 'Software\GnuCash\Version';
|
|
|
sUnInstPath := 'Software\Microsoft\Windows\CurrentVersion\Uninstall\GnuCash_is1';
|
|
|
|
|
|
PrevAppName := '';
|
|
|
PrevUninstallString := '';
|
|
|
PrevVersionMajor := 0;
|
|
|
PrevVersionMinor := 0;
|
|
|
PrevVersionMicro := 0;
|
|
|
|
|
|
if RegKeyExists(HKLM, sUnInstPath) then
|
|
|
rootKey := HKLM
|
|
|
else
|
|
|
rootKey := HKCU;
|
|
|
|
|
|
RegQueryStringValue(rootKey, sUnInstPath, 'UninstallString', PrevUninstallString);
|
|
|
RegQueryStringValue(rootKey, sUnInstPath, 'DisplayName', PrevAppName);
|
|
|
RegQueryDwordValue(rootKey, sAppVersionPath, 'VersionMajor', PrevVersionMajor);
|
|
|
RegQueryDwordValue(rootKey, sAppVersionPath, 'VersionMinor', PrevVersionMinor);
|
|
|
RegQueryDwordValue(rootKey, sAppVersionPath, 'VersionMicro', PrevVersionMicro);
|
|
|
end;
|
|
|
|
|
|
{ Check if there is another GnuCash currently installed }
|
|
|
{ If so, the user will be prompted if it can be uninstalled first. }
|
|
|
{ If the user doesn't allow uninstall, the installation will be aborted. }
|
|
|
procedure CheckUninstallRequired();
|
|
|
begin
|
|
|
UninstallRequired := True;
|
|
|
GetPrevInstallInfo;
|
|
|
|
|
|
if (PrevUninstallString = '') then
|
|
|
UninstallRequired := False
|
|
|
// We used to check on major-minor versions to determine the uninstall requirement,
|
|
|
// but this is not always sufficient. So the following code won't be used until
|
|
|
// refined.
|
|
|
// else if (PrevVersionMajor = @GNUCASH_MAJOR_VERSION@) and (PrevVersionMinor = @GNUCASH_MINOR_VERSION@) then
|
|
|
// UninstallRequired := False;
|
|
|
end;
|
|
|
|
|
|
{ Uninstall the current installation }
|
|
|
function UnInstallOldVersion(): Integer;
|
|
|
var
|
|
|
sUnInstallString: String;
|
|
|
iResultCode: Integer;
|
|
|
begin
|
|
|
// Return Values:
|
|
|
// 1 - uninstall string is empty
|
|
|
// 2 - error executing the UnInstallString
|
|
|
// 3 - successfully executed the UnInstallString
|
|
|
|
|
|
// default return value
|
|
|
Result := 0;
|
|
|
|
|
|
if PrevUninstallString <> '' then begin
|
|
|
sUnInstallString := RemoveQuotes(PrevUninstallString);
|
|
|
if Exec(sUnInstallString, '/SILENT /NORESTART /SUPPRESSMSGBOXES','', SW_HIDE, ewWaitUntilTerminated, iResultCode) then
|
|
|
Result := 3
|
|
|
else
|
|
|
Result := 2;
|
|
|
end else
|
|
|
Result := 1;
|
|
|
end;
|
|
|
|
|
|
function GetPrevAppName(Param: String): String;
|
|
|
begin
|
|
|
Result := PrevAppName;
|
|
|
end;
|
|
|
|
|
|
{ Setup a page to display if a previous (incompatible) GnuCash installation is found }
|
|
|
procedure InitializeWizard;
|
|
|
begin
|
|
|
CheckUninstallRequired;
|
|
|
PrevInstDetectedPage := CreateOutputMsgPage(wpReady,
|
|
|
ExpandConstant('{cm:AIWP_Title}'),
|
|
|
ExpandConstant('{cm:AIWP_Description,{code:GetPrevAppName}}'),
|
|
|
ExpandConstant('{cm:AIWP_Message,{code:GetPrevAppName}}'));
|
|
|
end;
|
|
|
|
|
|
{ Determine whether the previous installation page should be displayed or not }
|
|
|
function ShouldSkipPage(PageID: Integer): Boolean;
|
|
|
begin
|
|
|
Result := False
|
|
|
if (PageID = PrevInstDetectedPage.ID) and (not UninstallRequired) then
|
|
|
Result := True;
|
|
|
end;
|
|
|
|
|
|
{ If a previous (incompatible) installation is present start the installation }
|
|
|
{ process with deleting this old installation }
|
|
|
procedure CurStepChanged(CurStep: TSetupStep);
|
|
|
begin
|
|
|
if (CurStep=ssInstall) and (UninstallRequired) then
|
|
|
UnInstallOldVersion();
|
|
|
end;
|
|
|
|
|
|
// ------------------------------------------------------------
|
|
|
// The GnuCash environment file contains paths that have to be
|
|
|
// adapted at install time. The code below does that.
|
|
|
// ------------------------------------------------------------
|
|
|
function MingwBacksl(const S: String): String;
|
|
|
begin
|
|
|
{ Modify the path name S so that it can be used by MinGW }
|
|
|
if Length(ExtractFileDrive(S)) = 0 then
|
|
|
Result := S
|
|
|
else begin
|
|
|
Result := '/'+S;
|
|
|
StringChange(Result, ':\', '\');
|
|
|
end;
|
|
|
StringChange(Result, '\', '/');
|
|
|
end;
|
|
|
|
|
|
procedure MyAfterInstallConfig();
|
|
|
var
|
|
|
FileName, FileString, appdir, libdir, pkglibdir, pkgdatadir: String;
|
|
|
Res: Boolean;
|
|
|
begin
|
|
|
|
|
|
{ Get the installation-specific paths }
|
|
|
appdir := ExpandConstant('{app}');
|
|
|
pkgdatadir := appdir + '\share\gnucash';
|
|
|
|
|
|
{ Create the guile.cmd file; #10 is the linefeed character and #13 CR }
|
|
|
|
|
|
FileName := appdir + '\bin\guile.cmd' ;
|
|
|
FileString := 'set GUILE_LOAD_PATH=' + pkgdatadir + '\guile-modules;' + pkgdatadir + '\scm;' + appdir + '\share\guile\1.8;%GUILE_LOAD_PATH%'#13#10 ;
|
|
|
FileString := FileString + 'start guile.exe %*'#13#10 ;
|
|
|
|
|
|
{ Save the final file }
|
|
|
|
|
|
Res := SaveStringToFile(FileName, FileString, False);
|
|
|
if Res = False then
|
|
|
MsgBox('Error on saving '+FileName+' for completing the installation', mbInformation, MB_OK);
|
|
|
|
|
|
end;
|
|
|
|
|
|
function BackslashPath(const S: String): String;
|
|
|
begin
|
|
|
{ Convert c:\soft to c:/soft }
|
|
|
Result := S;
|
|
|
StringChange(Result, '\', '/');
|
|
|
end;
|
|
|
|
|
|
procedure MyAfterInstallEnvironment();
|
|
|
var
|
|
|
EnvFile, EtcDir: String;
|
|
|
iLineCounter, iSize : Integer;
|
|
|
EnvStrList: TArrayOfString;
|
|
|
Res: Boolean;
|
|
|
begin
|
|
|
{ Make some Windows-only changes to the etc/@PACKAGE@/environment file }
|
|
|
{ If you make any changes here, you should probably also change the equivalent sections }
|
|
|
{ in packaging/win32/install.sh }
|
|
|
{ A new line is stared with #13#10 - #10 is the linefeed character and #13 CR }
|
|
|
|
|
|
{ Get the installation-specific paths }
|
|
|
EnvFile := ExpandConstant(CurrentFileName);
|
|
|
EtcDir := ExtractFileDir(EnvFile);
|
|
|
|
|
|
{ Load the current contents of the environment file }
|
|
|
Res := LoadStringsFromFile(EnvFile, EnvStrList);
|
|
|
if Res = False then
|
|
|
MsgBox('Error on reading ' + EnvFile + ' for completing the installation', mbInformation, MB_OK);
|
|
|
|
|
|
iSize := GetArrayLength(EnvStrList);
|
|
|
for iLineCounter := 0 to iSize-1 do
|
|
|
begin
|
|
|
{ Adapt GUILE_LOAD_PATH parameter and prevent cygwin interference in SCHEME_LIBRARY_PATH }
|
|
|
if (Pos('GUILE_LOAD_PATH', EnvStrList[iLineCounter]) = 1) then
|
|
|
begin
|
|
|
StringChangeEx(EnvStrList[iLineCounter], '{GUILE_LOAD_PATH}', '{GNC_HOME}/share/guile/1.8;{GUILE_LOAD_PATH}', True);
|
|
|
|
|
|
EnvStrList[iLineCounter] := EnvStrList[iLineCounter] + #13#10 + '# Clear SCHEME_LIBRARY_PATH to prevent interference from other guile installations (like cygwin)' + #13#10;
|
|
|
EnvStrList[iLineCounter] := EnvStrList[iLineCounter] + 'SCHEME_LIBRARY_PATH=' + #13#10;
|
|
|
end;
|
|
|
{ Adapt GNC_DBD_DIR parameter }
|
|
|
if (Pos('GNC_DBD_DIR', EnvStrList[iLineCounter]) > 0) then
|
|
|
EnvStrList[iLineCounter] := 'GNC_DBD_DIR={GNC_HOME}/lib/dbd';
|
|
|
end;
|
|
|
|
|
|
{ Save the final file }
|
|
|
Res := ForceDirectories(EtcDir);
|
|
|
if Res = False then
|
|
|
MsgBox('Error on creating ' + EtcDir + ' for completing the installation', mbInformation, MB_OK);
|
|
|
|
|
|
Res := SaveStringsToFile(EnvFile, EnvStrList, False);
|
|
|
if Res = False then
|
|
|
MsgBox('Error on saving ' + EnvFile + ' for completing the installation', mbInformation, MB_OK);
|
|
|
end;
|
|
|
|
|
|
[Languages]
|
|
|
Name: "en"; MessagesFile: "compiler:Default.isl"
|
|
|
Name: "de"; MessagesFile: "compiler:Languages\German.isl"; InfoAfterFile: "@prefix@\share\doc\@PACKAGE@\README-de.win32-bin.txt"
|
|
|
Name: "el"; MessagesFile: "@prefix@\share\@PACKAGE@\Greek-4-5.1.11.isl"
|
|
|
Name: "fr"; MessagesFile: "compiler:Languages\French.isl"; InfoAfterFile: "@prefix@\share\doc\@PACKAGE@\README-fr.win32-bin.txt"
|
|
|
Name: "it"; MessagesFile: "compiler:Languages\Italian.isl"; InfoAfterFile: "@prefix@\share\doc\@PACKAGE@\README-it.win32-bin.txt"
|
|
|
Name: "ja"; MessagesFile: "@prefix@\share\@PACKAGE@\Japanese-5-5.1.11.isl"
|
|
|
Name: "lv"; MessagesFile: "@prefix@\share\@PACKAGE@\Latvian-1-5.1.11.isl"; InfoAfterFile: "@prefix@\share\doc\@PACKAGE@\README-lv.win32-bin.txt"
|
|
|
Name: "nl"; MessagesFile: "compiler:Languages\Dutch.isl"; InfoAfterFile: "@prefix@\share\doc\@PACKAGE@\README-nl.win32-bin.txt"
|
|
|
Name: "pt_BR"; MessagesFile: "compiler:Languages\BrazilianPortuguese.isl"
|
|
|
Name: "zh_CN"; MessagesFile: "@prefix@\share\@PACKAGE@\ChineseSimp-12-5.1.11.isl"; InfoAfterFile: "@prefix@\share\doc\@PACKAGE@\README-zh_CN.win32-bin.txt"
|
|
|
Name: "zh_TW"; MessagesFile: "@prefix@\share\@PACKAGE@\ChineseTrad-2-5.1.11.isl"; InfoAfterFile: "@prefix@\share\doc\@PACKAGE@\README-zh_TW.win32-bin.txt"
|
|
|
|
|
|
;; The following language files are available as well, in alphabetical
|
|
|
;; order: Basque, BrazilianPortuguese, Catalan, Czech, Danish, Dutch,
|
|
|
;; Finnish, Hungarian, Italian, Norwegian, Polish, Portuguese,
|
|
|
;; Russian, Slovak, Slovenian, Spanish
|
|
|
|
|
|
; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
|
; These are only for improved text messages
|
|
|
; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
|
[Messages]
|
|
|
|
|
|
[CustomMessages]
|
|
|
; *** "Select Components" wizard page
|
|
|
FullInstall=Full installation
|
|
|
CustomInstall=Custom installation
|
|
|
CreateDesktopIcon=Create a &desktop icon
|
|
|
CreateMenuLink=Create a start menu link
|
|
|
RunPrg=Run GnuCash now
|
|
|
AdditionalIcons=Create these icons:
|
|
|
StatusMsgFirewall=Installing Windows firewall rules...
|
|
|
; *** "Another install" wizard page
|
|
|
; %1 in the following messages will be replaced with the application name and version, like "GnuCash 2.3.15"
|
|
|
AIWP_Title=Another installation has been found
|
|
|
AIWP_Description=%1 is currently installed on this computer
|
|
|
AIWP_Message=This earlier installation has to be removed before continuing.%n%nIf you don't want that, click Cancel now to abort the current installation.%n%nClick Next to remove %1 and continue with the installation.%n%nNote: Only the program will be removed, not your financial data.
|
|
|
|
|
|
MainFiles=GnuCash Program
|
|
|
TranslFiles=Translation Files
|
|
|
TemplFiles=Account Template Files
|
|
|
|
|
|
IconComment_GnuCash=GnuCash Free Finance Manager
|
|
|
IconName_README=Show README
|
|
|
IconComment_README=Show the README file
|
|
|
IconFilename_README=README.win32-bin.txt
|
|
|
IconName_FAQ=FAQ (Online)
|
|
|
IconName_Bugzilla=Report a Bug (Online)
|
|
|
IconName_InstallFQ=Install Online Price Retrieval
|
|
|
IconComment_InstallFQ=Install the necessary perl module Finance-Quote for online retrieval of prices. Requires ActivePerl 5.8 or later
|
|
|
IconName_Theme=Select Theme
|
|
|
IconName_Uninstall=Uninstall GnuCash
|
|
|
IconComment_Uninstall=Uninstall the Finance Manager GnuCash
|
|
|
|
|
|
;; List of Code pages, used in gnucash.cmd
|
|
|
LanguageCodePage=1252
|
|
|
de.LanguageCodePage=1252
|
|
|
el.LanguageCodePage=1253
|
|
|
fr.LanguageCodePage=1252
|
|
|
it.LanguageCodePage=1252
|
|
|
ja.LanguageCodePage=932
|
|
|
nl.LanguageCodePage=1252
|
|
|
pt_BR.LanguageCodePage=1252
|
|
|
zh_CN.LanguageCodePage=936
|
|
|
zh_TW.LanguageCodePage=950
|
|
|
|
|
|
;; ;;;;;;;;;;;;;;;;;;;;
|
|
|
;; German translation
|
|
|
|
|
|
de.FullInstall=Komplett-Installation
|
|
|
de.CustomInstall=Benutzerdefiniert
|
|
|
de.CreateDesktopIcon=Ein Icon auf dem Desktop erstellen
|
|
|
de.CreateMenuLink=Eine Verknüpfung im Startmenü erstellen
|
|
|
de.RunPrg=GnuCash jetzt starten
|
|
|
de.AdditionalIcons=Folgende Icons erstellen:
|
|
|
de.StatusMsgFirewall=Ausnahmen für Windows-Firewall installieren...
|
|
|
|
|
|
de.MainFiles=GnuCash Hauptprogramm
|
|
|
de.TranslFiles=Deutsche Übersetzung
|
|
|
de.TemplFiles=Beispiel-Kontenrahmen
|
|
|
|
|
|
de.IconComment_GnuCash=GnuCash OpenSource-Finanzverwaltung
|
|
|
de.IconName_README=README anzeigen
|
|
|
de.IconComment_README=Die Informationsdatei (README) anzeigen
|
|
|
de.IconFilename_README=README-de.win32-bin.txt
|
|
|
de.IconName_FAQ=Häufige Fragen (online, engl.)
|
|
|
de.IconName_Bugzilla=Fehlerbericht einsenden (online, engl.)
|
|
|
de.IconName_InstallFQ=Online Kursabruf installieren
|
|
|
de.IconComment_InstallFQ=Das zusätzliche Modul Finance-Quote installieren, um online Aktien- und Devisenkurse abrufen zu können. Dazu ist das Programm ActivePerl 5.8 oder neuer erforderlich.
|
|
|
de.IconName_Uninstall=Deinstallieren von GnuCash
|
|
|
de.IconComment_Uninstall=Die OpenSource-Finanzverwaltung GnuCash wieder deinstallieren und vom Computer löschen
|
|
|
|
|
|
de.AIWP_Title=Frühere Version gefunden
|
|
|
de.AIWP_Description=%1 ist momentan auf diesem Computer installiert
|
|
|
de.AIWP_Message=Diese frühere Version muss vor der neuen Installation entfernt werden. %n%nFalls Sie das nicht möchten, klicken Sie jetzt auf »Abbrechen«.%n%nKlicken Sie auf »Fortsetzen«, um %1 zu entfernen und die neue Version zu installieren.%n%nHinweis: Lediglich die Programmversion wird entfernt, aber nicht Ihre finanziellen Daten.
|
|
|
|
|
|
|
|
|
;; ;;;;;;;;;;;;;;;;;;;
|
|
|
;; Greek translation
|
|
|
|
|
|
el.FullInstall=Πλήρης εγκατάσταση
|
|
|
el.CustomInstall=Προσαρμοσμένη εγκατάσταση
|
|
|
el.CreateDesktopIcon=Δημιουργία εικονιδίου στην επιφάνεια εργασίας
|
|
|
el.CreateMenuLink=Προσθήκη στο μενού Έναρξη
|
|
|
el.RunPrg=Εκτέλεση του GnuCash τώρα
|
|
|
el.AdditionalIcons=Δημιουργία εικονιδίων:
|
|
|
el.StatusMsgFirewall=Εγκατάσταση κανόνων για το τοίχος προστασίας των Windows...
|
|
|
|
|
|
el.MainFiles=Πρόγραμμα GnuCash
|
|
|
el.TranslFiles=Αρχεία μετάφρασεων
|
|
|
el.TemplFiles=Αρχεία με πρότυπα λογαριασμών
|
|
|
|
|
|
el.IconComment_GnuCash=GnuCash πρόγραμμα διαχ. οικονομικών
|
|
|
el.IconName_README=Εμφάνιση του README
|
|
|
el.IconComment_README=Εμφάνιση του αρχείου README
|
|
|
el.IconFilename_README=README.win32-bin.txt
|
|
|
el.IconName_FAQ=Συχνές ερωτήσεις (Online)
|
|
|
el.IconName_Bugzilla=Αναφορά σφάλματος (Online)
|
|
|
el.IconName_InstallFQ=Εγκατάσταση λήψης τιμών (online)
|
|
|
el.IconComment_InstallFQ=Εγκατάσταση του perl module Finance-Quote για λήψη τιμών online. Απαιτεί ActivePerl 5.8+
|
|
|
el.IconName_Uninstall=Απεγκατάσταση GnuCash
|
|
|
el.IconComment_Uninstall=Απεγκατάσταση του διαχειριστή οικονομικών GnuCash
|
|
|
|
|
|
|
|
|
;; ;;;;;;;;;;;;;;;;;;;;
|
|
|
;; French translation
|
|
|
|
|
|
fr.FullInstall=Installation complète
|
|
|
fr.CustomInstall=Installation personnalisée
|
|
|
fr.CreateDesktopIcon=Créer un icône sur le bureau
|
|
|
fr.CreateMenuLink=Créer un lien dans le menu de démarrage
|
|
|
fr.RunPrg=Démarrer GnuCash maintenant
|
|
|
fr.AdditionalIcons=Créer les icônes suivants:
|
|
|
fr.StatusMsgFirewall=Installation des règles de pare-feu de Windows
|
|
|
|
|
|
fr.MainFiles=Programme GnuCash
|
|
|
fr.TranslFiles=Traduction française
|
|
|
fr.TemplFiles=Modèle de plan comptable
|
|
|
|
|
|
fr.IconComment_GnuCash=GnuCash, le gestionnaire financier OpenSource
|
|
|
fr.IconName_README=Afficher le LISEZMOI
|
|
|
fr.IconComment_README=Afficher le fichier LISEZMOI
|
|
|
fr.IconFilename_README=README-fr.win32-bin.txt
|
|
|
fr.IconName_FAQ=FAQ (En ligne, en anglais)
|
|
|
fr.IconName_Bugzilla=Envoyer un rapport d'erreur (En ligne, en anglais)
|
|
|
fr.IconName_InstallFQ=Installer les quotations en ligne
|
|
|
fr.IconComment_InstallFQ=Installation du module Finance-Quote requis pour le téléchargement du cours des devises et actions. Le programme ActivePerl 5.8 ou plus récent est aussi requis
|
|
|
fr.IconName_Uninstall=Dé-installer GnuCash
|
|
|
fr.IconComment_Uninstall=Désinstalle le gestionnaire financier GnuCash
|
|
|
|
|
|
|
|
|
;; ;;;;;;;;;;;;;;;;;;;;;
|
|
|
;; Italian translation
|
|
|
|
|
|
; *** Pagina di "Selezione dei componenti"
|
|
|
it.FullInstall=Installazione completa
|
|
|
it.CustomInstall=Installazione personalizzata
|
|
|
it.CreateDesktopIcon=Crea un'icona sul desktop
|
|
|
it.CreateMenuLink=Crea un collegamento nel menu "Start"
|
|
|
it.RunPrg=Avvia GnuCash
|
|
|
it.AdditionalIcons=Crea queste icone:
|
|
|
it.StatusMsgFirewall=Installazione delle regole per il firewall di Windows...
|
|
|
; *** Pagina di "Altra installazione"
|
|
|
; nel messaggio seguente la stringa %1 sarà sostituita dal nome e dalla versione dell'applicazione, ad esempio "GnuCash 2.3.15"
|
|
|
it.AIWP_Title=È stata trovata un'altra installazione
|
|
|
it.AIWP_Description=%1 è installato in questo computer
|
|
|
it.AIWP_Message=Questa precedente installazione deve essere rimossa prima di continuare.%n%nSe non si intende rimuoverla, fare clic su «Annulla» per terminare l'installazione.%n%nFare invece clic su «Avanti» per rimuovere %1 e continuare con l'installazione.%n%nNota: verrà rimosso solo il programma, non i propri dati finanziari.
|
|
|
|
|
|
it.MainFiles=File del programma GnuCash
|
|
|
it.TranslFiles=Traduzione Italiana
|
|
|
it.TemplFiles=Modelli di strutture dei conti
|
|
|
|
|
|
it.IconComment_GnuCash=GnuCash: gestore di finanze libero
|
|
|
it.IconName_README=Mostra il file LEGGIMI
|
|
|
it.IconComment_README=Mostra il file LEGGIMI
|
|
|
it.IconFilename_README=README-it.win32-bin.txt
|
|
|
it.IconName_FAQ=FAQ (online, in Inglese)
|
|
|
it.IconName_Bugzilla=Segnalare un bug (online, in Inglese)
|
|
|
it.IconName_InstallFQ=Installa la funzione di ricerca delle quotazioni online
|
|
|
it.IconComment_InstallFQ=Installa il modulo di perl Finance-Quote necessario per ricevere le quotazioni online. Richiede ActivePerl 5.8+
|
|
|
it.IconName_Theme=Selezione del tema
|
|
|
it.IconName_Uninstall=Disinstalla GnuCash
|
|
|
it.IconComment_Uninstall=Disinstalla il programma di gestione delle finanze GnuCash
|
|
|
|
|
|
|
|
|
;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
|
;; Japanese translation
|
|
|
|
|
|
ja.FullInstall=完全インストール
|
|
|
ja.CustomInstall=カスタムインストール
|
|
|
ja.CreateDesktopIcon=デスクトップにアイコンを作成(&D)
|
|
|
ja.CreateMenuLink=スタートメニューにリンクを作成
|
|
|
ja.RunPrg=GnuCashをすぐに実行
|
|
|
ja.AdditionalIcons=作成されたアイコン:
|
|
|
ja.StatusMsgFirewall=ファイアウォール定義をインストール中
|
|
|
; *** "Another install" wizard page
|
|
|
; %1 in the following messages will be replaced with the application name and version, like "GnuCash 2.3.15"
|
|
|
ja.AIWP_Title=他のバージョンがインストールされています
|
|
|
ja.AIWP_Description=このコンピュータには %1 が現在インストールされています
|
|
|
ja.AIWP_Message=インストールを継続する前に前のバージョンはアンインストールされます。%n%nもしこの動作を望まないなら「キャンセル」をクリックしてインストールを中止してください。%n%n%1 を削除してインストールを継続する場合は「次へ」をクリックしてください。%n%n備考: 作成した財務データは削除されません。プログラムのみが削除されます。
|
|
|
|
|
|
ja.MainFiles=GnuCashプログラム
|
|
|
ja.TranslFiles=翻訳ファイル
|
|
|
ja.TemplFiles=勘定科目テンプレートファイル
|
|
|
|
|
|
ja.IconComment_GnuCash=GnuCash フリーの財務ソフトウェア
|
|
|
ja.IconName_README=READMEを表示
|
|
|
ja.IconComment_README=READMEファイルを表示します
|
|
|
ja.IconFilename_README=README.win32-bin.txt
|
|
|
ja.IconName_FAQ=FAQ (オンライン)
|
|
|
ja.IconName_Bugzilla=バグを報告 (オンライン)
|
|
|
ja.IconName_InstallFQ=オンライン相場表取得ツールをインストール
|
|
|
ja.IconComment_InstallFQ=オンライン相場表を取得するためにFinance-Quote perl モジュールをインストールします。ActivePerl5.8または5.10が必要です
|
|
|
ja.IconName_Theme=テーマの選択
|
|
|
ja.IconName_Uninstall=GnuCashをアンインストール
|
|
|
ja.IconComment_Uninstall=財務ソフトウェアGnuCashをアンインストールします
|
|
|
|
|
|
|
|
|
;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
|
;; Latvian translation
|
|
|
|
|
|
; *** "Select Components" wizard page
|
|
|
lv.FullInstall=Pilna uzstādīšana
|
|
|
lv.CustomInstall=Izvēles uzstādīšana
|
|
|
lv.CreateDesktopIcon=Izveidot &darbvirsmas ikonu
|
|
|
lv.CreateMenuLink=Izveidot starta izvēlnes saiti
|
|
|
lv.RunPrg=Palaist GnuCash tagad
|
|
|
lv.AdditionalIcons=Izveidot sekojošas ikonas:
|
|
|
lv.StatusMsgFirewall=Uzstāda Windows ugunssienas likumus...
|
|
|
|
|
|
; *** "Another install" wizard page
|
|
|
; %1 in the following messages will be replaced with the application name and version, like "GnuCash 2.3.15"
|
|
|
lv.AIWP_Title=Ir atrasta cita programmas versija
|
|
|
lv.AIWP_Description=Uz šī datora jau ir uzstādīt %1 versija
|
|
|
lv.AIWP_Message=Pirms turpināt, ir nepieciešams noņemt iepriekš uzstādīto versiju.%n%nJa nevēlaties to darīt, spiediet Atcelt pogu, un šī uzstādīšana tiks atcelta.%n%nSpiediet Turpināt, lai noņemtu %1 un turpinātu jaunās versijas uzstādīšanu.%n%nNote: Tiks noņemta tikai iepriekšējās programmas versija. Jūsu finanšu dati aiztikti netiks.
|
|
|
|
|
|
lv.MainFiles=GnuCash Programma
|
|
|
lv.TranslFiles=Tulkojumu faili
|
|
|
lv.TemplFiles=Kontu sagatavju faili
|
|
|
|
|
|
lv.IconComment_GnuCash=GnuCash grāmatvedības programma
|
|
|
lv.IconName_README=Parādīt README
|
|
|
lv.IconComment_README=Parāda README failu
|
|
|
lv.IconFilename_README=README-lv.win32-bin.txt
|
|
|
lv.IconName_FAQ=BUJ (tiešsaistē)
|
|
|
lv.IconName_Bugzilla=Ziņot par kļūdu (tiešsaistē)
|
|
|
lv.IconName_InstallFQ=Uzstādīt tiešsaistes kursu iegūšanu
|
|
|
lv.IconComment_InstallFQ=Uzstādīt nepieciešamos Perl moduļus valūtas kursu iegūšanai. Nepieciešams ActivePerl 5.8+
|
|
|
lv.IconName_Theme=Izvēlieties tēmu
|
|
|
lv.IconName_Uninstall=Noņemt GnuCash
|
|
|
lv.IconComment_Uninstall=Noņemt GnuCash grāmatvedības programmu
|
|
|
|
|
|
|
|
|
;; ;;;;;;;;;;;;;;;;;
|
|
|
;; Dutch translation
|
|
|
|
|
|
nl.FullInstall=Volledige installatie
|
|
|
nl.CustomInstall=Aangepaste installatiie
|
|
|
nl.CreateDesktopIcon=Een &bureablad icoon aanmaken
|
|
|
nl.CreateMenuLink=Een verwijzing in het start menu aanmaken
|
|
|
nl.RunPrg=GnuCash nu starten
|
|
|
nl.AdditionalIcons=Deze iconen aanmaken:
|
|
|
nl.StatusMsgFirewall=Windows firewall regels installeren...
|
|
|
|
|
|
nl.MainFiles=GnuCash Programma
|
|
|
nl.TranslFiles=Vertalingsbestanden
|
|
|
nl.TemplFiles=Grootboekrekeningssjablonen
|
|
|
|
|
|
nl.IconComment_GnuCash=GnuCash Vrij Financieel Beheer
|
|
|
nl.IconName_README=LEESMIJ Tonen
|
|
|
nl.IconComment_README=Het LEESMIJ bestand tonen
|
|
|
nl.IconFilename_README=README-nl.win32-bin.txt
|
|
|
nl.IconName_FAQ=FAQ (Online)
|
|
|
nl.IconName_Bugzilla=Een Bug Melden (Online)
|
|
|
nl.IconName_InstallFQ=Online Koersen Opvragen installeren
|
|
|
nl.IconComment_InstallFQ=De benodigde perl module Finance Quote om online koersen op te vragen installeren. Hiervoor is ActivePerl 5.8 of recenter nodig.
|
|
|
nl.IconName_Uninstall=GnuCash verwijderen
|
|
|
nl.IconComment_Uninstall=Het financieel beheersprogramma GnuCash verwijderen
|
|
|
|
|
|
nl.AIWP_Title=Een eerdere installatie werd gevonden
|
|
|
nl.AIWP_Description=%1 is momenteel op deze computer geïnstalleerd
|
|
|
nl.AIWP_Message=Deze eerdere installatie moet verwijderd worden alvorens verder te gaan.%n%nAls je dat niet wil, klik dan nu op Annuleren om de huidige installatie af te breken.%n%nKlik op Volgende om %1 te verwijderen en de installatie te vervolgen.%n%nOpmerking: enkel het programma zal verwijderd worden, niet je financiële data.
|
|
|
|
|
|
|
|
|
;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
|
;; Brazilian Portuguese translation
|
|
|
|
|
|
pt_BR.FullInstall=Instalação Completa
|
|
|
pt_BR.CustomInstall=Instalação Personalizada
|
|
|
pt_BR.CreateDesktopIcon=Criar um ícone na Área de Trabalho
|
|
|
pt_BR.CreateMenuLink=Criar um link no menu Iniciar
|
|
|
pt_BR.RunPrg=Executar o GnuCash agora
|
|
|
pt_BR.AdditionalIcons=Criar estes ícones:
|
|
|
pt_BR.StatusMsgFirewall=Instalando as regras de firewall do Windows...
|
|
|
|
|
|
pt_BR.MainFiles=Programa GnuCash
|
|
|
pt_BR.TranslFiles=Tradução
|
|
|
pt_BR.TemplFiles=Modelos de Conta
|
|
|
|
|
|
pt_BR.IconComment_GnuCash=Gerenciador Financeiro Livre GnuCash
|
|
|
pt_BR.IconName_README=Mostrar LEIA-ME (README)
|
|
|
pt_BR.IconComment_README=Mostra o arquivo LEIA-ME (README)
|
|
|
pt_BR.IconFilename_README=LEIA-ME.win32-bin.txt
|
|
|
pt_BR.IconName_FAQ=Perguntas Freqüentes (online, inglês)
|
|
|
pt_BR.IconName_Bugzilla=Relatar um erro (online, inglês)
|
|
|
pt_BR.IconName_InstallFQ=Instalar a Consulta de Preços Online
|
|
|
pt_BR.IconComment_InstallFQ=Instala o módulo perl Finance-Quote, necessário para a busca de preços online. Requer ActivePerl 5.8+.
|
|
|
pt_BR.IconName_Uninstall=Desinstalar o GnuCash
|
|
|
pt_BR.IconComment_Uninstall=Desinstala o Gerenciador Financeiro GnuCash
|
|
|
|
|
|
|
|
|
;; ;;;;;;;;;;;;;;;;;
|
|
|
;; Simplified Chinese translation
|
|
|
|
|
|
zh_CN.FullInstall=完全安装
|
|
|
zh_CN.CustomInstall=自定义安装
|
|
|
zh_CN.CreateDesktopIcon=创建桌面图标
|
|
|
zh_CN.CreateMenuLink=创建开始菜单链接
|
|
|
zh_CN.RunPrg=现在开始运行 GnuCash
|
|
|
zh_CN.AdditionalIcons=创建这些图标
|
|
|
zh_CN.StatusMsgFirewall=正在安装 Windows 防火墙规则...
|
|
|
|
|
|
zh_CN.MainFiles=GnuCash 程序
|
|
|
zh_CN.TranslFiles=翻译文件
|
|
|
zh_CN.TemplFiles=会计科目模板文件
|
|
|
|
|
|
zh_CN.IconComment_GnuCash=GnuCash 免费财务管理
|
|
|
zh_CN.IconName_README=显示自述文件
|
|
|
zh_CN.IconComment_README=显示自述文件
|
|
|
zh_CN.IconFilename_README=README-zh_CN.win32-bin.txt
|
|
|
zh_CN.IconName_FAQ=常见问题 (在线)
|
|
|
zh_CN.IconName_Bugzilla=报告软件 Bug (在线)
|
|
|
zh_CN.IconName_InstallFQ=安装在线价格检索功能
|
|
|
zh_CN.IconComment_InstallFQ=安装在线价格检索所必需的 Perl Finance-Quote模块。需要 ActivePerl 5.8 或 5.10
|
|
|
zh_CN.IconName_Uninstall=卸载 GnuCash
|
|
|
zh_CN.IconComment_Uninstall=卸载财务管理软件 GnuCash
|
|
|
|
|
|
;; ;;;;;;;;;;;;;;;;;
|
|
|
;; Traditional Chinese translation
|
|
|
|
|
|
; *** "Select Components" wizard page
|
|
|
zh_TW.FullInstall=完整安裝
|
|
|
zh_TW.CustomInstall=自訂安裝
|
|
|
zh_TW.CreateDesktopIcon=產生桌面圖示
|
|
|
zh_TW.CreateMenuLink=產生開始功能表圖示
|
|
|
zh_TW.RunPrg=現在開始執行 GnuCash
|
|
|
zh_TW.AdditionalIcons=建立這些圖示:
|
|
|
zh_TW.StatusMsgFirewall=正在安裝 Windows 防火牆規則...
|
|
|
; *** "Another install" wizard page
|
|
|
; %1 in the following messages will be replaced with the application name and version, like "GnuCash 2.3.15"
|
|
|
zh_TW.AIWP_Title=發現已安裝過
|
|
|
zh_TW.AIWP_Description=%1 已經安裝於系統中
|
|
|
zh_TW.AIWP_Message=舊版必須先移除才能繼續。%n%n若您不想移除,現在就點選「取消」中斷安裝。%n%n點選「下一步」會移除 %1 並繼續安裝。%n%n注意: 只有程式會被移除,不會影響到您的財務資料存檔。
|
|
|
|
|
|
zh_TW.MainFiles=GnuCash 程式
|
|
|
zh_TW.TranslFiles=翻譯檔
|
|
|
zh_TW.TemplFiles=會計科目範本檔
|
|
|
|
|
|
zh_TW.IconComment_GnuCash=GnuCash 自由財務管理
|
|
|
zh_TW.IconName_README=顯示 README
|
|
|
zh_TW.IconComment_README=顯示 README 檔
|
|
|
zh_TW.IconFilename_README=README-zh_TW.win32-bin.txt
|
|
|
zh_TW.IconName_FAQ=常見問題 (線上)
|
|
|
zh_TW.IconName_Bugzilla=回報程式 Bug (線上)
|
|
|
zh_TW.IconName_InstallFQ=安裝網路報價截取功能
|
|
|
zh_TW.IconComment_InstallFQ=安裝截取網路報價所需的 Perl Finance-Quote 模組。需要 ActivePerl 5.8 或 5.10
|
|
|
zh_TW.IconName_Theme=選擇介面風格
|
|
|
zh_TW.IconName_Uninstall=反安裝 GnuCash
|
|
|
zh_TW.IconComment_Uninstall=反安裝財務管理員 GnuCash
|