Giter VIP home page Giter VIP logo

unsis's People

unsis's Issues

UNSIS does not recognize .ini file in Unicode format

We added to project checkboxes.ini file.
When it file in UTF-8, unsis installer not recognize it file and does not add 
information from it file.
When it file in ANSI, unsis recognize it file, but does not work  correctly: 
see bug http://code.google.com/p/unsis/issues/detail?id=2&can=1

Original issue reported on code.google.com by [email protected] on 1 Jul 2010 at 1:51

Attachments:

Hyperlink at end of ANSI EULA is truncated

What steps will reproduce the problem?
I have an ANSI .txt EULA being loaded by MUI 1's license page. The last 
characters in the EULA are part of a hyperlink. When compiling with NSIS 
Unicode the final character is removed, making the link bad. The final 
character is a standard English character (the letter 'y'). The link location 
appears as www.opencandy.com/privacy-policy with no http prefix. 

What is the expected output? What do you see instead?
Characters should not be removed during conversion from ANSI.


What version of the product are you using? On what operating system?
2.46 on Windows 7 x64.


Please provide any additional information below.
You can reach me at diggie [at] opencandy (dotcom) if any further detail is 
required.

Original issue reported on code.google.com by [email protected] on 18 Nov 2010 at 1:11

NSIS Crash on Server 2012 R2

What steps will reproduce the problem?
1. nsis 2.46.5 
2. App hang on nsDialog::show
3.

What is the expected output? What do you see instead?

I can see the correct output, but I can't click on the buttons for exit 


What version of the product are you using? On what operating system?
nsis 2.46.5 on Server 2012 R2


Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 11 May 2015 at 3:44

NSIS 2.46.3 is reported as infected by F-Secure

What steps will reproduce the problem?
1. Download nsis-2.46.3-Unicode-setup.exe
2. Scan with F-Secure

I expect to see this file come up clean. Instead, it is reported as Spyware. 
Here's the VirusTotal scan report:

http://www.virustotal.com/file-scan/report.html?id=6e660bdcc5e10ef2f4fe9430d367f
d083d252728f2be70ed74407c10515e52a6-1317732862

This is on Windows 7, 64 bit, with F-Secure Anti-Virus 2011.

I've attached a screenshot of the scan report.

Original issue reported on code.google.com by [email protected] on 9 Oct 2011 at 10:34

Attachments:

StdIn is broken

c:\snipped\nsis-2.46.4>makensis.exe - < Examples\example1.nsi

That command prints:
Processing script file: "stdin"
Invalid command:  ■;
Error in script "stdin" on line 1 -- aborting creation process

This is nsis-2.46.4-Unicode on WinXP but I assume it is a CRT issue.



Original issue reported on code.google.com by [email protected] on 11 Mar 2012 at 6:30

Uninstaller does not work when started from Control Panel on Vista x64

What steps will reproduce the problem?
1. Compile example2.nsi sample script distributed with NSIS
2. Install on Vista x64 (tried here on Vista x64 Ultimate SP2), accepting all 
defaults
3. Open Control Panel -> Programs -> Uninstall a program
4. On the "Uninstall or change a program" page, select "NSIS Example2" and 
click "Uninstall"

Expected output would an UAC prompt followed by the NSIS uninstaller being 
started.
Instead, you get an UAC prompt followed by a Vista "Programs and Features" 
error message box with the following message:

<message box text>
"An error occurred while trying to uninstall NSIS Example2. It may have already 
been uninstalled.

Would you like to remove NSIS Example2 from the Programs and Features list?"
</message box text>

However, the uninstall information in the registry seems to be correct, and the 
uninstaller itself works fine when started manually from its path C:\Program 
Files (x86)\Example2\uninstall.exe

This problem seems to be specific to Vista x64. Everything works as expected on 
Windows XP x64 SP2 as well as on Windows 7 x64 SP1, as well as all 32-bit 
XP-and-newer x86 OSes including Vista Ultimate SP2 x86.

What version of the product are you using? On what operating system?
NSIS Unicode 2.46.5
Windows Vista Ultimate x64 SP2 + latest patches from Windows Update

