xed/win32/pluma.iss.in

61 lines
2.4 KiB
Plaintext
Raw Normal View History

2011-11-07 13:46:58 -06:00
[Setup]
2011-11-07 16:52:18 -06:00
AppName=pluma
AppVerName=pluma @VERSION@
DefaultDirName={pf}\pluma
DefaultGroupName=pluma
UninstallDisplayIcon={app}\pluma.exe
2011-11-07 13:46:58 -06:00
Uninstallable=yes
AppPublisher=MATE
2011-11-07 16:52:18 -06:00
AppPublisherURL=http:\\www.pluma.org\
2011-11-07 13:46:58 -06:00
AppVersion=@VERSION@
2011-11-07 16:52:18 -06:00
OutputBaseFilename=pluma-setup-@VERSION@-INSTALLERREVISION
LicenseFile=pluma\share\doc\COPYING
2011-11-07 13:46:58 -06:00
[Components]
Name: "gtk"; Description: "GTK+ runtime environment"; Types: full compact custom; Flags: fixed
2011-11-07 16:52:18 -06:00
Name: "main"; Description: "Pluma"; Types: full compact custom; Flags: fixed
2011-11-07 13:46:58 -06:00
; TODO: Enable languages separately
Name: "python"; Description: "Python runtime and modules"; Types: full compact custom; Flags: fixed
Name: "locale"; Description: "Translations"; Types: full compact custom; Flags: fixed
[Tasks]
Name: common; Description: "For all users"; Components: main; Flags: exclusive
Name: user; Description: "For the current user only"; Components: main; Flags: exclusive unchecked
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
Name: "quicklaunchicon"; Description: "{cm:CreateQuickLaunchIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
[Icons]
; Common task icons
2011-11-07 16:52:18 -06:00
Name: "{commonprograms}\{groupname}\pluma"; Filename: "{app}\bin\pluma.exe"; Tasks: common
Name: "{commonprograms}\{groupname}\Uninstall pluma"; Filename: "{uninstallexe}"; Tasks: common
Name: "{commondesktop}\pluma"; Filename: "{app}\bin\pluma.exe"; Tasks: desktopicon
Name: "{userappdata}\Microsoft\Internet Explorer\Quick Launch\pluma"; Filename: "{app}\bin\pluma.exe"; Tasks: quicklaunchicon
2011-11-07 13:46:58 -06:00
; User task icons
2011-11-07 16:52:18 -06:00
Name: "{userprograms}\{groupname}\pluma"; Filename: "{app}\bin\pluma.exe"; Tasks: user
Name: "{userprograms}\{groupname}\Uninstall pluma"; Filename: "{uninstallexe}"; Tasks: user
2011-11-07 13:46:58 -06:00
[Files]
; All files
Source: "gtk\*"; DestDir: "{app}\"; Components: gtk; Flags: recursesubdirs
2011-11-07 16:52:18 -06:00
Source: "pluma\*"; DestDir: "{app}\"; Components: main; Flags: recursesubdirs
2011-11-07 13:46:58 -06:00
Source: "python\*"; DestDir: "{app}\bin"; Components: python; Flags: recursesubdirs
Source: "locale\*"; DestDir: "{app}\"; Components: locale; Flags: recursesubdirs
[Run]
Filename: "{app}\bin\querymodules.bat"; StatusMsg: "Querying modules..."; Flags: runhidden
[Code]
{ Remove generated files not generated by the installer }
// Skip Components selection, all components are required anyway
function ShouldSkipPage(CurPageID: Integer): Boolean;
begin
if CurPageID = wpSelectComponents then
Result := True
else
Result := False;
end;