Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 27th May 2012, 20:08   #81
Brummelchen
Major Dude
 
Join Date: May 2003
Posts: 676
/ot this will drop win8 finally to death on desktops. win7 is supportet till 2020 - 8 years to go now.
Brummelchen is offline   Reply With Quote
Old 27th May 2012, 21:25   #82
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Birmingham, England
Posts: 8,216
Quote:
Originally Posted by GaNi View Post
Afrow,

With this new plugin, the option /nobranding makes the UI draw no button at all. Alternatively using /nobranding /btnold uses older library to draw I guess.
Fixed.

Quote:
1.0.0.8 - 27th May 2012
* Fixed buttons not being drawn and crash when using /nobranding.
Stu

Need an installer? http://www.afrowsoft.co.uk
Afrow UK is offline   Reply With Quote
Old 28th May 2012, 00:20   #83
GaNi
Junior Member
 
Join Date: Jul 2010
Posts: 17
Quote:
Originally Posted by LoRd_MuldeR View Post
Bad news for people that like the Aero plug-in:
http://www.wired.com/gadgetlab/2012/...-in-windows-8/

It seems that Microsoft currently tires to cripple the "classical" Desktop as much as possible in order to make "Metro" appear less annoying/limited. The result will be an OS that has a "Touchscreen" interface, which is completely unusable and infeasible for anything but Tablet computers, combined with a totally crippled Desktop, which isn't more than a emergency fall-back feature. I would be fine to consider Windows 8 a pure Tablet-OS, but my biggest fear is that the epic fail of Windows 8 that we'll see on the Desktop market (we'll see how well it goes on the "Mobile" market) will give a great boost to Mac OS X. Might also be chance for Linux to gain some popularity though...

This release would be a total fail as Vista. I guess, very few people would upgrade to windows 8.

@Affrow,
Thanks!
GaNi is offline   Reply With Quote
Old 25th January 2013, 22:06   #84
LoRd_MuldeR
Major Dude
 
LoRd_MuldeR's Avatar
 
Join Date: Sep 2005
Location: Somewhere over the Slaughterhouse
Posts: 644
Afrow UK,

today I rebuilt one of my installers in order to update some of the files included. The installer is using the "inetc" plug-in and I noticed that the text in the "Cancel" button (while downloading) had disappeared! Since the installer script had not been modified, I was quite surprised. My next thought was about the plug-in versions. So I extracted the plug-in DLL's from the "old" working binary of the installer. I discovered that I was still building with the very same "inetc.dll" (latest version available) but had updated the "aero.dll" in the meantime! And indeed, switching back to the older "aero.dll" resolved the issue. So I believe this might be a bug in your "aero" plug-in

Aero.DLL version 2012-03-10:


Aero.DLL version 2012-05-27:


Really only change is the Aero.DLL. I'm using Unicode NSIS (v2.46.5) , in case that matters.

Any thoughts?

Thanks and keep up the good work,
MuldeR

My Plugins: StdUtils | NSISList | CPUFeatures | ExecTimeout | KillProc
My source of inspiration: http://youtu.be/lCwY4_0W1YI
LoRd_MuldeR is offline   Reply With Quote
Old 28th January 2013, 11:22   #85
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Birmingham, England
Posts: 8,216
This occurs because the Aero plug-in draws the Cancel button text itself. The inetc plug-in reads the Cancel button text to use it for its own Cancel button but gets an empty string. Just add /canceltext $(^CancelBtn) to the inetc plug-in call.

Stu

Need an installer? http://www.afrowsoft.co.uk
Afrow UK is offline   Reply With Quote
Old 28th January 2013, 11:45   #86
LoRd_MuldeR
Major Dude
 
LoRd_MuldeR's Avatar
 
Join Date: Sep 2005
Location: Somewhere over the Slaughterhouse
Posts: 644
Thank you for the reply.

So I now have to set all texts for "inetc" manually. Fair enough. Still I wonder why the (slightly) older version didn't need such workaround.

Something must have changed between those two versions that "broke" it...

Regards,
MuldeR

My Plugins: StdUtils | NSISList | CPUFeatures | ExecTimeout | KillProc
My source of inspiration: http://youtu.be/lCwY4_0W1YI
LoRd_MuldeR is offline   Reply With Quote
Old 28th January 2013, 12:28   #87
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Birmingham, England
Posts: 8,216
You don't have to set all the texts, just the Cancel text. And giving it $(^CancelBtn) is what it would be set to anyway, so I don't see that as an issue? Yes, the way the rendering was done has changed (the old method didn't work well on Windows 8).

Stu

Need an installer? http://www.afrowsoft.co.uk
Afrow UK is offline   Reply With Quote
Old 28th January 2013, 19:42   #88
LoRd_MuldeR
Major Dude
 
LoRd_MuldeR's Avatar
 
Join Date: Sep 2005
Location: Somewhere over the Slaughterhouse
Posts: 644
Quote:
Originally Posted by Afrow UK View Post
You don't have to set all the texts, just the Cancel text. And giving it $(^CancelBtn) is what it would be set to anyway, so I don't see that as an issue?
Yeah, not a big deal - once you have figured out what to do. Still it would be preferable if no such workaround was needed. Couldn't other random things "break" in other plug-in's?

Quote:
Originally Posted by Afrow UK View Post
Yes, the way the rendering was done has changed (the old method didn't work well on Windows 8).
If Windows 8 is the (only) reason for the changed behavior, wouldn't it be easier to simply add a version check and completely disable/skip the Aero plug-in on Windows 8? I mean, in Windows 8 they have replaced the "Aero" UI with something that looks like the emulation of a computer from the 1980's. So I don't think the Aero plug-in has much of an effect on that system anyway. Or am I wrong?

My Plugins: StdUtils | NSISList | CPUFeatures | ExecTimeout | KillProc
My source of inspiration: http://youtu.be/lCwY4_0W1YI
LoRd_MuldeR is offline   Reply With Quote
Old 28th January 2013, 21:24   #89
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Birmingham, England
Posts: 8,216
This issue is specific to inetc because Takhir decided to use the existing button text rather than hard code a string. There could be other plug-ins but none that I can think of (except perhaps NSISdl).

Windows 8 doesn't have transparency but still has Aero glass (DWM Composition) so yes the plug-in does make the installer look very different. Also it was not just a fix for Windows 8 - it is a general improvement which reduces text flicker on Windows Vista/7 as well.

You can still use the old text rendering if you want to (see the readme).

Stu

Need an installer? http://www.afrowsoft.co.uk
Afrow UK is offline   Reply With Quote
Old 28th January 2013, 21:36   #90
LoRd_MuldeR
Major Dude
 
LoRd_MuldeR's Avatar
 
Join Date: Sep 2005
Location: Somewhere over the Slaughterhouse
Posts: 644
Quote:
Originally Posted by Afrow UK View Post
You can still use the old text rendering if you want to (see the readme).
I had missed that option. Thank you for pointing me at that

My Plugins: StdUtils | NSISList | CPUFeatures | ExecTimeout | KillProc
My source of inspiration: http://youtu.be/lCwY4_0W1YI
LoRd_MuldeR is offline   Reply With Quote
Old 29th January 2013, 00:42   #91
LoRd_MuldeR
Major Dude
 
LoRd_MuldeR's Avatar
 
Join Date: Sep 2005
Location: Somewhere over the Slaughterhouse
Posts: 644
Quote:
Originally Posted by LoRd_MuldeR View Post
I had missed that option. Thank you for pointing me at that
For some reason /btnold for Aero::Apply didn't have any effect on my problem, so I'll just use /CANCELTEXT with inetc.

My Plugins: StdUtils | NSISList | CPUFeatures | ExecTimeout | KillProc
My source of inspiration: http://youtu.be/lCwY4_0W1YI
LoRd_MuldeR is offline   Reply With Quote
Old 30th January 2013, 12:10   #92
habenyamin
Junior Member
 
Join Date: Nov 2012
Posts: 7
At RTL lang

Aero::Apply and BrandingText At RTL lang ?(farsi)
before Aero adding

After Aero Adding


Hide Branding under cancel and next bt
dose not work with BrandingText TRIMLEFT, /TRIMRIGHT or /TRIMCENTER (farsi)

with option /nobarding just removes BrandingText
habenyamin is offline   Reply With Quote
Old 30th January 2013, 16:52   #93
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Birmingham, England
Posts: 8,216
There is no support for RTL languages at the moment. I will have to look at it when I have time - I have other priorities at the moment I'm afraid.

Stu

Need an installer? http://www.afrowsoft.co.uk
Afrow UK is offline   Reply With Quote
Old 31st January 2013, 16:18   #94
habenyamin
Junior Member
 
Join Date: Nov 2012
Posts: 7
بسیارممنون Thank you
habenyamin is offline   Reply With Quote
Old 2nd February 2013, 19:41   #95
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Birmingham, England
Posts: 8,216
New version:
Quote:
1.0.0.9 - 2nd February 2013
* Fixed button and branding text rendering for right-to-left languages.
* Fixed bug which could cause a crash due to a variable not being initialized to NULL (only when Aero could not be enabled).
* Fixed Aero not being applied on classic UI installers with RTL languages.
http://nsis.sourceforge.net/File:Aero.zip

Stu

Need an installer? http://www.afrowsoft.co.uk
Afrow UK is offline   Reply With Quote
Old 3rd February 2013, 14:50   #96
LoRd_MuldeR
Major Dude
 
LoRd_MuldeR's Avatar
 
Join Date: Sep 2005
Location: Somewhere over the Slaughterhouse
Posts: 644
Thank you for the update!

<nitpicking> Seems like you forgot to update the version info. </nitpicking>

My Plugins: StdUtils | NSISList | CPUFeatures | ExecTimeout | KillProc
My source of inspiration: http://youtu.be/lCwY4_0W1YI
LoRd_MuldeR is offline   Reply With Quote
Old 3rd February 2013, 15:55   #97
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Birmingham, England
Posts: 8,216
Fixed.

Stu

Need an installer? http://www.afrowsoft.co.uk
Afrow UK is offline   Reply With Quote
Old 6th February 2013, 21:23   #98
habenyamin
Junior Member
 
Join Date: Nov 2012
Posts: 7
thank u so much (to fix it for RTL Lan)
habenyamin is offline   Reply With Quote
Reply
Go Back   Winamp Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump