July 17th 2005
@ZmAn3: I'm working on wansis to make it do what you did manually using resource editor, and so one can just use the default dialog resources.
Currently I'm having trouble with the code for the unskinit function (not the macro, but the plug-in function itself). I can't get it to unskin NSIS properly. I have tried a lot, but the NSIS dialog doesn't have the correct size and some of the controls look messed up. I hav undone everything I have done in the skinit function (like unsubclassing, setting BS_PUSHBUTTON for buttons previously BS_OWNERDRAW, fixing the colors back to the windows defaults and so on).
Here is the latest source code, hope someone will take a look:
wansis_source_july_17th_2005.7z 70,1 KB
I'm not releasing the binary of this source code as it is buggy.
I will also implement Desktop Alpha Blending feature (with a nice drop shadow effect) if I can get UpdateLayeredWindow to work. Must be making a 32 bit BMP with Alpha channel.
wansis - Skinned NSIS
85 posts
that sounds cool 🙂
thanks for the OS X skin 🙂
For myself, I am going to wait a bit and see how the plug develops. Kudos to all for pushing it forward as this is an extremely relevant direction....
g
For myself, I am going to wait a bit and see how the plug develops. Kudos to all for pushing it forward as this is an extremely relevant direction....
g
saivert
what are you using as a compiler so i can get it? version ect
what are you using as a compiler so i can get it? version ect
July 19th 2005
@ZmAn3: I'm using Microsoft Visual Studio .NET 2003
You can also compile using the compiler that is included in Platform SDK but you should also get the standalone compiler pack from Microsoft since the platform one only is for IA64 and not for x86 architecture (I lost you there didn't I??).
Actually any C compiler for Win32 should work. Try Bloodshed Dev-C++ which is an IDE bundled with MinGW (minimalistic GNU for Windows).
Some questions:
1. Should I start using the term "theme" instead of "Skin"?
2. Can I only expect to see themers/skinners around here and no programmers whatsoever? I really like the themes, but I need some help with the programming as well. I don't want credit for it all alone. Nothing good comes out of that.
3. I'm thinking about the button that suddenly isn't skinned anymore. This is because NSIS itself resets the window style of the button in order to set it as the default button (the one that is automagically clicked when someone hits enter).
I will NOT check up on this button each 25 ms either (think of the CPU use). SO I will have to use some other method.
Kudos to all that has showed interest in this.
New version is also out:
Download: wansis.7z 332 KB
Latest source: wansis-source.7z 94,8 KB
Changes in this release:
Added: Included all the themes made by ZmAn3. Also fixed the example scripts and modified ZmAn3's custom UI. Renamed it to "flatui.exe" though, and using this custom UI in the example script for the forum and OSX themes.
Bugfix: The plug-in should now unload properly so the $PLUGINSDIR folder can be deleted.
Bugfix: The install button on the directory page now remains skinned even after clicking the browse button. Also fixed a similar problem on the instfiles page when clicking Show Details button.
EDIT: Online documentation
@ZmAn3: I'm using Microsoft Visual Studio .NET 2003
You can also compile using the compiler that is included in Platform SDK but you should also get the standalone compiler pack from Microsoft since the platform one only is for IA64 and not for x86 architecture (I lost you there didn't I??).
Actually any C compiler for Win32 should work. Try Bloodshed Dev-C++ which is an IDE bundled with MinGW (minimalistic GNU for Windows).
Some questions:
1. Should I start using the term "theme" instead of "Skin"?
2. Can I only expect to see themers/skinners around here and no programmers whatsoever? I really like the themes, but I need some help with the programming as well. I don't want credit for it all alone. Nothing good comes out of that.
3. I'm thinking about the button that suddenly isn't skinned anymore. This is because NSIS itself resets the window style of the button in order to set it as the default button (the one that is automagically clicked when someone hits enter).
I will NOT check up on this button each 25 ms either (think of the CPU use). SO I will have to use some other method.
Kudos to all that has showed interest in this.
New version is also out:
Download: wansis.7z 332 KB
Latest source: wansis-source.7z 94,8 KB
Changes in this release:
Added: Included all the themes made by ZmAn3. Also fixed the example scripts and modified ZmAn3's custom UI. Renamed it to "flatui.exe" though, and using this custom UI in the example script for the forum and OSX themes.
Bugfix: The plug-in should now unload properly so the $PLUGINSDIR folder can be deleted.
Bugfix: The install button on the directory page now remains skinned even after clicking the browse button. Also fixed a similar problem on the instfiles page when clicking Show Details button.
EDIT: Online documentation
I found an other bug:
in the install dir page, if you change the insttall dir without use the browse button, the next button unskinnit itself.
Solution, add this code in your ChildDlgProc function:
/* Same lame fix for the Next button unskinning itself after changing the install dir */
if (uMsg == WM_COMMAND && LOWORD(wParam)==1019/*IDC_???*/)
{
FixMainControls();
}
in the install dir page, if you change the insttall dir without use the browse button, the next button unskinnit itself.
Solution, add this code in your ChildDlgProc function:
/* Same lame fix for the Next button unskinning itself after changing the install dir */
if (uMsg == WM_COMMAND && LOWORD(wParam)==1019/*IDC_???*/)
{
FixMainControls();
}
I found an other bug,
The Show inst Détail button is unskinned throughout all installation. It is skinned only at the end of the installation.
The Show inst Détail button is unskinned throughout all installation. It is skinned only at the end of the installation.
@superpat: I will fix that for the next release.
Some treats for you while you wait:
Steam theme:
wansis_steam_theme.7z 59,7 KB
A new theme. Taken from the Z-Axis Winamp skin. Looks kinda cool.
new_theme.7z 73,2 KB (includes compiled sample installer)
Some treats for you while you wait:
Steam theme:
wansis_steam_theme.7z 59,7 KB
A new theme. Taken from the Z-Axis Winamp skin. Looks kinda cool.
new_theme.7z 73,2 KB (includes compiled sample installer)
i think it should be called a skin if its the 2 base graphics for the plugin but if you make a icon header and wizard bitmap then it's more of a theme
is it possible to change the text in the caption?
July 20th 2005
@ZmAn3: Exactly what conclusion I came to as well.
@Yathosho: Change the text in the caption?? Isn't this already possible? PLease don't post newbie questions about NSIS in here. Use the other forums for that. But to answer quickly you should be using the Name and Caption installer attributes. wansis will faithfully use the caption of the installer itself. Some skins has bugs in them (altough Winamp copes better with these bugs it seems) which means the caption of the installer gets screwed a bit. Try to shift the block of letters in your gen.bmp image to the left or right just one pixel.
A note to skinners: Please use fuchsia = RGB(255,0,255) for the background (or matte) color of the skin bitmaps. I know most people use whatever color they want here and include copyright texts (which is fine) and so on.
Expect a new release to come out within the next three days.
@ZmAn3: Exactly what conclusion I came to as well.
@Yathosho: Change the text in the caption?? Isn't this already possible? PLease don't post newbie questions about NSIS in here. Use the other forums for that. But to answer quickly you should be using the Name and Caption installer attributes. wansis will faithfully use the caption of the installer itself. Some skins has bugs in them (altough Winamp copes better with these bugs it seems) which means the caption of the installer gets screwed a bit. Try to shift the block of letters in your gen.bmp image to the left or right just one pixel.
A note to skinners: Please use fuchsia = RGB(255,0,255) for the background (or matte) color of the skin bitmaps. I know most people use whatever color they want here and include copyright texts (which is fine) and so on.
Expect a new release to come out within the next three days.
There is an other bug:
The "Back" buttons of the next page unskin itself then I am in the STARTMENU page an I clic "Next".
The "Back" buttons of the back page unskin itself then I am in the STARTMENU page an I clic "Back".
The background of the STARTMENU page keep the default windows color.
The "Back" buttons of the next page unskin itself then I am in the STARTMENU page an I clic "Next".
The "Back" buttons of the back page unskin itself then I am in the STARTMENU page an I clic "Back".
The background of the STARTMENU page keep the default windows color.
I know that there are some issues with 3rd party plug-ins like StartMenu. I have not yet been able to resolve this. I think I will try to fix incompatibility bugs with both InstallOptions and StartMenu, by modifying both of these plug-ins. I will then distribute updated InstallOptions and StartMenu plug-ins with wansis. I have fixed most of the issues with the InstallOptions plug-in though. But the StartMenu plug-in does something else it seems.
OK, It will be necessary that I deliver modified these versions with UltraModernUI in this case.
Re: July 20th 2005
Originally posted by saiverta simple answer would've helped more. all shown screenshots had NSIS WITH WINAMP LOOK as caption, that's why i asked.
@Yathosho: Change the text in the caption?? Isn't this already possible? PLease don't post newbie questions about NSIS in here. Use the other forums for that.
@Yathosho: Yes! I also answered you the best I could don't you think? And you should have guessed that I used the title "NSIS WITH WINAMP LOOK" for demonstration purposes only.
I lost internet for extended perios this night (I'm a GMT +0100 guy) so I was unable to do certain things.
I lost internet for extended perios this night (I'm a GMT +0100 guy) so I was unable to do certain things.
Sorry!
Sorry for being late with the release. Here I will explain some:
In the next release of wansis, it will also do proper skinning of checkboxes and radiobuttons. Tabcontrol skinning is also added to the todo list but will probably take some longer time. I will probably be using C++ for the next release of wansis as I can use a pointer list class to store the controls that is being skinned. The reason for why I need to have a list is becuase I am subclassing a lot of controls and keeping the old window pointer in a Window property or userdata field is too messy. This way I can clean up some code and improve the overall speed of the plug-in. Maybe it can help make the DLL smaller in filesize.
The current version is still available here:
Thank you!
Sorry for being late with the release. Here I will explain some:
In the next release of wansis, it will also do proper skinning of checkboxes and radiobuttons. Tabcontrol skinning is also added to the todo list but will probably take some longer time. I will probably be using C++ for the next release of wansis as I can use a pointer list class to store the controls that is being skinned. The reason for why I need to have a list is becuase I am subclassing a lot of controls and keeping the old window pointer in a Window property or userdata field is too messy. This way I can clean up some code and improve the overall speed of the plug-in. Maybe it can help make the DLL smaller in filesize.
The current version is still available here:
Thank you!
hey man can you tell me the line in the source code that draws the background color from the one pixel in the bmp as well as tells it how wide to make it or whatever?
one pretty thing to look at ^)
Hi there,
Just want to share the thing I've found today. Free tool to make nsis installers look great:
The thing is that there is quite a number of ready to use nice skins at skincrafter gallery.
I have tested it and the results were even above I could expect...
Hope this info would be interesting and useful.
Cheers,
Patrick
Hi there,
Just want to share the thing I've found today. Free tool to make nsis installers look great:
The thing is that there is quite a number of ready to use nice skins at skincrafter gallery.
I have tested it and the results were even above I could expect...
Hope this info would be interesting and useful.
Cheers,
Patrick
NSIS crafter is very splandid!!!
It's a pity that the sources are not available.
It's a pity that the sources are not available.
I tried the NSIS skincrafter...
once the example is launched, I get the 'sample exe has generated errors and will be closed by windows....'
I am using Win2k
anyone seen the same thing?
The plugin is huge in filesize, btw 🙁
once the example is launched, I get the 'sample exe has generated errors and will be closed by windows....'
I am using Win2k
anyone seen the same thing?
The plugin is huge in filesize, btw 🙁
i cant even get the sample script to compile. plus the image format is what?
grahama,
yeah.. that really did not worked at win2k (at least when running tests at fresh Win install)
I have asked a support about this case, and they have already uploaded a hotfix.
Now, it seems to work nicely..
Anyway, I like their Amazonite skin, I always prefered green themes 🙂
yeah.. that really did not worked at win2k (at least when running tests at fresh Win install)
I have asked a support about this case, and they have already uploaded a hotfix.
Now, it seems to work nicely..
Anyway, I like their Amazonite skin, I always prefered green themes 🙂
NSIS skincrafter isn't exactly the same was wansis. I wrote wansis a long time ago and just recently started working on it again. I guess other programmers can do much better work on it. At least all my work is open-source (it's not like I can earn a buck on it either). I follow the GPL license.
I'm working on a Winamp plug-in now. In fact that is my primary interest. NSIS comes second. I don't use wansis myself in any of my installers (it really makes the installer bigger and isn't suitable for small packages like my Winamp plug-ins. Maybe for a big project or Media Player. My dream is that wansis is used in the Winamp installer (with the ripped Winamp 5 classified skin).
I will try to get out a new release. I did some fixing to SuperPats skinned buttons plug-in as well and made a makefile for Microsoft Visual C++ (nmake).
I'm working on a Winamp plug-in now. In fact that is my primary interest. NSIS comes second. I don't use wansis myself in any of my installers (it really makes the installer bigger and isn't suitable for small packages like my Winamp plug-ins. Maybe for a big project or Media Player. My dream is that wansis is used in the Winamp installer (with the ripped Winamp 5 classified skin).
I will try to get out a new release. I did some fixing to SuperPats skinned buttons plug-in as well and made a makefile for Microsoft Visual C++ (nmake).
hey theres code somewhere that makes the window bigger then the default non skinnned one ,wheres that at?
nevermind got it
ok now how can i change the color of the borders on the controls ? also is there anyway to make the progress bar control flat
ok now how can i change the color of the borders on the controls ? also is there anyway to make the progress bar control flat
@ZmAn3: You mean making the scrollbar smooth style? Isn't this possible with some installer attributes? I can add a feature which will draw a border on all control in a specific color, but how should I implement this? Any tips?
I said I never used wansis in my installers. This is now a lie. I am using wansis in my new Winamp plug-in called NxS Skinned Menus. I am using the Forum theme by ZmAn3. But this is only on the installer I posted on the Winamp forum.
@ZmAn3: You can message me using MSN if you want. I'm on from 16:00 to 01:00 everyday (I'm between jobs as they say and school start from mid of August).
I said I never used wansis in my installers. This is now a lie. I am using wansis in my new Winamp plug-in called NxS Skinned Menus. I am using the Forum theme by ZmAn3. But this is only on the installer I posted on the Winamp forum.
@ZmAn3: You can message me using MSN if you want. I'm on from 16:00 to 01:00 everyday (I'm between jobs as they say and school start from mid of August).
for future information about this nsis plugin you'll need to contact the author since as some of you may or may not have noticed yet, he's been banned (the last series of posts made flaming people about their forum name, plugins, mods, etc etc meant there was no choice but for this to happen and in all honesty this had been coming for some time).
i've posted this here since i know quite a few people who venture into this forum don't look at the other ones.
-daz
i've posted this here since i know quite a few people who venture into this forum don't look at the other ones.
-daz
Good Morning,
I read the preceding message well, but I could not obtain his mail because I am not a member.
saivert, if you see this message,
I saw that in the last version of wansis, you corrected the problem of the button "Show Detail" which remained unskinned during the files copy.
Wishing to defer this correction on my plugin, SkinnedButton, I thus sought, in your source code, but I'm not found the code lines which corrected problem.
Can you indicate to me what are the code lines that correcting the problem.
Thank you in advance,
SuperPat (guerin45@free.fr)
I read the preceding message well, but I could not obtain his mail because I am not a member.
saivert, if you see this message,
I saw that in the last version of wansis, you corrected the problem of the button "Show Detail" which remained unskinned during the files copy.
Wishing to defer this correction on my plugin, SkinnedButton, I thus sought, in your source code, but I'm not found the code lines which corrected problem.
Can you indicate to me what are the code lines that correcting the problem.
Thank you in advance,
SuperPat (guerin45@free.fr)
ExperienceUI "Bryce" M1 and later now support WAnsis. As of when this was posted, ExperienceUI 1.1 was still in a non-public alpha stage, and there are 3 spots left for beta testing. Public alpha should be out in ~2 weeks.
To beta-test, e-mail me.
-dandaman32
To beta-test, e-mail me.
-dandaman32