![]() |
#1 |
Junior Member
Join Date: Nov 2009
Posts: 3
|
![]()
I just shifted to include the Graphical Installer plugin in my installer, but I have a problem regarding buttons. I made a test with my code, and everything worked fine, except for a couple of warning messages.
"SkinnedControls error: T." and "Color of button text has wrong format, check the GRAPHICAL_INSTALLER_BUTTONS_TEXT_COLOR and GRAPHICAL_INSTALLER_BUTTONS_TEXT_COLOR_DOWN defines." I have already checked those defines, and they seem fine. The custom .bmp for my buttons skin is size 47x45 px according to instructions, and I left the default text color for them (0xFFFFFF), but I still get those 2 error windows while running the installer. Also, I checked and tried the included examples, but they have the same problem. Has anybody had this same problem? |
![]() |
![]() |
![]() |
#2 |
Major Dude
|
Hi.
Solution is simple: If you use standard NSIS use Standard SkinnedControls plugin If you use UNICODE NSIS use Unicode SkinnedControls plugin. These plugins are available to download here from forum, but I also sent you a link. There are some problems related to Unicode NSIS - http://forums.winamp.com/showthread.php?t=326288 and thus SkinnedControls plugin has two versions: Unicode and NonUnicode. Mixing them with NSIS may result in this error. 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 |
![]() |
![]() |
![]() |
#3 |
Junior Member
Join Date: Nov 2009
Posts: 3
|
Thank you for your assistance. I just switched to Standard SkinnedControls plugin and the warnings disappeared.
|
![]() |
![]() |
![]() |
#4 |
Junior Member
Join Date: Jan 2011
Posts: 10
|
I have another problem related to SkinendControls and I hope someone can help me.
When I pop-up a messagebox, the buttons on the UI become un-skinned again, so I have this ugly effect of unskinned buttons on a nice UMUI interface... I tried rerunning the plugin after the messagebox but apparently you can only run it on guiInit Any ideas? |
![]() |
![]() |
![]() |
#5 | |
Major Dude
|
Quote:
I suppose that calling skinning method from plugin might work, but the plugin lacks of method for skinning single control. I will have a look on it. 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 |
|
![]() |
![]() |
![]() |
#6 | ||
Major Dude
|
Quote:
Quote:
SkinnedControls.dll and source is attached (non Unicode, converted to VS 2008) All you need is to call exactly this message always you want to redraw buttons. PHP Code:
code: I used WM_MENUDRAG message [which is normally unused] to notify window to put another refresh message into queue -> to force redrawing. See the source code how it works. 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 |
||
![]() |
![]() |
![]() |
#7 |
Major Dude
|
I made wiki page for SkinnedControls plugin http://nsis.sourceforge.net/SkinnedControls_plug-in (sources are attached), if you change something in the code, please mention it there too.
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 |
![]() |
![]() |
![]() |
|
Tags |
button, graphical installer, plugin, text |
Thread Tools | Search this Thread |
Display Modes | |
|
|