Original issue reported on code.google.com by [email protected] on 18 May 2012 at 5:30

Chinese translation error

File: Contrib\Language files\Unicode\SimpChinese.nsh
"Simplified Chinese" should be translated as "简体中文" OR "中文(简体)"
,should not be translated as "简化字".

File: Contrib\Language files\Unicode\TradChinese.nsh
"Traditional Chinese" should be translated as "繁體中文" OR "中文(繁體)"
,translated into "漢語(繁體)" is not very good.

Original issue reported on code.google.com by [email protected] on 25 Jun 2011 at 4:05

Is not a valid win32 application created with v2.46.3-Unicode

What steps will reproduce the problem?
1) Create simplest installer with makensis.exe v2.46.3-Unicode
2) Run installer and see message that installer isn't valid win32 app.

What is the expected output? 
Installer runs.

What do you see instead?
Messagebox stating "... is not a valid Win32 application."

What version of the product are you using?
v2.46.3-Unicdoe

On what operating system?
Win7 Enterprise, 64bit OS

--Breaks with following .nsi:

Name "myTest"
OutFile "myTest.exe"

Section TheFirst
    File "inlcudeMe.txt"
SectionEnd

-------------------

Original issue reported on code.google.com by [email protected] on 18 Nov 2011 at 11:52

variable exported ????? with russian cyrillic characters

Hi,
What steps will reproduce the problem?
I enter in a page values to be used in a file.conf using WriteIniStr, and in a 
command line to install postgresql 8.4 with options like --superaccount 
"$TextPostgreSQLUsername (works with french, english language)


What is the expected output? What do you see instead?
the output variable in my file.conf is ??????, and postgresql is not installed 
if I used only cyrillic characters.


What version of the product are you using? On what operating system?
last 2.46 unicode on vista system (french language, tested with keyboard 
russian)

Please provide any additional information below.
I attached my nsi script to see eventually the problem.
command line and WriteIniStr used to install postgresql and modify file.conf 
are lines 433 to 439

function showpostgresql and leavepostgresql are lines :
562 623

Thanks for reply :)
Bye

Original issue reported on code.google.com by [email protected] on 23 Mar 2011 at 2:11

Attachments:

Cannot build, errors compiling tokens.cpp

What steps will reproduce the problem?
1. Run mkru.bat
2. Wait
3. See error messages

What version of the product are you using? On what operating system?

