Old 13th January 2011, 10:15   #241
Tallmaris
Junior Member
 
Join Date: Jan 2011
Posts: 10
Well, NSIS Array is Unicode and using InstallOptions unicode also works. I'm almost getting there except for one thing, the Russian name of the language instead of being "Русский" is all "???????" and also the Welcome page/start menu page and Finish page is all ????? while other pages and buttons work fine... (missing translation?)
Tallmaris is offline   Reply With Quote
Old 13th January 2011, 13:51   #242
Tallmaris
Junior Member
 
Join Date: Jan 2011
Posts: 10
OK!

For whoever is interested I managed to fix this as well. The solution is to convert all the INI files present in $NSISDIR\Contrib\******odernUI\Ini\ to UTF-16LE (You can do this with Notepad++). That way, WriteIniStr can detect the encoding and write a proper string that can appear no problem.

To recap, to get UMUI working with Unicode:
1) Get the SkinnedControls.dll compiled for Unicode (posted a couple of posts above)
2) Get the NSISArray.dll comiled for Unicode (thanks to afrowuk: http://www.afrowuk.co.uk/)
3) DO NOT define UMUI_USE_INSTALLOPTIONSEX (At least until we get InstallOptionsEx compiled for Unicode, will work on that as well!). That means you can't use the TreeVIew in the AlternativeStartMenu page.
4) Convert all the INI files from UMUI from ANSI to UTF-16LE

I have tested this only on my Win7 machine so as usual anything can break on any other PC but at least now it's working fine.
Tallmaris is offline   Reply With Quote
Old 17th January 2011, 15:32   #243
Tallmaris
Junior Member
 
Join Date: Jan 2011
Posts: 10
I DID IT!

Well, partially. But anyway here is the InstallOptionsEx plugin working in Unicode. The RichText fields are not working because the creation function was too complex and I really had no time to go over it (and the various fread, fopen and fseek).

Anyway it works for my installer and with the UMUI interface... probably still need to solve a problem with the treeview StartMenu page but for the time being everything else works.

Hope you enjoy it!

Some more details are on my blog: http://tallmaris.wordpress.com/2011/...ern-interface/

Regards,
Leandro Tramma
Attached Files
File Type: zip InstallOptionsEx.zip (116.4 KB, 219 views)
Tallmaris is offline   Reply With Quote
Old 18th January 2011, 11:39   #244
Tallmaris
Junior Member
 
Join Date: Jan 2011
Posts: 10
Talking Unicode UMUI

Also the last obstacle with the Treeview StartMenu page has been overcome. It needed replacing the FileRead and FileWrite functions with the corresponding FileReadUTF16LE and FileWriteUTF16LE in Unicode NSIS.

Feel free to download the amended .nsh file (zipped) and please let me know any problems you may find. I don't know how much time I'll have to support this but I'll do my best.

Regards.
Attached Files
File Type: zip Unicode_UMUI.zip (41.4 KB, 209 views)
Tallmaris is offline   Reply With Quote
Old 23rd March 2011, 07:00   #245
T.Slappy
Major Dude
 
T.Slappy's Avatar
 
Join Date: Jan 2006
Location: Slovakia
Posts: 501
Send a message via ICQ to T.Slappy
Quote:
Originally Posted by Tallmaris View Post
HI there,

