Menu

#1171 the '/OEM" switch is broken for nsExec::ExecToLog

3.0 Series
closed-fixed
nobody
None
5
2017-01-15
2017-01-08
No

I want to use "Unicode true" mode and also I run "sc.exe" during install, on russian windows it outputs in cp866, so I used to use /OEM to make output look shine, here's sample nsis script

!include "MUI.nsh"

Name "example"
OutFile "example.exe"
;Unicode true

!insertmacro MUI_LANGUAGE "Russian"

Section
  nsExec::ExecToLog /OEM '"$SYSDIR\sc.exe" query'
SectionEnd

I attached couple of screenshots (nsis-2.50 and nsis-3.01)

2 Attachments

Discussion

  • Ilia Chipitsine

    Ilia Chipitsine - 2017-01-08

    nsis3 screenshot is produced with "Unicode true" uncommented

     
  • Anders

    Anders - 2017-01-10

    It looks like the Unicode version does not check the OEM flag when doing a conversion, this should be easy to fix...

     
  • Anders

    Anders - 2017-01-15
    • status: open --> closed-fixed
     
  • Ilia Chipitsine

    Ilia Chipitsine - 2017-01-15

    thank you for the fix.
    when it is going to be released?

    also, I did not find any CI, I should build snapshot by myself?

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.