found unhandled register $4 in MUI_FUNCTION_INSTFILESPAGE macro
System::Call "user32::InvalidateRect(i,i,i)i (r8, 0, 1).r4"
r4 => $4 data lost after this Call or it should be like that ???
Attach: Polish version language file for UMUI
Good Job M8
Ultra-Modern UI
269 posts
New build version 2009-12-20
- Fixed: Unhandled register $4 in MUI_FUNCTION_INSTFILESPAGE macro
- Added: Polish translation (by forge)
Download
- Fixed: Unhandled register $4 in MUI_FUNCTION_INSTFILESPAGE macro
- Added: Polish translation (by forge)
Download
Thanks 🙂
New build version 2009-12-25
- Fixed: the UMUI_ADDITIONALTASKS_IF_NOT_CKECKED macro does not work
- Fixed: If you use the Abort Instruction in the alternative start menu custom leave function, the pas was not displayed
- The Context radio buttons of the alternative start menu page are disabled if the installer doe not have administrator rights (Start menu shortcuts can only be created for current user).
Download
Merry Christmas!
- Fixed: the UMUI_ADDITIONALTASKS_IF_NOT_CKECKED macro does not work
- Fixed: If you use the Abort Instruction in the alternative start menu custom leave function, the pas was not displayed
- The Context radio buttons of the alternative start menu page are disabled if the installer doe not have administrator rights (Start menu shortcuts can only be created for current user).
Download
Merry Christmas!
SuperPat, can you compile UMUI installers with nsis-2.46-strlen_8192.zip ???
It always crashes on me. I tried NSIS 2.45 and NSIS 2.46 ...
It always crashes on me. I tried NSIS 2.45 and NSIS 2.46 ...
WOW, very quick release! Most problems reported yesterday (!!!) have already been fixed. Using UMUI was the right choice...
Keep on the good work!
Best Regards,
Yves
Keep on the good work!
Best Regards,
Yves
Originally posted by LoRd_MuldeRUMUI was developed to run with the normal version of NSIS.
SuperPat, can you compile UMUI installers with nsis-2.46-strlen_8192.zip ???
It always crashes on me. I tried NSIS 2.45 and NSIS 2.46 ...
Can you send me an example script that crash?
can you send the error log?
Sure. Here we go:
The log:
The log:
Originally posted by LoRd_MuldeRIt seem that UMUI won't compile with the large string version. NSIS crash...
SuperPat, can you compile UMUI installers with nsis-2.46-strlen_8192.zip ???
It always crashes on me. I tried NSIS 2.45 and NSIS 2.46 ...
More info:
Superpat,
I remember there was an issue with changing text color on the dialogs using UMUI_TExt_LIGHTCOLOR . Was this fixed ?
I remember there was an issue with changing text color on the dialogs using UMUI_TExt_LIGHTCOLOR . Was this fixed ?
I was not aware there was a problem with this define but it seems to work correctly.Originally Posted by Alfaromeo View PostSuperpat,
I remember there was an issue with changing text color on the dialogs using UMUI_TExt_LIGHTCOLOR . Was this fixed ?
Superpat,
I get a black background around the license page checkbox using the below code in my script , using the UMUI latest version.
!define UMUI_UNIQUEBGIMAGE
!define UMUI_UNUNIQUEBGIMAGE
!define UMUI_PAGEBGIMAGE
!define UMUI_UNPAGEBGIMAGE
!define UMUI_PAGEBGIMAGE_BMP "Path to BMP file"
Please explain
I get a black background around the license page checkbox using the below code in my script , using the UMUI latest version.
!define UMUI_UNIQUEBGIMAGE
!define UMUI_UNUNIQUEBGIMAGE
!define UMUI_PAGEBGIMAGE
!define UMUI_UNPAGEBGIMAGE
!define UMUI_PAGEBGIMAGE_BMP "Path to BMP file"
Please explain
Anybody ? I'm getting these black backgrounds on all radio buttons and checkboxes when I use XPStyle On.
I can not reproduce this problemOriginally Posted by Alfaromeo View PostI get a black background around the license page checkbox using the below code in my script , using the UMUI latest version.
!define UMUI_UNIQUEBGIMAGE
!define UMUI_UNUNIQUEBGIMAGE
!define UMUI_PAGEBGIMAGE
!define UMUI_UNPAGEBGIMAGE
!define UMUI_PAGEBGIMAGE_BMP "Path to BMP file"
Please find this working example for your reference
Please have XP theme enabled before testing the above script
SetCompressor LZMA
!include UMUI.nsh
!define UMUI_TEXT_COLOR "000000"
!define MUI_BGCOLOR "d9dbdc"
!define UMUI_TEXT_INPUTCOLOR 003366
!define UMUI_UNIQUEBGIMAGE
!define UMUI_UNUNIQUEBGIMAGE
!define UMUI_PAGEBGIMAGE
!define UMUI_UNPAGEBGIMAGE
!define UMUI_PAGEBGIMAGE_BMP "Path to BMP file"
LicenseForceSelection checkbox
OutFile "test.exe"
!insertmacro MUI_PAGE_LICENSE "Path to license file"
!insertmacro MUI_LANGUAGE "English"
XPStyle On
Section Main
SectionEnd
Were you able to reproduce this problem ?
With XPStyle On, the SetCtlColors instruction is ignored on static pages radio buttons and checkboxes.
You need to remove the XPStyle instruction or the MUI_LICENSEPAGE_CHECKBOX define.
You need to remove the XPStyle instruction or the MUI_LICENSEPAGE_CHECKBOX define.
Never mind , I turned the XPStyle off for now .
I have a requirement now to bypass the UMUI Update page and show the license page .
My sequence of dialogs are
Welcome -> License -> Directory -> install files- > finish
On upgrade , I need to show the License -> installfiles -> Finish
I tried to have a condition in the Welcome show function which detect the version and on being higher I navigate to License Page . But somehow the installation seems very slow and erroneous in this sequence .
Is this the right way to skip the update page ?
I have a requirement now to bypass the UMUI Update page and show the license page .
My sequence of dialogs are
Welcome -> License -> Directory -> install files- > finish
On upgrade , I need to show the License -> installfiles -> Finish
I tried to have a condition in the Welcome show function which detect the version and on being higher I navigate to License Page . But somehow the installation seems very slow and erroneous in this sequence .
Is this the right way to skip the update page ?
Any suggestions
You can use the UMUI install flags:
For example, in your onInit function you can set the flag:
!insertmacro UMUI_SET_INSTALLFLAG ${UMUI_UPDATE}
The welcome and directory pages are aborted by this flag.
The license Page is also aborted by this flag but you can override this behavior by defining:
!define UMUI_ABORT_IF_INSTALLFLAG_IS ${UMUI_CANCELLED}
!insertmacro MUI_PAGE_WELCOME
For example, in your onInit function you can set the flag:
!insertmacro UMUI_SET_INSTALLFLAG ${UMUI_UPDATE}
The welcome and directory pages are aborted by this flag.
The license Page is also aborted by this flag but you can override this behavior by defining:
!define UMUI_ABORT_IF_INSTALLFLAG_IS ${UMUI_CANCELLED}
!insertmacro MUI_PAGE_WELCOME
I have a little problem. I tried to use the TaskbarProcess plugin, but it doesn't work with UMUI, because this use the PageCallbacks [show_function] of the install page, which isn't in the UMUI. There is any other option, using this plugin in UMUI?
THX
THX
use the MUI_PAGE_CUSTOMFUNCTION_SHOW macro to define the callback function
(See the UMUI manual: http://******odernui.sourceforge.net...ustomFunctions)
(See the UMUI manual: http://******odernui.sourceforge.net...ustomFunctions)
And works. 👍
Thanks
Thanks
Sorry for the long time since the last build 😕
New build version 2010-08-01
- Updated: NSISArray plugin to version 2.4 that using the new API version. The old version 2.2 of the DLL plugin, using the old API, is kept for user having NSIS versions prior to 2.42.
- Modified: UMUI installers now install the new API version of the InstallOptionsEx plugin instead of the legacy version for user having NSIS versions 2.42 or later.
- Added: Configuration define in the Include\UMUI.nsh and Include\MUIEx.nsh files to choose if UMUI need to use the old API version.
- Fixed: Missing installing two files (exdll-vs2008.sln, exdll-vs2008.vcproj in examples\plugin directory) in the NSIS+UMUI package.
- Fixed: Warning in the confirm page if UMUI_CONFIRMPAGE_TEXTBOX is not defined.
- Added: The information page now support natively multiple translated information files. See the Information.nsi example for details.
- Fixed: The last two characters of the last line of text files where dropped in information pages.
- Optimization: UMUI use the $EXEPATH variable instead of the System plugin to find the installer full path. Consequently, UMUI is now compatible with NSIS 2.26 at least.
TODO:
- If (components, installdir...) pages are aborted because the user choose the minimal, standard or complete option in the install type page, their default properties will be saved in the registry.
- Add support for the large string version of NSIS.
- Create an Unicode version of Ultra Modern UI and its plugins compatible with the incoming version of NSIS.
Download
New build version 2010-08-01
- Updated: NSISArray plugin to version 2.4 that using the new API version. The old version 2.2 of the DLL plugin, using the old API, is kept for user having NSIS versions prior to 2.42.
- Modified: UMUI installers now install the new API version of the InstallOptionsEx plugin instead of the legacy version for user having NSIS versions 2.42 or later.
- Added: Configuration define in the Include\UMUI.nsh and Include\MUIEx.nsh files to choose if UMUI need to use the old API version.
- Fixed: Missing installing two files (exdll-vs2008.sln, exdll-vs2008.vcproj in examples\plugin directory) in the NSIS+UMUI package.
- Fixed: Warning in the confirm page if UMUI_CONFIRMPAGE_TEXTBOX is not defined.
- Added: The information page now support natively multiple translated information files. See the Information.nsi example for details.
- Fixed: The last two characters of the last line of text files where dropped in information pages.
- Optimization: UMUI use the $EXEPATH variable instead of the System plugin to find the installer full path. Consequently, UMUI is now compatible with NSIS 2.26 at least.
TODO:
- If (components, installdir...) pages are aborted because the user choose the minimal, standard or complete option in the install type page, their default properties will be saved in the registry.
- Add support for the large string version of NSIS.
- Create an Unicode version of Ultra Modern UI and its plugins compatible with the incoming version of NSIS.
Download
New build version 2010-11-11
- Fixed: Bug withthe LangDLL plugin that showed bad languages list when the MUI_LANGDLL_ALLLANGUAGES option was not used.
TODO:
- Fix: If (components, installdir...) pages are aborted because the user choose the minimal, standard or complete option in the install type page, their default properties will be saved in the registry.
- Add: support for the large string version of NSIS.
- Create an Unicode version of Ultra Modern UI and its plugins compatible with the incoming version of NSIS.
- Improve: The documentation is outdated and the SkinnedControls plugin documentation is non-existant. So you can see examples to see all properties.
- Improve: Need to rewrite one of the macros managing "UMUI Flags" (It allows, among other things, what options were chosen in the different pages ...).
Download
- Fixed: Bug withthe LangDLL plugin that showed bad languages list when the MUI_LANGDLL_ALLLANGUAGES option was not used.
TODO:
- Fix: If (components, installdir...) pages are aborted because the user choose the minimal, standard or complete option in the install type page, their default properties will be saved in the registry.
- Add: support for the large string version of NSIS.
- Create an Unicode version of Ultra Modern UI and its plugins compatible with the incoming version of NSIS.
- Improve: The documentation is outdated and the SkinnedControls plugin documentation is non-existant. So you can see examples to see all properties.
- Improve: Need to rewrite one of the macros managing "UMUI Flags" (It allows, among other things, what options were chosen in the different pages ...).
Download
Hi SuperPat,
I'm trying to use the UMUI for a MultiLanguage installer. What I found is that if I try to add Russian in my installer all I get is garbage in the interface. I tried compiling using unicode-NSIS but this seems to break the SkinnedControls plugin (I get an error with a message in Chinese and I get no language selection box). I also tried with the example provided but I have the same problem.
I reckon I have two options here:
1) Do not show Russian if the codepage is not compatible
2) Make SkinnedControls work with Unicode
Do you have an idea on both those solutions and what would be the correct way to proceed?
Thanks!
I'm trying to use the UMUI for a MultiLanguage installer. What I found is that if I try to add Russian in my installer all I get is garbage in the interface. I tried compiling using unicode-NSIS but this seems to break the SkinnedControls plugin (I get an error with a message in Chinese and I get no language selection box). I also tried with the example provided but I have the same problem.
I reckon I have two options here:
1) Do not show Russian if the codepage is not compatible
2) Make SkinnedControls work with Unicode
Do you have an idea on both those solutions and what would be the correct way to proceed?
Thanks!
Tallmaris: that's on the todo list from the last (and previous changlogs) so until SuperPat / someone else sorts it out then you're going to keep having the issue you are seeing i believe (though the code for the plug-in should be available so you could compile a version yourself if needed).Originally Posted by SuperPat View PostTODO:
- Create an Unicode version of Ultra Modern UI and its plugins compatible with the incoming version of NSIS.
-daz
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.)
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.)