Forums for programming, Open source and free software.
You are not logged in.
BidiInnoSetup, full support right to left.
Bidi Innosetup support full right to left forms and VCL components, compatible with 95, 9x, Win2k and WinXP with out using mirror layouts, with minor changes of code with less increase size of Setup.e32
Project page
if you have any problem post message here in this topic.
Offline
Fix: NewCheckListBox Left alignment of SubItem (size of component);
redownload the file.
Fix: Project web page small font in IE.
Offline
Fix:XP Style not appear in RightToLeft.
Add:Arabic language in setup file.
Release:
bidi-is-setup-5.1.4.exe
Offline
New version now to download for InnoSetup IS-5.1.5
bidi-is-setup-5.1.5.exe
Offline
Dear Zaher,
I downloaded the Bidi inno setup version 5.1.5, but cannot find any documentation on how to use it. I tried compiling the setup while adding Arabic language in the setup wizard langauge menu, but when compiling I get ???????? where the Arabic characters should be.. Any help would be appreciated.
I found some misspellings here: http://www.parmaja.com/projects/innosetup/, just wanted to tell you about it in case you want to correct it:
> if you have any bug or something not work good post a message in Forum
= if you have any bug or something is not working good post a message in Forum
> Screenhosts
= Screenshots
> Some classes not use the new Classes ...
= Some classes are not using the new Classes like ...
I guess there is some other mistakes that I didn't see, but I felt I should those I found.
Thank you and keep the good work
Offline
Hi dirarko
That odd, i used it as good with my customers, did you check your Regional options in control Panel, InnoSetup not support yet Unicode, and arabic language use Ansi windows charset.
There is no documentation becuase i just replace Setup.e32 with one support right to left.
I will fix this word Thanks a lot ![]()
Offline
I guess the problem is in the ANSI windows charset, I would use the English setup since there is no guaranty that the users will not have the same problem.
I would like to ask you one question about inno setup and would appreciate it if u can help me with it. I am trying to make a setup file that will only extract a zip file that's located in the same directory, the zip file it self can be changed, not the name but the contains, is there a way to do so with inno setup.
Thank you for reply to my post
Offline
If you want extract file from zip inside your setup you must include extractor program, but i prefer extract the files and make another setup with IS then call it in silent mode.
BTW there is a good News (as like forums) in innosetup site
http://news.jrsoftware.org/read/
Offline
Hi Zaher and how are you?
Just three questions:
1- the UNINSTALLATION wizard is stll using LTR and not RTL like the SETUP wizard do?
2- Why you didn't update your project to the latest InnoSetup v5.1.6?
3 What did mean by:
"BTW there is a good News (as like forums) in innosetup site"
I didn't find any news related to you?
Thanx in advance...
Offline
1 - Uninstall not multi language it is save the language from the setup, so i can detect the codepage of language used because not saved, may be must it is support it in offical innosetup before make it rtl.
2 - Ok, i am too lazy, i am always need some one say to me "DO IT"
i will make it this week.
3 - I meant there is a (News / Forum/ Mesasge) you can ask or discuss there, not a news about my project.
You are welcome any time.
Offline
Thanx for the replay...
BTW, I like "Mirror Layout" more than "RTL Form".
I know about the fact that Mirror Layout does not work in PURE english Win9x and Me.
But I don't think Amercans or Germans will ever use an arabic program...so why don't you use Mirror Layout instead of RTL Form???
Offline
- "Mirror Layout" Make the Shadow of objects Left-Bottom, i hate it.
- And If you see Office like (Ms Word) not use "Mirror Layout" in the last versions,
- Mirrors make some confused with some component (You must flip the keyboard by your self).
- Not Work in 95
Offline
I'm sorry for being so annoying with all of my stupid questions...
Anyway, I have made a very small code to flip all the forms off InnoSetup at RUNTIME using Pascal Script. The problem is that some control doesn't appear (controls in the "Tasks Page" for example) . Not to mention that I cann't force MessageBox to use RTLReading. Here is a sample for you, so take a good a look it:
[Setup]
AppName=Test
AppVerName=Test 1.0
DefaultDirName={pf}\Test
DefaultGroupName=Test
AllowNoIcons=yes
OutputDir=/
OutputBaseFilename=Test_Setup
[Icons]
Name: {group}\{cm:UninstallProgram,Test}; Filename: {uninstallexe}; Tasks: desktopicon
Name: {userdesktop}\{cm:UninstallProgram,Test}; Filename: {uninstallexe}
[Run]
Filename: {uninstallexe}; Flags: postinstall unchecked
[Messages]
BeveledLabel=Test
[Tasks]
Name: desktopicon; Description: {cm:CreateDesktopIcon}; GroupDescription: {cm:AdditionalIcons}; Flags: unchecked
Const
// Extended Window Styles
WS_EX_LAYOUTRTL = $00400000;
// Window field offsets for GetWindowLong()
GWL_EXSTYLE = -20;
// GetWindow() Constants
GW_CHILD = 5;
// LONG GetWindowLong( HWND hWnd, int nIndex );
Function GetWindowLong( hWnd: Integer; nIndex: Integer ): Cardinal;
External 'GetWindowLongA@User32.dll StdCall';
// LONG SetWindowLong( HWND hWnd, int nIndex, LONG dwNewLong );
Function SetWindowLong( hWnd: Integer; nIndex: Integer; dwNewLong: Cardinal ): Cardinal;
External 'SetWindowLongA@User32.dll StdCall';
// HWND GetWindow( HWND hWnd, UINT uCmd );
Function GetWindow( hWnd: Integer; uCmd: Cardinal ): Integer;
External 'GetWindow@User32.dll StdCall';
// ------ End of functions definition ------
Procedure ConvertToRTL();
Var
hWnd: Integer;
hChildWnd: Integer;
Begin
hWnd := StrToInt( ExpandConstant( '{wizardhwnd}' ) );
SetWindowLong( hWnd, GWL_EXSTYLE, GetWindowLong( hWnd, GWL_EXSTYLE ) OR WS_EX_LAYOUTRTL );
hChildWnd := GetWindow( hWnd, GW_CHILD );
While hChildWnd > 0 Do
Begin
SetWindowLong( hChildWnd, GWL_EXSTYLE, GetWindowLong( hChildWnd, GWL_EXSTYLE ) OR WS_EX_LAYOUTRTL );
hChildWnd := GetWindow( hChildWnd, GW_CHILD );
End
End;
Procedure InitializeWizard();
Begin
ConvertToRTL;
End;
Offline
The problem it is from delphi, when try to add mirror flag to form some Controls get out from From, i mean it Left, Top take values out side the form, it is one of problem of of Mirror.
I'm sorry for being so annoying with all of my stupid questions...
Nop, you are as like my brother
dont warry about that.
Offline
Salam wa alaykum;
I am setting up my punbb in arabic and I am using your translation pack, Thank you.
However, I have a small request: Is there a way to change the arabic font and size
and Thank you very much
Hicham
Offline
New release of Bidi Inno Setup for InnoSetup 5.1.7
bidi-is-setup-5.1.7.exe
http://www.parmaja.com/projects/innosetup
Offline
Thanx Zaher, you such a good guy.
But how about asking the InnoSetup developer to implement your work in his so that It get updated automatically whenever he update his application.
Thank you again...
Offline
I prefer to merge my code to original source, because it too hard when i spend 3 hour in re hack the code and test it before i release my work.
Thank you.
Offline
New release of Bidi Inno Setup for InnoSetup 5.1.8
bidi-is-setup-5.1.8.exe
http://www.parmaja.com/projects/innosetup
Offline
New release of Bidi Inno Setup for InnoSetup 5.1.9
http://www.parmaja.com/projects/innosetup
Offline
New release of Bidi Inno Setup for InnoSetup 5.1.12 With Updated Arabic language
I removed Hebrew.is because it is become official translation.
http://www.parmaja.com/projects/innosetup
Offline
Zaher wrote:
BidiInnoSetup, full support right to left.
Bidi Innosetup support full right to left forms and VCL components, compatible with 95, 9x, Win2k and WinXP with out using mirror layouts, with minor changes of code with less increase size of Setup.e32
Project page
if you have any problem post message here in this topic.
al salamo 3alaykom,
thanks Zaher for your work. unfortunately, i can't get the innosetup to work in arabic it completely ignores the language and doesn't even display the language selection dialoge. i'm using the arabic.isl you made. when i open the file using notpad++ i can't read the arabic values and it looks like latic characters. the file format is ANSI not utf8 as i would have expected. i installed is-bidi-5.1.12.exe but it didn't help.
any help would be appreciated.
Offline
First try too use Tahoma font
and include the Arabic language like example
[LangOptions] DialogFontName=Tahoma TitleFontName=Tahoma WelcomeFontName=Tahoma CopyrightFontName=Tahoma [Languages] Name: en; MessagesFile: compiler:Default.isl, .\English.isl Name: ar; MessagesFile: compiler:Languages\Arabic.isl, .\Arabic.isl
I used the setup in Firebird setup and work fine.
http://parmaja.com/projects/firebirdsetup/
after install look to
c:\Program Files\Firebird SQL\Firebird 2\install
the source of setup included
Offline
thanks Zaher for your fast reply, i really appreciate it,
i tried the method you adviced, well, the language selection dialoge is shown now and i select arabic the wizard shows distorted characters and i still can't read the arabic strings with a text editor.
i read the previous posts about windows ANSI and this stuff, and they decided not to use arabic lest the user should experience the same thing, so what do you recommend as an experienced innoSetup user?
Offline
Be sure in "Regional and Language" -> "Advanced" set to Arabic for default codepage for Non-Unicode programs.
If it worked, that because IS is Ansi and need this set.
If not worked, did you used Tahoma font?
Offline