I'm using v2.46.5-Unicode and I used CreateMutexW.
I choose to be explicit. :-)
Thanks to you all. specially to LoRd_MuldeR that guide me to the right way. 🙂
Farsi language bad encoding
41 posts
Why are you using the Unicode fork? NSIS 3 has better automatic handling of the t type.
If you are forcing the W suffix then you should not be using the t type, you should force the string type as well. Using t with no suffix should work with all versions...
If you are forcing the W suffix then you should not be using the t type, you should force the string type as well. Using t with no suffix should work with all versions...
Thanks. I will use CreateMutex without suffix.
Now I want to compile NSIS in Linux to use with cross compiler to get rid of Wine.
do you recommend NSIS 3? I'm asking again because in this PAGE I see that it is pre release!
and if I have to compile version 2.46 for example, how can I build a Unicode version? is the code different for Ansi and Unicode? or its about compile options?
I appreciate your patience.
Now I want to compile NSIS in Linux to use with cross compiler to get rid of Wine.
do you recommend NSIS 3? I'm asking again because in this PAGE I see that it is pre release!
and if I have to compile version 2.46 for example, how can I build a Unicode version? is the code different for Ansi and Unicode? or its about compile options?
I appreciate your patience.
NSIS 3 = NSIS 2.46 + Unicode fork + bugfixes
Also, I helped do the NSIS 3 linux fixing and testing a year or two ago, this was the main reason for it transitioning from alpha to beta status.
NSIS 3 has a few extra options added over NSIS 2, the main one being Unicode True / False. makensis.exe is compiled as unicode, but it can output both ansi and unicode installers.
NSIS 3 has a few extra options added over NSIS 2, the main one being Unicode True / False. makensis.exe is compiled as unicode, but it can output both ansi and unicode installers.
I'm compiling NSIS(nsis-3.0b1-src) in OpenSUSE. I have installed scons, python and zlib and zlib-devel. when I try this:
scons XGCC_W32_PREFIX=i686-w64-mingw32
it says that I have to specify ZLIB_W32.
the output of "whereis zlib" is:
zlib: /usr/include/zlib.h /usr/share/man/man3/zlib.3.gz /usr/share/man/mann/zlib.n.gz
when I use this for example:
scons XGCC_W32_PREFIX=i686-w64-mingw32 ZLIB_W32=/usr/include/
It says "zlib (win32) is missing."
What do I missing?
scons XGCC_W32_PREFIX=i686-w64-mingw32
it says that I have to specify ZLIB_W32.
the output of "whereis zlib" is:
zlib: /usr/include/zlib.h /usr/share/man/man3/zlib.3.gz /usr/share/man/mann/zlib.n.gz
when I use this for example:
scons XGCC_W32_PREFIX=i686-w64-mingw32 ZLIB_W32=/usr/include/
It says "zlib (win32) is missing."
What do I missing?
I've also tried installing "mingw32-zlib" "mingw32-zlib-devel", checking maybe these should be installed instead of "zlib" and "zlib-devel".
Try adding this to the command line: SKIPUTILS='zip2exe'.
The windows zlib files are only required for zip2exe under linux, I'm working on a port of zip2exe to remove this requirement.
If you get an error about nsis menu, try: SKIPUTILS='zip2exe','NSIS Menu'. wxWidgets is used for NSIS Menu, so this can be skipped if you don't want to install wxWidgets.
The windows zlib files are only required for zip2exe under linux, I'm working on a port of zip2exe to remove this requirement.
If you get an error about nsis menu, try: SKIPUTILS='zip2exe','NSIS Menu'. wxWidgets is used for NSIS Menu, so this can be skipped if you don't want to install wxWidgets.
great, that worked.and I didn't get any other errors.
now that it builds successfully, how can I install it?
I did copy created "share" folder to "/usr/share" and created "bin/makensis" to "/usr/bin", but it didn't work.
now that it builds successfully, how can I install it?
I did copy created "share" folder to "/usr/share" and created "bin/makensis" to "/usr/bin", but it didn't work.
Ok, I get it, Just have to do this:
ln -s /full/path/of/extracted/source/bin/makensis /usr/local/bin/makensis
Thanks.
ln -s /full/path/of/extracted/source/bin/makensis /usr/local/bin/makensis
Thanks.
Add 'install' to the command line, that will add the compiled files into the required directories.