|
|
#241 |
|
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?)
|
|
|
|
|
|
#242 |
|
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. |
|
|
|
|
|
#243 |
|
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 |
|
|
|
|
|
#244 |
|
Junior Member
Join Date: Jan 2011
Posts: 10
|
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. |
|
|
|
|
|
#245 | |
|
Major Dude
|
Quote:
Cool looking installers with custom design: www.graphical-installer.com Create Setup Pages easily: www.install-designer.com Build installers in Visual Studio 2005-2022: www.visual-installer.com or RAD Studio 2009 - 11 Alexandria: www.rad-installer.com |
|
|
|
|
|
|
#246 |
|
Junior Member
|
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! |
|
|
|
|
|
#247 |
|
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? |
|
|
|
|
|
#248 |
|
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... |
|
|
|
|
|
#249 |
|
Senior Member
Join Date: Apr 2009
Location: Bulgaria
Posts: 192
|
Is it possible to use UMUI together with the latest NSIS V3.0a1?
|
|
|
|
|
|
#250 |
|
Senior Member
Join Date: Apr 2009
Location: Bulgaria
Posts: 192
|
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.
|
|
|
|
|
|
#251 |
|
Junior Member
Join Date: Mar 2016
Posts: 3
|
Is anybody still working on UMUI?
Especially making it compatible to NSIS 3 versions? |
|
|
|
|
|
#252 | |
|
Senior Member
Join Date: Mar 2006
Location: France
Posts: 212
|
Quote:
Expected release when NSIS 3.0 final version released. |
|
|
|
|
|
|
#253 |
|
Junior Member
Join Date: Apr 2013
Posts: 37
|
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). |
|
|
|
|
|
#254 |
|
Senior Member
Join Date: Mar 2006
Location: France
Posts: 212
|
Hi,
UMUI 2.0 still need some more work. I'll be on holidays soon. Stay tuned! |
|
|
|
|
|
#255 |
|
Junior Member
Join Date: Apr 2013
Posts: 37
|
thanks great.
|
|
|
|
|
|
#256 |
|
Senior Member
Join Date: Mar 2006
Location: France
Posts: 212
|
Version 2.0 beta released in a new topic [http://forums.winamp.com/showthread.php?t=396961]
|
|
|
|
|
|
#257 |
|
Junior Member
Join Date: Apr 2013
Posts: 37
|
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?
|
|
|
|
|
|
#258 |
|
Senior Member
Join Date: Mar 2006
Location: France
Posts: 212
|
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
|
|
|
|
|
|
#259 |
|
Junior Member
Join Date: Apr 2013
Posts: 37
|
thanks a lot. Will give it a try.
|
|
|
|
|
|
#260 |
|
Senior Member
Join Date: Apr 2009
Location: Bulgaria
Posts: 192
|
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. |
|
|
|
|
|
#261 |
|
Senior Member
Join Date: Apr 2009
Location: Bulgaria
Posts: 192
|
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. |
|
|
|
|
|
#262 |
|
Senior Member
Join Date: Mar 2006
Location: France
Posts: 212
|
Hi,
Yes you are right |
|
|
|
|
|
#263 |
|
Junior Member
Join Date: Mar 2016
Posts: 3
|
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)? |
|
|
|
|
|
#264 |
|
Senior Member
Join Date: Mar 2006
Location: France
Posts: 212
|
You can send your change in this thread as patch or in some pull requests on GitHub
|
|
|
|
|
|
#265 |
|
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. |
|
|
|
|
|
#266 | |
|
Senior Member
Join Date: Mar 2006
Location: France
Posts: 212
|
Old UltraModernUI v1.0 Thread
Quote:
|
|
|
|
|
|
|
#267 |
|
Member
Join Date: May 2007
Location: Orange County, CA, U.S.A.
Posts: 73
|
UltraModernUI MUI_UNPAGE_SERIALNUMBER and UMUI_UNPAGE_ADDITIONALTASKS
Among UltraModernUI's great custom pages are 2 that take function parameters: MUI_PAGE_SERIALNUMBER and UMUI_PAGE_ADDITIONALTASKS.
I may be doing something wrong, but the uninstaller versions, e.g., UMUI_UNPAGE_SERIALNUMBER and UMUI_UNPAGE_ADDITIONALTASKS don't appear to work because it seems to be trying to call the function parameters during the install ("non-uninstall") phase. I've tried many variations, but no luck. Attached is a quick test script to show the behavior. code: I know both functions seem a bit strange to include in an uninstaller, but I have a need for the former. |
|
|
|
|
|
#268 |
|
Senior Member
Join Date: Mar 2006
Location: France
Posts: 212
|
Old UltraModernUI v1.0 Thread
you need to replace
!insertmacro MUI_UNPAGE_CONFIRM by !insertmacro UMUI_UNPAGE_CONFIRM and all works fine |
|
|
|
|
|
#269 |
|
Member
Join Date: May 2007
Location: Orange County, CA, U.S.A.
Posts: 73
|
Hi, @SuperPat. Yes, as you found, there were a few issues with that incarnation of my test file, but the main issue was with the missing MUI_PAGE_UNINSTALLER_FUNCPREFIX defines that I reported on GitHub and that you resolved on Oct 31.
Thanks again! |
|
|
|
![]() |
|
|||||||
| Tags |
| umui |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|