NSIS icon indicating copy to clipboard operation
NSIS copied to clipboard

st4 support?

Open kkzhang opened this issue 1 year ago • 6 comments

i installed NSIS plugin via package control of sublime text 4, on status bar it hints "installation sucessfully", but indeed not. Nothing happend.

kkzhang avatar Feb 18 '24 05:02 kkzhang

ST4 is fully supported.

This package provides syntax highlighting and a build-system configuration to compile open NSIS file.

This package does not start any activity without user request.

For completions, you probably want to install

deathaxe avatar Feb 18 '24 07:02 deathaxe

ST4 is fully supported.

This package provides syntax highlighting and a build-system configuration to compile open NSIS file.

This package does not start any activity without user request.

For completions, you probably want to install

I tried many times, but can't make it installed by package control. Alternatively, clone repo to packages did the right job.

kkzhang avatar Feb 18 '24 08:02 kkzhang

Was able to install it immediately on Win11 ST4168 and don't see reasons why it shouldn't.

Did installation just fail or is it not listed when calling Package Control: Install Packages?

Any error messages in ST's console?

deathaxe avatar Feb 18 '24 08:02 deathaxe

Package Control: Error downloading channel. Secure channel error, server not providing SSL (errno 12157) during HTTP write phase of downloading https://packagecontrol.github.io/channel/channel_v4.json.
Package Control: pausing indexer
ignored packages updated to: ["NSIS"]
reloading settings Packages/User/Package Control.sublime-settings
reloading settings Packages/User/Preferences.sublime-settings
Package Control: Unable to download "NSIS":  Secure channel error, server not providing SSL (errno 12157) during HTTP write phase of downloading https://codeload.github.com/SublimeText/NSIS/zip/st3-2.11.0.

It looks like network failure, but i am not sure. The problem is although it fails, it still prompted that installation is successfully.

I change to another pc, install plugin by PackageControl, it works.

kkzhang avatar Feb 18 '24 09:02 kkzhang

Error 12157 indicates problems with WinInet. A possible reason may be requested TLS version or cipher being disabled via Windows registry.

Github uses TLSv1.3 with cipher TLS_AES_128_GCM_SHA256.

deathaxe avatar Feb 18 '24 10:02 deathaxe

i fixed it. Configure Internet Options - Advanced, check TLS1.2, then everything be ok. I may mistakenly modified it in the past.

kkzhang avatar Feb 19 '24 01:02 kkzhang