I'm trying to build unicode nsis 2.46.5 from source. I installed all that was 
required (python 2.7.6, scons 2.3.0, wxWidgets 2.8.12) and I am using Microsoft 
Visual Studio 2008 as a compiler under Windows Server 2003. I was doing all 
that said on "how to build" page (http://www.scratchpaper.com/build) starting 
from wxWidgets (it compiled fine with no errors). Then I ran this command:

C:\Python27\Scripts\scons UNICODE=yes NSIS_MAX_STRLEN=65536 NSIS_CONFIG_LOG=yes 
SKIPPLUGINS=all dist

At first everything was going fine but after a while I got loads of errors and 
build failed. These are the errors I am getting:

cl /Fobuild\urelease\makensis\tokens.obj /c Source\tokens.cpp /TP /nologo /GS- 
/O2 /EHsc /W3 /D_CRT_SECURE_NO_WARNINGS /D_CRT_NONSTDC_NO_WARNINGS 
/D_CRT_SECURE_NO_DEPRECATE /D_CRT_NON_CONFORMING_SWPRINTFS /DNSISCALL=__stdcall 
/D_UNICODE /DUNICODE /D_WIN32_IE=0x0500 /Ibuild\urelease\config tokens.cpp
Source\tokens.cpp(332) : error C2039: 'unordered_map' : is not a member of 'std'
Source\tokens.cpp(332) : error C2143: syntax error : missing ';' before '<'
Source\tokens.cpp(332) : error C4430: missing type specifier - int assumed. 
Note: C++ does not support default-int
Source\tokens.cpp(335) : error C4430: missing type specifier - int assumed. 
Note: C++ does not support default-int
Source\tokens.cpp(335) : error C2143: syntax error : missing ';' before '&'
Source\tokens.cpp(336) : error C4430: missing type specifier - int assumed. 
Note: C++ does not support default-int
Source\tokens.cpp(337) : error C2146: syntax error : missing ';' before 
identifier 'tokenMap'
Source\tokens.cpp(337) : error C4430: missing type specifier - int assumed. 
Note: C++ does not support default-int
Source\tokens.cpp(337) : error C2065: 'tokenMap' : undeclared identifier
Source\tokens.cpp(342) : error C2065: 'tokenMap' : undeclared identifier
Source\tokens.cpp(345) : error C2065: 'tokenMap' : undeclared identifier
Source\tokens.cpp(348) : error C4430: missing type specifier - int assumed. 
Note: C++ does not support default-int
Source\tokens.cpp(348) : error C2143: syntax error : missing ';' before '&'
Source\tokens.cpp(348) : error C2086: 'const int TokenMap' : redefinition
        Source\tokens.cpp(335) : see declaration of 'TokenMap'
Source\tokens.cpp(349) : error C4430: missing type specifier - int assumed. 
Note: C++ does not support default-int
Source\tokens.cpp(350) : error C4430: missing type specifier - int assumed. 
Note: C++ does not support default-int
Source\tokens.cpp(350) : error C2143: syntax error : missing ';' before '&'
Source\tokens.cpp(350) : error C2065: 'tokenMap' : undeclared identifier
Source\tokens.cpp(351) : error C2065: 'tokenMap' : undeclared identifier
Source\tokens.cpp(365) : error C4430: missing type specifier - int assumed. 
Note: C++ does not support default-int
Source\tokens.cpp(365) : error C2143: syntax error : missing ';' before '&'
Source\tokens.cpp(365) : error C2065: 'tokenMap' : undeclared identifier
Source\tokens.cpp(366) : error C2825: 'TokenMap': must be a class or namespace 
when followed by '::'
Source\tokens.cpp(366) : error C2039: 'const_iterator' : is not a member of 
'`global namespace''
Source\tokens.cpp(366) : error C2146: syntax error : missing ';' before 
identifier 'const_iterator'
Source\tokens.cpp(366) : error C2065: 'const_iterator' : undeclared identifier
Source\tokens.cpp(366) : error C2146: syntax error : missing ';' before 
identifier 'iter'
Source\tokens.cpp(366) : error C2065: 'iter' : undeclared identifier
Source\tokens.cpp(366) : error C2065: 'tokenMap' : undeclared identifier
Source\tokens.cpp(366) : error C2228: left of '.find' must have 
class/struct/union
        type is ''unknown-type''
Source\tokens.cpp(368) : error C2065: 'iter' : undeclared identifier
Source\tokens.cpp(368) : error C2065: 'tokenMap' : undeclared identifier
Source\tokens.cpp(368) : error C2228: left of '.end' must have 
class/struct/union
        type is ''unknown-type''
Source\tokens.cpp(370) : error C2065: 'iter' : undeclared identifier
Source\tokens.cpp(370) : error C2227: left of '->second' must point to 
class/struct/union/generic type
        type is ''unknown-type''
Source\tokens.cpp(370) : error C2227: left of '->name' must point to 
class/struct/union/generic type
Source\tokens.cpp(370) : error C2065: 'iter' : undeclared identifier
Source\tokens.cpp(370) : error C2227: left of '->second' must point to 
class/struct/union/generic type
        type is ''unknown-type''
Source\tokens.cpp(370) : error C2227: left of '->usage_str' must point to 
class/struct/union/generic type
Source\tokens.cpp(381) : error C4430: missing type specifier - int assumed. 
Note: C++ does not support default-int
Source\tokens.cpp(381) : error C2143: syntax error : missing ';' before '&'
Source\tokens.cpp(381) : error C2065: 'tokenMap' : undeclared identifier
Source\tokens.cpp(382) : error C2825: 'TokenMap': must be a class or namespace 
when followed by '::'
Source\tokens.cpp(382) : error C2039: 'const_iterator' : is not a member of 
'`global namespace''
Source\tokens.cpp(382) : error C2146: syntax error : missing ';' before 
identifier 'const_iterator'
Source\tokens.cpp(382) : error C2065: 'const_iterator' : undeclared identifier
Source\tokens.cpp(382) : error C2146: syntax error : missing ';' before 
identifier 'iter'
Source\tokens.cpp(382) : error C2065: 'iter' : undeclared identifier
Source\tokens.cpp(382) : error C2065: 'tokenMap' : undeclared identifier
Source\tokens.cpp(382) : error C2228: left of '.find' must have 
class/struct/union
        type is ''unknown-type''
Source\tokens.cpp(384) : error C2065: 'iter' : undeclared identifier
Source\tokens.cpp(384) : error C2065: 'tokenMap' : undeclared identifier
Source\tokens.cpp(384) : error C2228: left of '.end' must have 
class/struct/union
        type is ''unknown-type''
Source\tokens.cpp(391) : error C4430: missing type specifier - int assumed. 
Note: C++ does not support default-int
Source\tokens.cpp(391) : error C2143: syntax error : missing ';' before '&'
Source\tokens.cpp(391) : error C2065: 'tokenMap' : undeclared identifier
Source\tokens.cpp(392) : error C2825: 'TokenMap': must be a class or namespace 
when followed by '::'
Source\tokens.cpp(392) : error C2039: 'const_iterator' : is not a member of 
'`global namespace''
Source\tokens.cpp(392) : error C2146: syntax error : missing ';' before 
identifier 'const_iterator'
Source\tokens.cpp(392) : error C2065: 'const_iterator' : undeclared identifier
Source\tokens.cpp(392) : error C2146: syntax error : missing ';' before 
identifier 'iter'
Source\tokens.cpp(392) : error C2065: 'iter' : undeclared identifier
Source\tokens.cpp(392) : error C2065: 'tokenMap' : undeclared identifier
Source\tokens.cpp(392) : error C2228: left of '.find' must have 
class/struct/union
        type is ''unknown-type''
Source\tokens.cpp(394) : error C2065: 'iter' : undeclared identifier
Source\tokens.cpp(394) : error C2065: 'tokenMap' : undeclared identifier
Source\tokens.cpp(394) : error C2228: left of '.end' must have 
class/struct/union
        type is ''unknown-type''
Source\tokens.cpp(396) : error C2065: 'iter' : undeclared identifier
Source\tokens.cpp(396) : error C2227: left of '->second' must point to 
class/struct/union/generic type
        type is ''unknown-type''
Source\tokens.cpp(396) : error C2227: left of '->num_parms' must point to 
class/struct/union/generic type
Source\tokens.cpp(397) : error C2065: 'iter' : undeclared identifier
Source\tokens.cpp(397) : error C2227: left of '->second' must point to 
class/struct/union/generic type
        type is ''unknown-type''
Source\tokens.cpp(397) : error C2227: left of '->opt_parms' must point to 
class/struct/union/generic type
Source\tokens.cpp(398) : error C2065: 'iter' : undeclared identifier
Source\tokens.cpp(398) : error C2227: left of '->second' must point to 
class/struct/union/generic type
        type is ''unknown-type''
Source\tokens.cpp(398) : error C2227: left of '->index' must point to 
class/struct/union/generic type
Source\tokens.cpp(399) : error C2065: 'iter' : undeclared identifier
Source\tokens.cpp(399) : error C2227: left of '->second' must point to 
class/struct/union/generic type
        type is ''unknown-type''
Source\tokens.cpp(399) : error C2227: left of '->id' must point to 
class/struct/union/generic type
scons: *** [build\urelease\makensis\tokens.obj] Error 2
scons: building terminated because of errors.

Original issue reported on code.google.com by [email protected] on 27 Nov 2013 at 10:32

nsis installer crash on server 2012 essentials.

What steps will reproduce the problem?

1. Start the nsis installer package on server 2012 essentials.

2. The installer may be exit suddenly(crash?) after call "system::call 
mydllfunction", "rmdir /r directory/" or "file /r directory/*" etc.
but from the mydllfunction's log, the mydllfunction work very well.

3. If the nsis installer exit(or crash?), the OS has no error message but there 
are some relative the eventlogs.

4. The installer can work very well on platform of windows server 2012 standard 
and win7 pro.

5. Sees attached log and files.

What is the expected output? What do you see instead?
I expect to find the reason of above-mentioned problem and resolve it.

What version of the product are you using? On what operating system?

nsis version: nsis-2.46.2-Unicode-setup-logging.exe
OS: windows server 2012 essentials

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 31 Oct 2013 at 10:20

Attachments:

nsi/nsh file opening is always displayed regardless of the verbosity level

Currently the logs are full of messages about the encoding of the included 
files. 

This happens regardless of the verbosity option. I do think that only /V3 or 
even only /V4 should show them.

The /V switch followed by a number between 0 and 4 will set the verbosity of 
output accordingly. 0=no output, 1=errors only, 2=warnings and errors, 3=info, 
warnings, and errors, 4=all output.


Original issue reported on code.google.com by [email protected] on 25 Jul 2013 at 12:57

Welsh.nlf language id is incorrect

The Welsh.nlf file contains the lines:

# Language ID
1160

It should be:

# Language ID
1106

I've attached my Welsh.nlf. I'll submit this issue to NSIS main project too.

Diolch!

Original issue reported on code.google.com by [email protected] on 17 Dec 2010 at 3:48

Attachments:

can't open inpu file

1. I have a big installer and just trying to test unicode plugin. So here:

        StrCpy $7 "D:\xasd.txt"
        unicode::UnicodeType "$7"
        Pop $8

        FileOpen $9 "D:\check_type.txt" w
            FileWrite $9 $8
        FileClose $9

2. All the time I get 6 in the check_type. I don't understand why. (xasd.txt is 
already created)

What is the expected output? What do you see instead?
"NONE" etc.

What version of the product are you using? On what operating system?
unicode plugin 1.1

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 26 Jun 2014 at 3:59

Wrong UninstallBtn in "Lithuanian" language

What steps will reproduce the problem?
1. Change word "Atšaukti" to "Šalinti"

What is the expected output? What do you see instead?
Expected output: Šalinti

What version of the product are you using? On what operating system?
2.46.1

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 2 Oct 2012 at 7:38

Patch for /Contrib/Language files/Unicode/Armenian.nsh

Some corrections, to fit currently used terms in Armenian and for better 
understanding.
Examples:
Term "թղթապանակ" is proposed to be changed everywhere to 
"ֆայլապանակ", since
"թղթապանակ" refers to the paper folder, while "ֆայլապանակ" 
shows that this is computer-related - file folder.
Uninstall (Տեղահանել) made different from delete (Ջնջել) 
(Ջնջել was used everywhere before).

Original issue reported on code.google.com by [email protected] on 23 Aug 2013 at 7:53

Attachments:

cannot !packhdr with UPX: superfluous data between sections

What steps will reproduce the problem?
1. Put upx.exe to a location searchable in %PATH%
2. Put !packhdr "$%TEMP%\exehead.tmp" 'upx --best "$%TEMP%\exehead.tmp"' line 
in the beginning of example1.nsi
3. Compile example1.nsi

What is the expected output? What do you see instead?
UPX should compress exehead.tmp correctly, but UPX raise "superfluous data 
between sections" with Unicode NSIS 2.46.5

What version of the product are you using? On what operating system?
Unicode NSIS 2.46.5, WinXP SP3.

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 27 Nov 2013 at 2:52

cannot support long path over 260 characters

When a file's full path name is over 260 characters, NSIS will show "File: 
failed opening file..."

OS:Win7x64
NSIS:2.46.5 Unicode


PS:I use NSIS make up a eclipse RCP product, many files have a long file name 
such like 
"...\features\org.eclipse.mylyn_feature_3.6.5.v20120215-0100\META-INF\maven\org.
eclipse.mylyn.tasks\org.eclipse.mylyn_feature\pom.properties"

Original issue reported on code.google.com by [email protected] on 4 Feb 2013 at 6:40

!searchreplace broken

am running into a little problem with latest Unicode NSIS (v2.46.4) release:

My code looks like this:

    code:!searchreplace PRODUCT_VERSION_DATE "${LAMEXP_DATE}" "-" "."



LAMEXP_DATE contains something like "2012-03-10"

The expected output in PRODUCT_VERSION_DATE is "2012.03.10" (right?), but I 
only get "2012."

Went back to Maknsis.exe from Unicode NSIS v2.46.3 release and the issue is 
gone.

Can you look into this? Thanks! 

Original issue reported on code.google.com by [email protected] on 12 Mar 2012 at 3:28

WriteFile produces ANSI file

What steps will reproduce the problem?
1. FileOpen $0 C:\tmp\test.txt" w
2. FileWrite $0 "語言"
3. FileClose $0

What is the expected output? What do you see instead?
I expect C:\tmp\test.txt to contain the chinese text. Instead, I only see two 
questionmarks in the file.

What version of the product are you using? On what operating system?
NSIS 2.46 Unicode on Windows 7, 32-bit.

Please provide any additional information below.
My script file is in utf-8 encoding.



Original issue reported on code.google.com by [email protected] on 5 Oct 2010 at 1:59

There is an extra "\" word in the welcome page

What steps will reproduce the problem?
1. Welcome Page

What is the expected output? What do you see instead?
Right:......這將允許「安裝程式」更新指定的系統......
Wrong:......這將允許\「安裝程式」更新指定的系統......

What version of the product are you using? On what operating system?
Version is 2.46.3a
Windows 7 professional 32bit

Please provide any additional information below.
The file locates C:\Program Files\NSIS\Unicode\Contrib\Language 
files\TradChinese.nsh

Original issue reported on code.google.com by [email protected] on 4 May 2012 at 6:41

NSIS installation crash for ~10% of my installation attempts.

What steps will reproduce the problem?
1. Start the installer of the software you packed with Unicode NSIS.
2. U-NSIS installer deploys "nsProcess.dll" file under 
C:\Users\[user_name]\AppData\Local\Temp\ns???.tmp\. Note that nsProcess.dll is 
used later by the installer during the installation process.
3. If the processor workload is high, deployment of nsProcess.dll takes longer 
and NSIS installer can't find it. Eventually the installation ends with a crash.

What is the expected output? What do you see instead?
NSIS installer should wait until the nsProcess.dll is copied properly and the 
installation process should be successful.

What version of the product are you using? On what operating system?
Unicode NSIS 2.46 on 64bit Win7.

Please provide any additional information below.
- We have been using the same NSIS script with U-NSIS 2.35 and everything works 
perfect.
- This issue repro'es also with ANSI-NSIS. 
- This issue is not consistent; it reveals for ~5-10% of the installation 
attempts. 

Original issue reported on code.google.com by [email protected] on 6 Jan 2011 at 11:30

Missing Commands

What steps will reproduce the problem?
1. When run makensis.exe /CMDHELP

Only show the abort command

This occur in NSIS Unicode 2.46.2


This is the complete output:

MakeNSIS v2.46.2-Unicode - Copyright 1995-2009 Contributors
See the file COPYING for license details.
Credits can be found in the Users Manual.

Abort [message]

Original issue reported on code.google.com by [email protected] on 16 Sep 2011 at 4:53

Error of Test installer with HM VNISEdit

Hi:

I use HM VNISEdit with Unicode-NSIS to build a setup package today .
I press "compile and run" , packing process was fine , but run test was failed .
There is the popup message : "Win32 error  Code:2  .  Can not find the file "

HM VNISEdit with ANSI-NSIS works fine , but I need unicode support .

Hope there will be a solution .

Best regards




Original issue reported on code.google.com by [email protected] on 26 Jul 2010 at 12:56

Uninstaller written by signed installer not signeable.

What steps will reproduce the problem?

1. Compile an installer which writes an uninstaller.
2. Sign the installer.
3. Call it to create the uninstaller.
4. Try to sign the uninstaller. 

What is the expected output?
A signeable uninstaller.

What do you see instead?
The sign tool gives an error message:
SignTool Error: SignedCode::Sign returned error: 0x80070057

What version of the product are you using? On what operating system?
NSIS v2.46.5-Unicode
Windows 7 Ultimate Service Pack 1 64-bit
SignTool.exe 6.1.760016385

Please provide any additional information below.

If I do not sign the installer, I can sign the uninstaller.
The tool Stud_PE shows differences in the PE structure:
The not signable uninstaller has different checksum and an entry in the 
certificate table.
I attach a little script which i used to determine the source of the issue.

Original issue reported on code.google.com by [email protected] on 17 Sep 2012 at 11:57

Attachments:

Wrong modification with UTF-8 (with BOM) INI and WriteINIStr

What steps will reproduce the problem?
1. Create an ini-file on disk with a ini-section right at the beginning of the 
file. Save it as UTF-8 with BOM.
2. Create an nsis script which modifies the first ini-section with WriteINIStr.
3. run the nsis-script.

What is the expected output? What do you see instead?
I expect to have a valid ini-file with a ini-section that occurs only once. But 
the section occurs twice.  

What version of the product are you using? On what operating system?
NSIS Version 2.46 on Win XP, Win 7 (32 and 64 Bit)

Please provide any additional information below.
I think the problem is, that nsis reads the ini-file as ASCII and so reads the 
first line with BOM and section thus it is not recognized as the requested 
section-name. Therefor it creates a new section. The problem does not occur if 
the first line is empty!

Original issue reported on code.google.com by [email protected] on 7 Sep 2010 at 11:21

Problem with russian language

What steps will reproduce the problem?
1. Create Russian.nsh (in UTF-8)
2. Add to it 'LangString desctopIcons ${LANG_RUSSIAN} "Добавить на 
рабочий
стол"'
2. Add '!include "Russian.nsh"' to installer
3. Build and run installer

Instead of Russian words i see ????? ???? ????????

We use NSIS 2.46 Unicode version.

See attachment.


Original issue reported on code.google.com by [email protected] on 2 Jun 2010 at 11:02

Attachments:

Swedish translation

As the Swedish translator of FreeFileSync, I would like to suggest a small, but 
in my opinion important, cosmetic change to your installer translation.
It´s not that the present translation is wrong, it's just too long, and in 
Swedish text we never use all caps on every word. 
So I would suggest "Acceptera" instead of the present "Jag Godkänner" 
(screenshot attached).

Thanks
eson57

Original issue reported on code.google.com by [email protected] on 5 Feb 2013 at 1:48

Attachments:

A certain script makes uninstaller a not valid win32 aplication

What steps will reproduce the problem?
1. Write a nsi script, or just edit the example2.nsi
2. Page part like this

Page instfiles
UninstPage uninstConfirm
UninstPage instfiles

3. do not add more pages

What is the expected output? What do you see instead?
Everything should be fine. However, after installation and launching the 
uninstaller, it appears that the uninstaller is not a valid win32 aplication, 
and its size is 50KB.


What version of the product are you using? On what operating system?
NSIS 2.46.5 Unicode, on Windows 7 sp1.

Please provide any additional information below.
if add any page, like

Page directory
Page instfiles
UninstPage uninstConfirm
UninstPage instfiles

or

Page instfiles
UninstPage uninstConfirm
UninstPage components
UninstPage instfiles

the uninstaller would be just OK with a size of 51kb or more.

Original issue reported on code.google.com by [email protected] on 27 Jun 2012 at 1:14

MUI_UNPAGE_CONFIRM does not wait for input

MUI_UNPAGE_CONFIRM does not wait for accepting or canceling just starts 
Uninstall section.

some parts of my nsh:
...
!include "MUI2.nsh"
...
!insertmacro MUI_UNPAGE_CONFIRM
!insertmacro MUI_UNPAGE_INSTFILES
...
Function un.onInit
  nsExec::Exec "$INSTDIR\skydns-agent.exe -p uninstall"
  Pop $0
  ${If} $0 == "error"
  ${OrIf} $0 == "timeout"
  ${OrIf} $0 = 100
    Goto +3
  ${EndIf}
  Abort
FunctionEnd



Original issue reported on code.google.com by rion4ik on 25 Jun 2012 at 12:44

WriteUninstaller writes an invalid Win32 appliation with 2.46.5

What steps will reproduce the problem?

# Create a very small uninstaller.

OutFile "$%temp%\install.exe"
Section
SectionEnd
Function .onInit
    WriteUninstaller "$%temp%\uninstall.exe"
FunctionEnd
Section Uninstall
    Delete "$%temp%\install.exe"
    Delete "$%temp%\uninstall.exe"
SectionEnd

What is the expected output?
A valid Win32 uninstall.exe.

What do you see instead?
An invalid Win32 uninstall.exe.


What version of the product are you using? On what operating system?
Unicode NSIS 2.46.5 with Windows 7 64 Bit

Please provide any additional information below.
Same problem like issue 16, but for the uninstaller?


Original issue reported on code.google.com by [email protected] on 29 Aug 2012 at 2:22

  • Merged into: #24

Installer breaks on Windows 8 with ASLR.

What steps will reproduce the problem?
1. Use Windows 8
2. Enable ASLR either through the registry or EMET.
3. Launch an installer

What is the expected output? What do you see instead?
I expect the installer to start. Instead it immediately fails. See:

http://dl.dropbox.com/u/102011983/Untitled2.png

and 

http://dl.dropbox.com/u/102011983/cloudfogger.png

What version of the product are you using? On what operating system?
Not sure of version. Maybe latest? This is on Windows 8.

Please provide any additional information below.
System wide ASLR is enabled through a registry setting or EMET:

http://dl.dropbox.com/u/102011983/Untitled.png

I've only seen this with foobar2000 and Cloudfogger but some other installers 
may have issues. I'm posting here as I got redirected from here: 
http://www.hydrogenaudio.org/forums/index.php?showtopic=96936

Original issue reported on code.google.com by [email protected] on 11 Sep 2012 at 11:29

When use UserMgr::CreateAccountEx, it failed.

What steps will reproduce the problem?
1. code:
UserMgr::CreateAccountEx "user" "pwd" "description" "user" "user" 
"UF_PASSWD_CANT_CHANGE|UF_DONT_EXPIRE_PASSWD"
Pop $0
MessageBox MB_OK "CreateUser Result : $0"
2. it failed to create count "user".

What is the expected output? What do you see instead?
$0, is confusion code

What version of the product are you using? On what operating system?
2.46 & windows xp x64 en sp1

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 5 Aug 2011 at 9:54

Attachments:

Patch for /Contrib/Language files/Unicode/Armenian.nlf

Some corrections, to fit currently used terms in Armenian and for better 
understanding.
Examples:
Term "թղթապանակ" is proposed to be changed everywhere to 
"ֆայլապանակ", since
"թղթապանակ" refers to the paper folder, while "ֆայլապանակ" 
shows that this is computer-related - file folder.

Uninstall (Տեղահանել) made different from delete (Ջնջել) 
(Ջնջել was used everywhere before).


Original issue reported on code.google.com by [email protected] on 22 Aug 2013 at 9:11

Attachments:

MakeNSIS does not output unicode

It seems like makensis does a conversion to char* at some point, a simple 
UTF16LE .nsi with some non-ascii characters do not make it all the way from 
input to output without a conversion that corrupts it.

Test script:
!echo "ĦĔĹĽΘ ŴØŖĿĎ" ;I don't know if the issue tracker can handle 
this so I also attached the script
!error AbortTest

Output from makensis.exe test.nsi:
--snipped--
Processing script file: "test.nsi"
????? ?╪??? (test.nsi:1)
!error: AbortTest
--snipped--

type test.nsi shows the correct output.

cmd.exe is running with a true type font (Lucida Console). I also tried running 
chcp 65001 first but that did not help...


Original issue reported on code.google.com by [email protected] on 11 Mar 2012 at 8:21

Attachments:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.