Author: johannes Date: 2007-06-06 01:42:18 -0500 (Wed, 06 Jun 2007) New Revision: 9664
Added: trunk/gnue-common/packaging/win32/gnue-common.iss.dist_template Removed: trunk/gnue-common/packaging/win32/gnue-common.iss Log: changed gnue-common.iss into a dist_template file Deleted: trunk/gnue-common/packaging/win32/gnue-common.iss =================================================================== --- trunk/gnue-common/packaging/win32/gnue-common.iss 2007-06-06 06:40:09 UTC (rev 9663) +++ trunk/gnue-common/packaging/win32/gnue-common.iss 2007-06-06 06:42:18 UTC (rev 9664) @@ -1,94 +0,0 @@ -; Script generated by the Inno Setup Script Wizard. -; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES! - -[Setup] -AppId=GNUe-Common -AppName=:TITLE: -AppVerName=:TITLE: :VERSION: -AppPublisher=GNU Enterprise -AppPublisherURL=http://www.gnuenterprise.org -AppSupportURL=http://www.gnuenterprise.org -AppUpdatesURL=http://www.gnuenterprise.org -DefaultDirName={pf}\GNUe\ -DefaultGroupName=GNUe -AllowNoIcons=true -LicenseFile=c:\gnue\LICENSE.txt -ChangesAssociations=true -CreateAppDir=true -ShowLanguageDialog=yes -OutputDir=C:\GNUE\dist -OutputBaseFilename=:PACKAGE:-:MAJOR:.:MINOR:.:FINAL: -DisableDirPage=true - -[Tasks] -Name: desktopicon; Description: Create a &desktop icon; GroupDescription: Additional icons:; MinVersion: 4,4 - -[Components] -Name: main; Description: Shared Program Files; Types: full compact custom; Flags: fixed -Name: doc; Description: Documentation; Types: full -Name: translations; Description: Translations; Types: full - -[Files] -Source: c:\gnue\bin\gnue-schema.exe; DestDir: {app}\bin; Components: main; Flags: ignoreversion -Source: c:\gnue\bin\gnue\*.*; DestDir: {app}\bin\gnue; Components: main; Flags: ignoreversion -Source: c:\gnue\bin\gnue\common\*.*; DestDir: {app}\bin\gnue\common; Flags: recursesubdirs ignoreversion; Components: main -Source: C:\gnue\etc\sample.gnue.conf; DestDir: {app}\etc; Components: main; Flags: ignoreversion -Source: C:\gnue\etc\sample.connections.conf; DestDir: {app}\etc; Components: main; Flags: ignoreversion -Source: C:\gnue\etc\gnue.conf; DestDir: {app}\etc; Components: main; Flags: onlyifdoesntexist -Source: C:\gnue\etc\connections.conf; DestDir: {app}\etc; Components: main; Flags: onlyifdoesntexist -Source: c:\gnue\share\locale\de\LC_MESSAGES\gnue-common.mo; DestDir: {app}\share\locale\de\LC_MESSAGES\; Flags: recursesubdirs; Components: translations -Source: c:\gnue\share\locale\es_MX\LC_MESSAGES\gnue-common.mo; DestDir: {app}\share\locale\es_MX\LC_MESSAGES\; Flags: recursesubdirs; Components: translations -Source: c:\gnue\share\locale\es_ES\LC_MESSAGES\gnue-common.mo; DestDir: {app}\share\locale\es_ES\LC_MESSAGES\; Flags: recursesubdirs; Components: translations -Source: c:\gnue\share\locale\fr\LC_MESSAGES\gnue-common.mo; DestDir: {app}\share\locale\fr\LC_MESSAGES\; Flags: recursesubdirs; Components: translations -Source: c:\gnue\share\locale\hu\LC_MESSAGES\gnue-common.mo; DestDir: {app}\share\locale\hu\LC_MESSAGES\; Flags: recursesubdirs; Components: translations -Source: c:\gnue\share\locale\lt\LC_MESSAGES\gnue-common.mo; DestDir: {app}\share\locale\lt\LC_MESSAGES\; Flags: recursesubdirs; Components: translations -Source: c:\gnue\share\locale\nl\LC_MESSAGES\gnue-common.mo; DestDir: {app}\share\locale\nl\LC_MESSAGES\; Flags: recursesubdirs; Components: translations -Source: c:\gnue\share\locale\ro\LC_MESSAGES\gnue-common.mo; DestDir: {app}\share\locale\ro\LC_MESSAGES\; Flags: recursesubdirs; Components: translations -Source: c:\gnue\share\locale\ru\LC_MESSAGES\gnue-common.mo; DestDir: {app}\share\locale\ru\LC_MESSAGES\; Flags: recursesubdirs; Components: translations -Source: c:\gnue\share\gnue\images\*.*; DestDir: {app}\share\gnue\images; Components: main -Source: c:\gnue\share\doc\gnue-common\*.*; DestDir: {app}\share\doc\gnue-common; Flags: recursesubdirs; Components: doc - -[Icons] -Name: {group}\GNUe on the Web; Filename: {app}\gnue.url -Name: {group}\Documentation\Common Developers Guide (PDF Format); Filename: {app}\share\doc\gnue-common\Developers-Guide.pdf; Components: doc - -[INI] -Filename: {app}\gnue.url; Section: InternetShortcut; Key: URL; String: http://www.gnuenterprise.org - -[UninstallDelete] -Type: files; Name: {app}\gnue.url -Type: filesandordirs; Name: {app}\bin\gnue\common\*.* -Type: files; Name: {app}\bin\gnue\*.* - -[Code] -function GetPathInstalled(AppID: String): String; -var - sPrevPath: String; -begin - sPrevPath := ''; - if not RegQueryStringValue( HKLM, - 'Software\Microsoft\Windows\CurrentVersion\Uninstall\'+AppID+'_is1', - 'Inno Setup: App Path', sPrevpath) then - RegQueryStringValue( HKCU, 'Software\Microsoft\Windows\CurrentVersion\Uninstall\'+AppID+'_is1' , - 'Inno Setup: App Path', sPrevpath); - - Result := sPrevPath; -end; - - -function InitializeSetup(): Boolean; -var - sPrevPath: String; - sPrevID: String; -begin - sPrevID := 'GNUe-Tools'; - sPrevPath := GetPathInstalled( sprevID ); - - if ( Length(sPrevPath) > 0 ) then - Result := true - else - begin - MsgBox( 'GNUe-Runtime-Environment is not installed!', mbInformation, MB_OK ); - Result := false; - end; -end; Copied: trunk/gnue-common/packaging/win32/gnue-common.iss.dist_template (from rev 9663, trunk/gnue-common/packaging/win32/gnue-common.iss) _______________________________________________ commit-gnue mailing list commit-gnue@gnu.org http://lists.gnu.org/mailman/listinfo/commit-gnue