|
|
|
|
#1 |
|
Major Dude
Join Date: Oct 2006
Posts: 1,892
|
So, I guess it's unlikely that there will ever be a new version of NSIS, then?
|
|
|
|
|
|
#2 |
|
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,442
|
We can still do ansi builds...
IntOp $PostCount $PostCount + 1 |
|
|
|
|
|
#3 |
|
Senior Member
Join Date: Mar 2005
Posts: 186
|
Except for on Linux (needs tchar.h)... hmm, mingw-w64 has tchar.h, I guess the cross-compile checks are in need of an update for the new toolchains.
bye, pabs |
|
|
|
|
|
#4 |
|
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,442
|
I'm going to try to fix all the ansi problems, but I'm not sure if we should move to mingw-w64 or stick with the original. Anyways, we probably need our own tchar.h or hacks in platform.h since not all compilers/CRT agree on how swprintf works.
IntOp $PostCount $PostCount + 1 |
|
|
|
|
|
#5 |
|
Junior Member
Join Date: Jun 2011
Posts: 4
|
Hello all,
Is there any way to enable High-DPI awareness in an NSIS Unicode installer? Currently it seems to rely on display scaling in Windows 7 which does not look really good on high-DPI screens. High-DPI awareness requires a manifest as describe in the article at: http://msdn.microsoft.com/en-us/libr...(v=vs.85).aspx (Declaring DPI Awareness) I tried to use mt.exe to apply the DeclareDPIAware.manifest but after that I get a message that the installer integrity check failed. If this is not currently supported, could this be considered for an upcoming version? Thank you. |
|
|
|
|
|
#6 | |
|
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,442
|
Quote:
A) Use !packhdr and resource hacker to change the manifest (Or maybe mt.exe, who knows) B) Recompile from source IntOp $PostCount $PostCount + 1 |
|
|
|
|
|
|
#7 |
|
Junior Member
Join Date: Jun 2011
Posts: 4
|
Thanks Anders,
system::call 'user32::SetProcessDPIAware()' in .onInit and un.onInit seems to work just fine. Some text looks a bit small but this should be ok for now. |
|
|
|
|
|
#8 | ||
|
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,442
|
Quote:
Quote:
And you need to rename Call.S to Call.sx if you want to compile system.dll I did not add the substart change to SVN since it is a bit of a hack, it would be better if we actually fixed the SCons stuff. Not sure what to do about the Call.S issue, it might be SCons/MinGW version specific. IntOp $PostCount $PostCount + 1 |
||
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|