Originally posted by Joost VerburgWell the installer does include a modified version of the modern.exe, just that it includes an installer like the one in modern_ui.zip.
It you want to modify the UI, it's better to modify Contrib\UIs\modern.exe instead of creating an installer which contains the dialogs.
A new modern user interface
66 posts
Added /TRIM(LEFT|RIGHT|CENTER) for BrandingText. Get it from the CVS.
There are some multi language handling changes, so don't be surprised if your script breaks. Have a look at the docs, they are pretty updated.
There are some multi language handling changes, so don't be surprised if your script breaks. Have a look at the docs, they are pretty updated.
What does the Brandingimage /Trim do?Because after placing it in my script, it didn't change anything.
It trims down the version string control to the size of the string specified.
Originally posted by kichikI tried putting this in my script :
It trims down the version string control to the size of the string specified.
BrandingText /TRIM(LEFT) "Testing 123"
and used the modern.exe as the UI, and nothing noticable changed. Did i miss something?
Yea, the () aren't supposed to be there... It should be /TRIMLEFT not /TRIM(LEFT). I will make the compiler check it.
Originally posted by kichikno wonder 🙂
Yea, the () aren't supposed to be there... It should be /TRIMLEFT not /TRIM(LEFT). I will make the compiler check it.
It seems that the trimming doesn't "trim" that well, it leaves a small amount of gap (can be considered quite big), here's an image :
Maybe if the space is one character away isn't that bad, but this looks more like 2-3 characters away
It does. Open it up with Resource Hacker and see for yourself. The problem with your installer is that the line only reaches that far.
wow, this is great!
Totally Confused
Ok.
I'm totally confused. I have pre-alpha 7 and the UI zip files... I'm not getting any content in the UI to create NSIS packages. Yes, I'm a noob, but I'm not totally inept... Did read the facts and have been using Blue Slate...
What am I mnissing?😕
Ok.
I'm totally confused. I have pre-alpha 7 and the UI zip files... I'm not getting any content in the UI to create NSIS packages. Yes, I'm a noob, but I'm not totally inept... Did read the facts and have been using Blue Slate...
What am I mnissing?😕
All you need to do is right-click on a script and choose "Compile NSI". If you don't have this context menu entry install an older NSIS first (alpha 6 for example), and then put the pre-alpha 7 files on top of it.
Ahh.
Ok. This is a UI for NSIS, not a front end to create scripts. I gotcha.
Sorry folks.
I'm script stupid. Are there any good FrontEnds for NSIS?
Ok. This is a UI for NSIS, not a front end to create scripts. I gotcha.
Sorry folks.
I'm script stupid. Are there any good FrontEnds for NSIS?
These guys are building one: http://forums.winamp.com/showthread....threadid=96398
In the mean while you can try some front-ends here: http://www.clantpa.co.uk/nsis/wiki/
In the mean while you can try some front-ends here: http://www.clantpa.co.uk/nsis/wiki/
Originally posted by kichikNot true, i have moved and enlarged the line - here's the stats :
It does. Open it up with Resource Hacker and see for yourself. The problem with your installer is that the line only reaches that far.
left 5, top 192, width 324, height 1
I've tested it with the example.nsi from the CVS as well and the same thing happens.
Originally posted by mlblThis issue has been fixed in CVS (will be in alpha 7).
Not true, i have moved and enlarged the line - here's the stats :
left 5, top 192, width 324, height 1
I've tested it with the example.nsi from the CVS as well and the same thing happens.
New version!
Alpha 7 includes a new version of my UI.
A new macro system, full multilanguage support, fixed all known bugs, new examples, modern2.exe with a larger component select treeview, auto sizing BrandingText & more!
Alpha 7 includes a new version of my UI.
A new macro system, full multilanguage support, fixed all known bugs, new examples, modern2.exe with a larger component select treeview, auto sizing BrandingText & more!
I've just downloaded and installed alpha 7 and now my nsi files won't compile.
I get this error when compiling the test.nsi installed in the installoptions directory. Also i get the same error in my custom nsi scripts. I've had to uninstall.
Usage: CallInstDLL dll_path_on_target.dll [/NOUNLOAD] function
Error in script "C:\Program Files\NSIS\Contrib\InstallOptions\test.nsi" on line 127 -- aborting creation process
Maybe this is something i'm not doing. Sorry if it is.
I get this error when compiling the test.nsi installed in the installoptions directory. Also i get the same error in my custom nsi scripts. I've had to uninstall.
Usage: CallInstDLL dll_path_on_target.dll [/NOUNLOAD] function
Error in script "C:\Program Files\NSIS\Contrib\InstallOptions\test.nsi" on line 127 -- aborting creation process
Maybe this is something i'm not doing. Sorry if it is.
Originally posted by SailoInstallOptions has been moved from the Bin to the Plugins directory, you should change the filename.
I've just downloaded and installed alpha 7 and now my nsi files won't compile.
I get this error when compiling the test.nsi installed in the installoptions directory. Also i get the same error in my custom nsi scripts. I've had to uninstall.
Usage: CallInstDLL dll_path_on_target.dll [/NOUNLOAD] function
Error in script "C:\Program Files\NSIS\Contrib\InstallOptions\test.nsi" on line 127 -- aborting creation process
Maybe this is something i'm not doing. Sorry if it is.
[edit]There is also a bug in CallInstDLL (see kickik's post)[/edit]
Fixed in the CVS. I will soon rerelease alpha 7. Thanks for the heads up, please use SourceForge for bug posts next time.
Small update
The finish header for the uninstaller can also be set using the MUI_FINISHHEADER macro.
Update your scripts, because MUI_FINISHHEADER requires an additional parameter.
The finish header for the uninstaller can also be set using the MUI_FINISHHEADER macro.
Update your scripts, because MUI_FINISHHEADER requires an additional parameter.
Your UI doesn't support Banner Images, huh?
Originally posted by TolwynYou can edit the modern.exe UI using a Resource Editor to add or remove images, icon or other elements.
Your UI doesn't support Banner Images, huh?
Another update
Removed the titlebar from the Verifying installer & Unpacking data dialog 🙂
Available in the new alpha 7 release or on CVS.
Removed the titlebar from the Verifying installer & Unpacking data dialog 🙂
Available in the new alpha 7 release or on CVS.
wow that looks awesome. will be used this UI with other versions of the one and only NSIS? 😛
What other versions? If you are referring to 1.x then the answer is no.
Originally posted by traceThe new UI is optional, so you don't need a special version of NSIS to use it. 🙂 It will remain in all later NSIS 2 versions.
wow that looks awesome. will be used this UI with other versions of the one and only NSIS? 😛
The new UI is optional, so you don't need a special version of NSIS to use it. It will remain in all later NSIS 2 versions.this was the thing i wanted to know. i know my english is bat so you probably misunderstood. thanx.
Looks a bit odd
For some reason, the rectangle along the top of my installer is showing empty, but I can't figure out what I'm doing wrong. I'm using modern2.exe from the alpha7 download at SF btw. The screenshot should show the prob I'm having
For some reason, the rectangle along the top of my installer is showing empty, but I can't figure out what I'm doing wrong. I'm using modern2.exe from the alpha7 download at SF btw. The screenshot should show the prob I'm having
Re: Looks a bit odd
Have a look at the Examples\Modern UI directory.
Originally posted by prodangleYou need to include some macros in your script to get it to work.
For some reason, the rectangle along the top of my installer is showing empty, but I can't figure out what I'm doing wrong. I'm using modern2.exe from the alpha7 download at SF btw. The screenshot should show the prob I'm having
Have a look at the Examples\Modern UI directory.
Re: Re: Looks a bit odd
Thanks a lot 🙂
Originally posted by Joost VerburgDOH!!
You need to include some macros in your script to get it to work...
Thanks a lot 🙂