![]() |
#1 |
Junior Member
Join Date: Apr 2004
Posts: 3
|
![]()
Hi,
I'm looking a way to make an installer like visual studio ![]() I didn't find anything on web regarding a way to create my custom plugin to do it. Does anyone have a idea ? Thanks |
![]() |
![]() |
![]() |
#2 |
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,356
|
Edit ${NSISDIR}\Contrib\UIs\modern.exe with Resource Hacker and apply with MUI_UI/ChangeUI. This will only change the UI layout. You can use SetCtlColor to change control colors but you are never going to get exactly what you have in that screenshot because that is probably a custom MSI UI.
IntOp $PostCount $PostCount + 1 |
![]() |
![]() |
![]() |
#3 |
Member
Join Date: May 2007
Location: Orange County, CA, U.S.A.
Posts: 73
|
I use UltraModernUI for NSIS, which leverages the SkinnedControls plugin, and made a modern flat look UI, with custom buttons and scrollbars etc. But it was quite a bit of work to skin almost everything (message boxes still aren't skinned).
There's also Graphical Installer, and SkinCrafter (the latter has issues with 2.46+, apparently). None are perfect. If you use plugins to generate any content, you'll need to use SetCtlColors. I'd show you a screenshot, but it's made for a third party. |
![]() |
![]() |
![]() |
#4 |
Junior Member
Join Date: Jul 2017
Posts: 29
|
It's MSI-based UI - 'Surface'. Very cool, but not free. I hope it will be in NSIS in the future, or more kewl GUI.
![]() https://www.advancedinstaller.com/gallery.html |
![]() |
![]() |
![]() |
#5 | |
Major Dude
|
Graphical Installer
Quote:
![]() ![]() Check this link for more info: http://graphical-installer.com/jooml...ws/153-news-39 Cool looking installers with custom design: www.graphical-installer.com Create Setup Pages easily: www.install-designer.com Build installers in Visual Studio 2005-2019: www.visual-installer.com or RAD Studio 2009, 2010, XE-10.4 Sydney: www.rad-installer.com |
|
![]() |
![]() |
![]() |
#6 |
Junior Member
Join Date: Apr 2004
Posts: 3
|
Hi,
thanks all for replying. I a look a little bit on GraphicalInstaller, but it's still a commercial product. I was looking for a opensource or free method. I will look on ultraModern to test what's Nutzzz tell me. Is there some tutorial to make my own "ultraModern", "ModernUi" ? Thanks |
![]() |
![]() |
![]() |
#7 |
Member
Join Date: May 2007
Location: Orange County, CA, U.S.A.
Posts: 73
|
No tutorials that I know of, but here's a quick and dirty one to get you started:
After you install UMUI, make a copy of one of the skin .nsh files in C:\Program Files (x86)\NSIS\Contrib\UltraModernUI\Skins and copy the corresponding folder of images, and move them to your installer folder. Grab Paint.NET or Gimp and change the buttons and scrollbars to a flat color, and use a slightly different color as a border. Take a screenshot of one you want to duplicate and use the eyedropper tool to get the exact color if you want. Don't bother making the background/header/bottom, etc. a single color; you can just disable those. If you use the components page, you probably want to make new checkboxes too. Copy and edit one of the ones from C:\Program Files (x86)\NSIS\Contrib\Graphics\Checks, and specify the new image with MUI_COMPONENTSPAGE_CHECKBITMAP. !import the skin's .nsh file into your installer, and tweak it to remove the images you don't want and to change the paths to your new versions, tweak the colors as necessary. I'd suggest specifying the following in the .nsh: code: Note that some defines start with UMUI_ for UltraModern as they're UMUI only, others with MUI_ as they're shared with Modern UI 2. Check out the examples in C:\Program Files (x86)\NSIS\Examples\UltraModernUI (there are some new pages you can play with for a more modern feel, though they mostly duplicate InstallShield behavior). The readme is great, but very dense as there are tons of options (hit Expand All at the top if you want to do searches): C:\Program Files (x86)\NSIS\Docs\UltraModernUI\Readme.html |
![]() |
![]() |
![]() |
#8 |
Junior Member
Join Date: Feb 2016
Posts: 48
|
I recently discovered this configuration for NSIS
PHP Code:
|
![]() |
![]() |
![]() |
#9 |
Member
Join Date: May 2007
Location: Orange County, CA, U.S.A.
Posts: 73
|
@Coby: Where does installer-helper.dll come from? It's not default NSIS...
|
![]() |
![]() |
![]() |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|