RE: Not getting text in Windows



now, all text form my labels/buttons/textentries is gone and it looks 
like this:

http://daytha.studentenweb.org/gmms.JPG


This is one of the most common problems when doing this sort of thing.  It
is because you have to copied the directory structure file for file when you
install it.  

This is a pango problem.  I can't remember the specifics of it but I know it
occurs because your pango configuration files point to paths which MUST
exist, if they change or are moved, you get the problem you are
experiencing.


What else should i include in my setup.exe in order to get this right?

Below is an extract from my Inno Setup script.

There was a lot missing from this, mine looks like this AND it doesn't
include the locales for i18n support either:

[Files]
Source:
"C:\projects\OpsConsoleSystem\OpsConsole\Client\Win32MinGW\ops_console.exe";
DestDir: "{app}"; Flags: ignoreversion
.
.
.

;; GTK - version 2.2.0
;Source: "C:\top\bin\*.*"; DestDir: "{app}\bin"; Flags: ignoreversion
Source: "C:\target\etc\gtk-2.0\*.*"; DestDir: "{app}\etc\gtk-2.0"; Flags:
ignoreversion
Source: "C:\target\etc\pango\*.*"; DestDir: "{app}\etc\pango"; Flags:
ignoreversion
Source: "C:\target\lib\*.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\target\lib\gtk-2.0\2.2.0\engines\*.*"; DestDir:
"{app}\lib\gtk-2.0\2.2.0\engines"; Flags: ignoreversion
Source: "C:\target\lib\gtk-2.0\2.2.0\immodules\*.*"; DestDir:
"{app}\lib\gtk-2.0\2.2.0\immodules"; Flags: ignoreversion
Source: "C:\target\lib\gtk-2.0\2.2.0\loaders\*.*"; DestDir:
"{app}\lib\gtk-2.0\2.2.0\loaders"; Flags: ignoreversion
Source: "C:\target\lib\pango\1.2.0\modules\*.*"; DestDir:
"{app}\lib\pango\1.2.0\modules"; Flags: ignoreversion
Source: "C:\target\share\glib-2.0\gettext\po\*.*"; DestDir:
"{app}\share\glib-2.0\gettext\po"; Flags: ignoreversion

; GTK - version 2.2.2
Source: "C:\target\etc\fonts\*.*"; DestDir: "{app}\etc\fonts"; Flags:
ignoreversion
Source: "C:\target\bin\*.dll"; DestDir: "{app}"; Flags: ignoreversion
;Source: "C:\target\share\themes\Default\gtk-2.0\*.*"; DestDir:
"{app}\share\themes\Default\gtk-2.0"; Flags: ignoreversion
;Source: "C:\target\share\themes\Default\gtk-2.0-key\*.*"; DestDir:
"{app}\share\themes\Default\gtk-2.0-key"; Flags: ignoreversion




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]