Sorry I had to read the TODO list before posting... Anyway, I went the hard way (not that hard once you know what to do but I'm pretty noob in C++) and recompiled the SkinnedControls plugin. I have attached the source code and the compiled dll (it is in the plugins folder) for anyone wanting to give it a shot.

The problem I have now is that the UI_PAGE_MULTILANGUAGE is not appearing, probably because I am using InstallOptionsEx which again is not Unicode. I'll see what I can do with it (I'm afraid I don't have the source code tho) or maybe switch to InstallOptions and get rid of the TreeView view in the StartMenu page.

Anyway, enjoy the Unicode SkinnedControls (provided "as-is" with no warranty etc. etc.)
I made wiki page for SkinnedControls plugin http://nsis.sourceforge.net/SkinnedControls_plug-in, if you change something in the code, please mentioned it there too.

Cool looking skinned Graphical Installers: www.graphical-installer.com
I offer NSIS scripting, C/C++/C#/Delphi programming: www.unsignedsw.com
Develop NSIS projects in Visual Studio 2005-2017: www.visual-installer.com
or RAD Studio 2009, 2010, XE-10.2 Tokyo: www.rad-installer.com
T.Slappy is offline   Reply With Quote
Old 18th May 2011, 09:03   #246
ripper17
Junior Member
 
Join Date: May 2006
Location: Germany
Posts: 6
Send a message via ICQ to ripper17
I already read the thread, but still am confused:
When using "XpStyle on" - the Show Details button is not showing. Should this be fixed with a current snapshot from sourceforge or is this still a known issue? Any way of getting around it other than turning XpStyle off?

Thanks for an awesome UMUI!
ripper17 is offline   Reply With Quote
Old 13th August 2011, 03:26   #247
Alfaromeo
Member
 
Join Date: Mar 2008
Posts: 73
I have been using this UI a lot.
We use uniquebgimage with pagebgimage to display a background
Image in the dialogs.
However, in the license dialog if you highlight some text
In the eula and overlap the dialog with some other open
Windows like notepad , then when the focus returns
Back , the eula text box seems invisible.only when you
Highlight with mouse could I see the box.
Is this a bug or an paint issue?
Alfaromeo is offline   Reply With Quote
Old 26th October 2011, 11:52   #248
logue
Junior Member
 
Join Date: Mar 2009
Location: Japan
Posts: 8
I made ​​a collection of things related UMUI installer for NSIS Unicode version came out in the topic.
http://dl.dropbox.com/u/40510768/NSI...2011-10-25.exe

Such Infomation.nsh, there are many such examples do not work properly...
logue is offline   Reply With Quote
Old 18th October 2013, 05:31   #249
TrifonovS
Senior Member
 
Join Date: Apr 2009
Location: Bulgaria
Posts: 142
Is it possible to use UMUI together with the latest NSIS V3.0a1?
TrifonovS is offline   Reply With Quote
Old 21st October 2013, 07:59   #250
TrifonovS
Senior Member
 
Join Date: Apr 2009
Location: Bulgaria
Posts: 142
One more question. Can I create (and how) my own dialogs (based on the existing ones) when I'm using UMUI? I have done this with MUI2, but now I can't the code that generates these new dialogs. For example I need a special FINISH-dialog which is slightly different that the original one.
TrifonovS is offline   Reply With Quote
Old 1st March 2016, 07:03   #251
Bodenseematze
Junior Member
 
Join Date: Mar 2016
Posts: 3
Is anybody still working on UMUI?

Especially making it compatible to NSIS 3 versions?
Bodenseematze is offline   Reply With Quote
Old 12th July 2016, 15:33   #252
SuperPat
Senior Member
 
SuperPat's Avatar
 
Join Date: Mar 2006
Location: France
Posts: 207
Quote:
Originally Posted by Bodenseematze View Post
Is anybody still working on UMUI?

Especially making it compatible to NSIS 3 versions?
Yes! I just begin to work on a new version compatible NSIS 3!
Expected release when NSIS 3.0 final version released.

SuperPat is offline   Reply With Quote
Old 1st August 2016, 12:08   #253
extremecarver
Junior Member
 
Join Date: Apr 2013
Posts: 21
Hi SuperPat
NSIS 3.0 is out since over a week. Any news on UMUI. I cannot get it to run with 3.0 - so I'm stuck on 2.51 (or I will have to find another interface - MUI2 is not really good enough).
extremecarver is offline   Reply With Quote
Old 1st August 2016, 13:20   #254
SuperPat
Senior Member
 
SuperPat's Avatar
 
Join Date: Mar 2006
Location: France
Posts: 207
Hi,

UMUI 2.0 still need some more work. I'll be on holidays soon.

Stay tuned!

SuperPat is offline   Reply With Quote
Old 1st August 2016, 23:40   #255
extremecarver
Junior Member
 
Join Date: Apr 2013
Posts: 21
thanks great.
extremecarver is offline   Reply With Quote
Old 27th August 2016, 11:52   #256
SuperPat
Senior Member
 
SuperPat's Avatar
 
Join Date: Mar 2006
Location: France
Posts: 207
Version 2.0 beta released in a new topic [http://forums.winamp.com/showthread.php?t=396961]

SuperPat is offline   Reply With Quote
Old 29th August 2016, 13:41   #257
extremecarver
Junior Member
 
Join Date: Apr 2013
Posts: 21
thanks - works 100% without errors with my old script and nsis 3.0. Is it possible to set a custom window size for the installer? Or only use the predefined small/big (or normal) .nsi examples?
extremecarver is offline   Reply With Quote
Old 31st August 2016, 07:47   #258
SuperPat
Senior Member
 
SuperPat's Avatar
 
Join Date: Mar 2006
Location: France
Posts: 207
You can change the size the windows size by editing the resources of the file NSIS\Contrib\UIs\UltraModernUI\UltraModern.exe with a tool like ResourceHacker and set in your script the UMUI_UI define with the path of your own exe resource file

SuperPat is offline   Reply With Quote
Old 1st September 2016, 14:05   #259
extremecarver
Junior Member
 
Join Date: Apr 2013
Posts: 21
thanks a lot. Will give it a try.
extremecarver is offline   Reply With Quote
Old 13th September 2016, 07:02   #260
TrifonovS
Senior Member
 
Join Date: Apr 2009
Location: Bulgaria
Posts: 142
Hi!
I need some help. I tried to compile my scripts with this Ultra-Modern User Interface to see how the installer look like. If I use the standard pages all works fine. But I have some small modifications in some pages, for example in the Finish page. I'm not familiar with this InstallOptions plug-in, but I saw how the page is created and similar to this, I made my modifications. As a result I see what I need and it works as expected, but the new text that I have added (I created one more field with a check-box) has different color - the background is grey instead of blue and the text is black instead of white. Probably there is an easy explanation about this, but as I already said, I'm not familiar with InstallOptions plug-in and I couldn't find the answer in the documentation and in the forum.
TrifonovS is offline   Reply With Quote
Old 13th September 2016, 07:54   #261
TrifonovS
Senior Member
 
Join Date: Apr 2009
Location: Bulgaria
Posts: 142
Meantime I fixed the problem by inserting of few lines like these for my new fields:

GetDlgItem $MUI_TEMP1 $MUI_HWND ${UMUI_INTERNAL_FIDSIXTH}
!insertmacro UMUI_IOPAGECTLTRANSPARENT_INIT $MUI_TEMP1

I don't know what they are doing (probably they make the field background transparent), but now all looks like it should be.
TrifonovS is offline   Reply With Quote
Old 13th September 2016, 07:55   #262
SuperPat
Senior Member
 
SuperPat's Avatar
 
Join Date: Mar 2006
Location: France
Posts: 207
Hi,

Quote:
Originally Posted by TrifonovS View Post
I don't know what they are doing (probably they make the field background transparent), but now all looks like it should be.
Yes you are right

SuperPat is offline   Reply With Quote
Old 16th September 2016, 06:50   #263
Bodenseematze
Junior Member
 
Join Date: Mar 2016
Posts: 3
Smile Fixes and Additions

In the last two years I used "NSIS 2.46.5 - Unicode" together with "UMUI 1.0b2" and did some additions and fixes for it (e.g. the PRE functions were not available for all pages).
Additionally I have some translated text in languages which were empty or incomplete.

I now had a look at UMUI 2.0b1 together with NSIS3 - and it seems that most of my changes (even the fixes) are still meaningful.

@SuperPat: are you interested in my changes?
If yes, how can I provide them to you? As a zip file with the whole package?
Step by step with small patches?
Shall I sign up to github and add it there (never did that)?
Bodenseematze is offline   Reply With Quote
Old 16th September 2016, 08:21   #264
SuperPat
Senior Member
 
SuperPat's Avatar
 
Join Date: Mar 2006
Location: France
Posts: 207
You can send your change in this thread as patch or in some pull requests on GitHub

SuperPat is offline   Reply With Quote
Old 28th March 2017, 11:56   #265
laterist
Junior Member
 
Join Date: Mar 2017
Posts: 1
Bulgarian translation

Hey, SuperPat,

I have translated the UMUI 2 language file into Bulgarian using "Contrib\UltraModernUI\Language files\English.nsh" as a template.
I am attaching it to this post, but please tell me if there is some other way in which to submit translations, since I couldn't find any.
Attached Files
File Type: nsh Bulgarian.nsh (15.2 KB, 20 views)
laterist is offline   Reply With Quote
Old 17th April 2017, 13:33   #266
SuperPat
Senior Member
 
SuperPat's Avatar
 
Join Date: Mar 2006
Location: France
Posts: 207
Old UltraModernUI v1.0 Thread

Quote:
Originally Posted by laterist View Post
Hey, SuperPat,

I have translated the UMUI 2 language file into Bulgarian using "Contrib\UltraModernUI\Language files\English.nsh" as a template.
I am attaching it to this post, but please tell me if there is some other way in which to submit translations, since I couldn't find any.
Thanks committed. Sorry for delay I was busy.

SuperPat is offline   Reply With Quote
Reply
Go Back   Winamp & SHOUTcast Forums > Developer Center > NSIS Discussion

Tags
umui

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump