[gnue] r9584 - in trunk: gnue-designer/packaging gnue-designer/packaging/win32 gnue-navigator/packaging gnue-navigator/packaging/win32 gnue-reports/packaging gnue-reports/packaging/win32

[email protected]
Newsgroups gmane.comp.cms.gnue.cvs
Message-ID <[email protected]>
Author: johannes
Date: 2007-05-15 06:37:05 -0500 (Tue, 15 May 2007)
New Revision: 9584

Added:
   trunk/gnue-designer/packaging/win32/
   trunk/gnue-designer/packaging/win32/gnue-designer.iss
   trunk/gnue-navigator/packaging/win32/
   trunk/gnue-navigator/packaging/win32/gnue-navigator.iss
   trunk/gnue-reports/packaging/win32/
   trunk/gnue-reports/packaging/win32/gnue-reports.iss
Log:
Started rework of the packaging process on win32


Added: trunk/gnue-designer/packaging/win32/gnue-designer.iss
===================================================================
--- trunk/gnue-designer/packaging/win32/gnue-designer.iss	2007-05-15 11:36:20 UTC (rev 9583)
+++ trunk/gnue-designer/packaging/win32/gnue-designer.iss	2007-05-15 11:37:05 UTC (rev 9584)
@@ -0,0 +1,83 @@
+; Script generated by the Inno Setup Script Wizard.
+; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
+
+[Setup]
+AppId=GNUe-Designer
+AppName=<application name>
+AppVerName=<application name and 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
+OutputBaseFilename=<filename of the setup file>
+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-designer.exe; DestDir: {app}\bin; Components: main; Flags: ignoreversion
+Source: c:\gnue\bin\gnue\designer\*.*; DestDir: {app}\bin\gnue\designer; Flags: recursesubdirs ignoreversion; Components: main
+Source: c:\gnue\share\locale\de\LC_MESSAGES\gnue-designer.mo; DestDir: {app}\share\locale\de\LC_MESSAGES\; Flags: recursesubdirs; Components: translations
+Source: c:\gnue\share\locale\es_MX\LC_MESSAGES\gnue-designer.mo; DestDir: {app}\share\locale\es_MX\LC_MESSAGES\; Flags: recursesubdirs; Components: translations
+;Source: c:\gnue\share\locale\es_ES\LC_MESSAGES\gnue-designer.mo; DestDir: {app}\share\locale\es_ES\LC_MESSAGES\; Flags: recursesubdirs; Components: translations
+;Source: c:\gnue\share\locale\fr\LC_MESSAGES\gnue-designer.mo; DestDir: {app}\share\locale\fr\LC_MESSAGES\; Flags: recursesubdirs; Components: translations
+Source: c:\gnue\share\locale\hu\LC_MESSAGES\gnue-designer.mo; DestDir: {app}\share\locale\hu\LC_MESSAGES\; Flags: recursesubdirs; Components: translations
+Source: c:\gnue\share\locale\lt\LC_MESSAGES\gnue-designer.mo; DestDir: {app}\share\locale\lt\LC_MESSAGES\; Flags: recursesubdirs; Components: translations
+;Source: c:\gnue\share\locale\ro\LC_MESSAGES\gnue-designer.mo; DestDir: {app}\share\locale\ro\LC_MESSAGES\; Flags: recursesubdirs; Components: translations
+Source: c:\gnue\share\locale\ru\LC_MESSAGES\gnue-designer.mo; DestDir: {app}\share\locale\ru\LC_MESSAGES\; Flags: recursesubdirs; Components: translations
+Source: c:\gnue\share\doc\gnue-designer\*.*; DestDir: {app}\share\doc\gnue-designer; Flags: recursesubdirs; Components: doc
+Source: c:\gnue\share\gnue\images\designer\*.*; DestDir: {app}\share\gnue\images\designer; Components: main
+
+[Icons]
+Name: {group}\Documentation\Designer Users Guide (PDF Format); Filename: {app}\share\doc\gnue-designer\Users-Guide.pdf; Components: doc
+Name: {group}\GNUe Designer; Filename: {app}\bin\gnue-designer.exe
+Name: {userdesktop}\GNUe Designer; Filename: {app}\bin\gnue-designer.exe; WorkingDir: {app}; MinVersion: 4,4; Tasks: desktopicon
+
+[UninstallDelete]
+Name: {app}\bin\gnue\designer\*.*; Type: filesandordirs
+
+[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;

Added: trunk/gnue-navigator/packaging/win32/gnue-navigator.iss
===================================================================
--- trunk/gnue-navigator/packaging/win32/gnue-navigator.iss	2007-05-15 11:36:20 UTC (rev 9583)
+++ trunk/gnue-navigator/packaging/win32/gnue-navigator.iss	2007-05-15 11:37:05 UTC (rev 9584)
@@ -0,0 +1,89 @@
+; Script generated by the Inno Setup Script Wizard.
+; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
+
+[Setup]
+AppId=GNUe-Navigator
+AppName=<application name>
+AppVerName=<application name and 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
+OutputBaseFilename=<filename of the setup file>
+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-navigator.exe; DestDir: {app}\bin; Components: main; Flags: ignoreversion
+Source: c:\gnue\bin\gnue\navigator\*.*; DestDir: {app}\bin\gnue\navigator; Flags: recursesubdirs ignoreversion; Components: main
+Source: c:\gnue\share\locale\de\LC_MESSAGES\gnue-navigator.mo; DestDir: {app}\share\locale\de\LC_MESSAGES\; Flags: recursesubdirs; Components: translations
+Source: c:\gnue\share\locale\es_MX\LC_MESSAGES\gnue-navigator.mo; DestDir: {app}\share\locale\es_MX\LC_MESSAGES\; Flags: recursesubdirs; Components: translations
+;Source: c:\gnue\share\locale\es_ES\LC_MESSAGES\gnue-navigator.mo; DestDir: {app}\share\locale\es_ES\LC_MESSAGES\; Flags: recursesubdirs; Components: translations
+;Source: c:\gnue\share\locale\fr\LC_MESSAGES\gnue-navigator.mo; DestDir: {app}\share\locale\fr\LC_MESSAGES\; Flags: recursesubdirs; Components: translations
+Source: c:\gnue\share\locale\hu\LC_MESSAGES\gnue-navigator.mo; DestDir: {app}\share\locale\hu\LC_MESSAGES\; Flags: recursesubdirs; Components: translations
+Source: c:\gnue\share\locale\lt\LC_MESSAGES\gnue-navigator.mo; DestDir: {app}\share\locale\lt\LC_MESSAGES\; Flags: recursesubdirs; Components: translations
+;Source: c:\gnue\share\locale\ro\LC_MESSAGES\gnue-navigator.mo; DestDir: {app}\share\locale\ro\LC_MESSAGES\; Flags: recursesubdirs; Components: translations
+Source: c:\gnue\share\locale\ru\LC_MESSAGES\gnue-navigator.mo; DestDir: {app}\share\locale\ru\LC_MESSAGES\; Flags: recursesubdirs; Components: translations
+Source: c:\gnue\share\doc\gnue-navigator\*.*; DestDir: {app}\share\doc\gnue-navigator; Flags: recursesubdirs; Components: doc
+
+[Icons]
+Name: {group}\GNUe Navigator Client; Filename: {app}\share\doc\gnue-navigator\examples\sample.gpd
+Name: {userdesktop}\GNUe Navigator Client; Filename: {app}\share\doc\gnue-navigator\examples\sample.gpd; WorkingDir: {app}; MinVersion: 4,4; Tasks: desktopicon
+
+[Registry]
+; These four associations associate GPD files with GNUe Navigator
+Root: HKCR; Subkey: .gpd; ValueType: string; ValueName: ; ValueData: GNUeNavigatorClient; Flags: uninsdeletekey deletekey
+Root: HKCR; Subkey: GNUeNavigatorClient; ValueType: string; ValueName: ; ValueData: GNUe Navigator Definition; Flags: uninsdeletekey deletekey
+;when we get a nifty icon, that's set here :)
+Root: HKCR; Subkey: GNUeNavigatorClient\DefaultIcon; ValueType: string; ValueName: ; ValueData: {app}\bin\GNUE-NAVIGATOR.EXE,0
+Root: HKCR; Subkey: GNUeNavigatorClient\shell\open\command; ValueType: string; ValueName: ; ValueData: """{app}\bin\GNUE-NAVIGATOR.EXE"" ""%1"""; Flags: deletekey
+
+[UninstallDelete]
+Name: {app}\bin\gnue\navigator\*.*; Type: filesandordirs
+
+[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;

Added: trunk/gnue-reports/packaging/win32/gnue-reports.iss
===================================================================
--- trunk/gnue-reports/packaging/win32/gnue-reports.iss	2007-05-15 11:36:20 UTC (rev 9583)
+++ trunk/gnue-reports/packaging/win32/gnue-reports.iss	2007-05-15 11:37:05 UTC (rev 9584)
@@ -0,0 +1,85 @@
+; Script generated by the Inno Setup Script Wizard.
+; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
+
+[Setup]
+AppId=GNUe-Reports
+AppName=<application name>
+AppVerName=<application name and 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
+OutputBaseFilename=<filename of setup file>
+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-reports.exe; DestDir: {app}\bin; Components: main; Flags: ignoreversion
+Source: c:\gnue\bin\gnue-reports-server.exe; DestDir: {app}\bin; Components: main; Flags: ignoreversion
+Source: c:\gnue\bin\gnue\reports\*.*; DestDir: {app}\bin\gnue\reports; Flags: recursesubdirs ignoreversion; Components: main
+Source: C:\gnue\etc\sample.report-filters.conf; DestDir: {app}\etc; Components: main; Flags: ignoreversion
+Source: C:\gnue\etc\report-filters.conf; DestDir: {app}\etc; Components: main; Flags: onlyifdoesntexist
+Source: c:\gnue\share\locale\de\LC_MESSAGES\gnue-reports.mo; DestDir: {app}\share\locale\de\LC_MESSAGES\; Flags: recursesubdirs; Components: translations
+;Source: c:\gnue\share\locale\es_MX\LC_MESSAGES\gnue-reports.mo; DestDir: {app}\share\locale\es_MX\LC_MESSAGES\; Flags: recursesubdirs; Components: translations
+;Source: c:\gnue\share\locale\es_ES\LC_MESSAGES\gnue-reports.mo; DestDir: {app}\share\locale\es_ES\LC_MESSAGES\; Flags: recursesubdirs; Components: translations
+;Source: c:\gnue\share\locale\fr\LC_MESSAGES\gnue-reports.mo; DestDir: {app}\share\locale\fr\LC_MESSAGES\; Flags: recursesubdirs; Components: translations
+Source: c:\gnue\share\locale\hu\LC_MESSAGES\gnue-reports.mo; DestDir: {app}\share\locale\hu\LC_MESSAGES\; Flags: recursesubdirs; Components: translations
+;Source: c:\gnue\share\locale\lt\LC_MESSAGES\gnue-reports.mo; DestDir: {app}\share\locale\lt\LC_MESSAGES\; Flags: recursesubdirs; Components: translations
+;Source: c:\gnue\share\locale\ro\LC_MESSAGES\gnue-reports.mo; DestDir: {app}\share\locale\ro\LC_MESSAGES\; Flags: recursesubdirs; Components: translations
+;Source: c:\gnue\share\locale\ru\LC_MESSAGES\gnue-reports.mo; DestDir: {app}\share\locale\ru\LC_MESSAGES\; Flags: recursesubdirs; Components: translations
+Source: c:\gnue\share\doc\gnue-reports\*.*; DestDir: {app}\share\doc\gnue-reports; Flags: recursesubdirs; Components: doc
+Source: c:\gnue\share\gnue\filters\*.*; DestDir: {app}\share\gnue\filters; Flags: recursesubdirs; Components: main
+Source: c:\gnue\share\gnue\grpc\GRServer.grpc; DestDir: {app}\share\gnue\grpc; Components: main
+
+[Icons]
+;Name: {group}\Documentation\Reports Concepts Guide (PDF Format); Filename: {app}\share\doc\gnue-reports\Concepts-Guide.pdf; Components: doc
+
+[UninstallDelete]
+Name: {app}\bin\gnue\reports\*.*; Type: filesandordirs
+
+[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;
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.