nsis | nsis -- please report issues there * * * NSIS | DevOps library

 by   kichik C++ Version: v308 License: Non-SPDX

kandi X-RAY | nsis Summary

kandi X-RAY | nsis Summary

nsis is a C++ library typically used in Devops, Qt5 applications. nsis has no bugs, it has no vulnerabilities and it has low support. However nsis has a Non-SPDX License. You can download it from GitHub.

NSIS (Nullsoft Scriptable Install System) is a professional open source system to create Windows installers. It is designed to be as small and flexible as possible and is therefore very suitable for internet distribution.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              nsis has a low active ecosystem.
              It has 494 star(s) with 113 fork(s). There are 27 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              nsis has no issues reported. There are 5 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of nsis is v308

            kandi-Quality Quality

              nsis has 0 bugs and 0 code smells.

            kandi-Security Security

              nsis has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              nsis code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              nsis has a Non-SPDX License.
              Non-SPDX licenses can be open source with a non SPDX compliant license, or non open source licenses, and you need to review them closely before use.

            kandi-Reuse Reuse

              nsis releases are not available. You will need to build from source code and install.
              It has 6903 lines of code, 83 functions and 21 files.
              It has high code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of nsis
            Get all kandi verified functions for this library.

            nsis Key Features

            No Key Features are available at this moment for nsis.

            nsis Examples and Code Snippets

            No Code Snippets are available at this moment for nsis.

            Community Discussions

            QUESTION

            Micronaut application built with Launch4J not launching
            Asked 2022-Mar-30 at 13:25

            I have successfully ported my desktop application from Dagger/Spring to Micronaut/Spring (there's just way too much Spring code in there for me to be able strip it all out in a timely manner). Using Micronaut and PicoCLI everything is working beautifully in Eclipse/Gradle. It's launching, tests are passing, so now I want to do a build and install it to make sure that everything will work for our customer.

            Our build (via Gradle) uses Shadow (com.github.johnrengelman.shadow) to combine our application with all of its dependencies into a single Jar file. I've checked and all expected dependencies appear to be present, and from the look of it the generated Micronaut classes are also present in the shadow jar. We then use Launch4J to make this shadow jar executable. From everything that I can tell, the output from Launch4J looks to be correct, however when I try to run the installed application, the splash screen appears for a fraction of a second and that's it. When I run the Launch4J generated executable as a jar file, I get the following:

            ...

            ANSWER

            Answered 2022-Mar-30 at 13:25

            I haven't been able to find any information for using launch4j with more than 65535 files (i.e.: something like the shadowJar zip64 flag), nor really much of any information in this regard in general for that matter. However one solution that works for me, is to set dontWrapJar to true. This creates a tiny launcher for running the created jar file with the bundled JRE, rather than converting the entire jar, keeping all (or at least the majority of) the files out of the launch4j generated executable. The updated gradle task is as follows

            Source https://stackoverflow.com/questions/71593058

            QUESTION

            Setup file cannot be installed on other computers
            Asked 2022-Mar-16 at 11:52

            I created an installer file using nsis. After running the programme on my system, it worked flawlessly but when installed on third party system, it complained on launching the app.

            ...

            ANSWER

            Answered 2022-Mar-16 at 11:52

            Here are the steps taken to solve the problem.

            1. I printed the working directory.

            Source https://stackoverflow.com/questions/71484050

            QUESTION

            Adding icon in electron app throw Error: spawn UNKNOWN
            Asked 2022-Mar-05 at 18:12

            electron-builder.yml

            ...

            ANSWER

            Answered 2022-Mar-05 at 18:12

            I believe I had this error once, the simple fix is replacing the icon as the one I had was somehow corrupted. Just re-create the .ico icon and add it.

            Funny how things break on their own and it's not your fault.

            Source https://stackoverflow.com/questions/71264614

            QUESTION

            cannot find module 'sqlite3' after build exe with electron-builder
            Asked 2022-Mar-03 at 12:19

            I have build my electron app with help of https://medium.com/jspoint/packaging-and-distributing-electron-applications-using-electron-builder-311fc55178d9

            it was was success (windows only). but after install published app, i am getting error as shown in screenshort

            my scripts as below

            package.json

            ...

            ANSWER

            Answered 2022-Mar-03 at 12:19

            If sqlite3 is required during normal operation of your Electron application and not just during development then you will need to added sqlite3 as a dependency.

            IE: Move "sqlite3": "^5.0.2" from "devDependencies": { ... } to "dependencies": { ... }.

            package.json

            Source https://stackoverflow.com/questions/71265088

            QUESTION

            NSIS Installer error - Not enough memory resources available to process this command
            Asked 2022-Feb-25 at 18:44

            I have created an installer using NSIS package to install my own software along with some 3rd party softwares such as Notepad++ and winPython. Batch scripts are being run to install notepad++ and winPython. The winPython which is packaged into the installer is in a zipped format "winPython3940.7z". This is being unzipped into a folder as a part of the installer using the following .nsh script.

            ...

            ANSWER

            Answered 2022-Feb-25 at 18:44

            That message is not coming from NSIS, it must be from something inside your batch file, perhaps 7-Zip.

            There is no reason to use a batch file to delete something, just use NSIS:

            Source https://stackoverflow.com/questions/71265799

            QUESTION

            NSIS DELETE all files by extension
            Asked 2022-Feb-21 at 12:52

            I'm trying to delete all files with a specific extension in a folder. I found this question on how to get all txt files and I thought about using that to get all files by extension and removing them, but I'm not sure how to do that.

            ...

            ANSWER

            Answered 2022-Feb-21 at 12:52

            There is no difference between listing and deleting files:

            Source https://stackoverflow.com/questions/68962649

            QUESTION

            NSIS FileRead conditional override
            Asked 2022-Feb-19 at 13:45

            I should please need your help as I am not a programmer (please have mercy with me). I should need to add in an existing NSIS script a function that does the following:

            Checks the presence of a value called 169.254.1.1 into a INI file named myfile.ini and placed in

            c:\mydirectory

            Should it find this value into myfile.ini it should not do anything else (i.e. let the script do the next steps).

            Should it NOT find this value into myfile.ini it should override the file

            with another one by silently copying it from c:\dummyfile\myfile.ini

            and then let the script do the next steps.

            I do not know how to tell NSIS to do this, may I please ask for your help?

            Thanks in advance for your expertise.

            Meleena.

            ...

            ANSWER

            Answered 2022-Feb-19 at 13:45

            If your file is an actual .INI file with [sections] then you can just use the INI functions:

            Source https://stackoverflow.com/questions/71180778

            QUESTION

            CMake CPack NSIS How to pass install location to project?
            Asked 2022-Feb-09 at 02:35

            I have a project written in C. Currently it's using UNIX makefiles to compile itself for Linux, but recently I've been looking into CMake, to be more portable.

            The executable, when running, needs to access some asset files that are part of the project. When using makefiles, I would just compile the project with:

            ...

            ANSWER

            Answered 2022-Feb-09 at 02:35

            For anyone stuck in a similar problem, I found one solution.

            Upon looking online, this seems to be something not recommended for Unix systems, and setting the install location during compilation is pretty standard.

            For windows, however, I found the function GetModuleFileNameW (GetModuleFileNameW function (libloaderapi.h)).

            It returns the path to the current executable (something like C:\Program Files\\bin\my-app.exe). I've confirmed it returns the right path, even when I install the project on different directories. It returns the result using wchar_t, so unicode directories are also supported.

            Here is a small example of how it can be used:

            Source https://stackoverflow.com/questions/70755411

            QUESTION

            Importing .Reg File Targeting HKEY_CURRENT_USER Creates Additional Entries In Other Hives
            Asked 2022-Feb-01 at 04:53

            I need help understanding the registry entries that Windows creates when I attempt to write keys to HKEY_CURRENT_USER by importing a .reg file.

            I have written an installer in NSIS that installs the software for a standard user and does not require Admin authentication. The installer installs the software for the current user only.

            My software contains two DLLs that use COM so they must be registered. However, since my installer does not request Admin authentication, I cannot use regasm. Rather, I am using the .reg file import technique described in this post:

            Registering .Net COM DLLs without Admin rights / regasm

            Effectively, I am running RegAsm with the /regfile switch to create a .reg file. I then replace all instances of

            [HKEY_CLASSES_ROOT\

            with

            [HKEY_CURRENT_USER\

            These are the keys that RegAsm creates with HKEY_CLASS_ROOT (which I then replaced with HKEY_CURRENT_USER):

            [HKEY_CURRENT_USER\Software\Classes\MyDllLibrary.clsMyClass] [HKEY_CURRENT_USER\Software\Classes\MyDllLibrary.clsMyClass\CLSID] [HKEY_CURRENT_USER\Software\Classes\CLSID{3B8612DE-E333-31D5-86DA-9ED6D4B14A1C}] [HKEY_CURRENT_USER\Software\Classes\CLSID{3B8612DE-E333-31D5-86DA-9ED6D4B14A1C}\InprocServer32] [HKEY_CURRENT_USER\Software\Classes\CLSID{3B8612DE-E333-31D5-86DA-9ED6D4B14A1C}\InprocServer32\1.0.0.0] [HKEY_CURRENT_USER\Software\Classes\CLSID{3B8612DE-E333-31D5-86DA-9ED6D4B14A1C}\ProgId] [HKEY_CURRENT_USER\Software\Classes\CLSID{3B8612DE-E333-31D5-86DA-9ED6D4B14A1C}\Implemented Categories{62C8FE65-4EBB- [HKEY_CURRENT_USER\Software\Classes\MyDllLibrary.clsMyClass2] [HKEY_CURRENT_USER\Software\Classes\MyDllLibrary.clsMyClass2\CLSID] [HKEY_CURRENT_USER\Software\Classes\CLSID{FCE641D6-51C1-3648-AB43-C1F9BB812FC5}] [HKEY_CURRENT_USER\Software\Classes\CLSID{FCE641D6-51C1-3648-AB43-C1F9BB812FC5}\InprocServer32] [HKEY_CURRENT_USER\Software\Classes\CLSID{FCE641D6-51C1-3648-AB43-C1F9BB812FC5}\InprocServer32\1.0.0.0] [HKEY_CURRENT_USER\Software\Classes\CLSID{FCE641D6-51C1-3648-AB43-C1F9BB812FC5}\ProgId] [HKEY_CURRENT_USER\Software\Classes\CLSID{FCE641D6-51C1-3648-AB43-C1F9BB812FC5}\Implemented Categories{62C8FE65-4EBB-

            After I import the .reg file above, to my surprise, my when I search the registry for my dll name, I find Windows has created keys in the following 3 place:

            HKEY_CLASSES_ROOT HKEY_CURRENT_USER HKEY_USERS

            I was expecting to only finds keys in HKEY_CURRENT_USER.

            This presents two issues:

            1. If the key is written to HKEY_CLASSES_ROOT I wonder if it is registering it for the entire machine (as opposed to only the current user).

            2. My uninstaller "unregisters" the Dlls using the same technique of running the RegAsm /regfile switch and then replacing all instances of

            [HKEY_CURRENT_USER

            with

            [-HKEY_CURRENT_USER

            The problem is my uninstaller is only deleting the HKEY_CURRENT_USER keys and the HKEY_CLASSES_ROOT and HKEY_USERS keys are left behind.

            I'm trying to understand why Windows is writing these additional keys and if I need to clean them up on uninstall.

            Here is a list of the keys Windows is creating entries in:

            Computer\HKEY_CLASSES_ROOT\CLSID{3B8612DE-E333-31D5-86DA-9ED6D4B14A1C}\InprocServer32 Computer\HKEY_CLASSES_ROOT\CLSID{3B8612DE-E333-31D5-86DA-9ED6D4B14A1C}\InprocServer32\1.0.0.0 Computer\HKEY_CLASSES_ROOT\CLSID{FCE641D6-51C1-3648-AB43-C1F9BB812FC5}\InprocServer32 Computer\HKEY_CLASSES_ROOT\CLSID{FCE641D6-51C1-3648-AB43-C1F9BB812FC5}\InprocServer32\1.0.0.0 Computer\HKEY_CURRENT_USER\SOFTWARE\Classes\CLSID{3B8612DE-E333-31D5-86DA-9ED6D4B14A1C}\InprocServer32 Computer\HKEY_CURRENT_USER\SOFTWARE\Classes\CLSID{3B8612DE-E333-31D5-86DA-9ED6D4B14A1C}\InprocServer32\1.0.0.0 Computer\HKEY_CURRENT_USER\SOFTWARE\Classes\CLSID{FCE641D6-51C1-3648-AB43-C1F9BB812FC5}\InprocServer32 Computer\HKEY_CURRENT_USER\SOFTWARE\Classes\CLSID{FCE641D6-51C1-3648-AB43-C1F9BB812FC5}\InprocServer32\1.0.0.0 Computer\HKEY_USERS\S-1-5-21-529589846-3326646294-2506018130-1001\SOFTWARE\Classes\CLSID{3B8612DE-E333-31D5-86DA-9ED6D4B14A1C}\InprocServer32 Computer\HKEY_USERS\S-1-5-21-529589846-3326646294-2506018130-1001\SOFTWARE\Classes\CLSID{3B8612DE-E333-31D5-86DA-9ED6D4B14A1C}\InprocServer32\1.0.0.0 Computer\HKEY_USERS\S-1-5-21-529589846-3326646294-2506018130-1001\SOFTWARE\Classes\CLSID{FCE641D6-51C1-3648-AB43-C1F9BB812FC5}\InprocServer32 Computer\HKEY_USERS\S-1-5-21-529589846-3326646294-2506018130-1001\SOFTWARE\Classes\CLSID{FCE641D6-51C1-3648-AB43-C1F9BB812FC5}\InprocServer32\1.0.0.0 Computer\HKEY_USERS\S-1-5-21-529589846-3326646294-2506018130-1001_Classes\CLSID{3B8612DE-E333-31D5-86DA-9ED6D4B14A1C}\InprocServer32 Computer\HKEY_USERS\S-1-5-21-529589846-3326646294-2506018130-1001_Classes\CLSID{3B8612DE-E333-31D5-86DA-9ED6D4B14A1C}\InprocServer32\1.0.0.0 Computer\HKEY_USERS\S-1-5-21-529589846-3326646294-2506018130-1001_Classes\CLSID{FCE641D6-51C1-3648-AB43-C1F9BB812FC5}\InprocServer32 Computer\HKEY_USERS\S-1-5-21-529589846-3326646294-2506018130-1001_Classes\CLSID{FCE641D6-51C1-3648-AB43-C1F9BB812FC5}\InprocServer32\1.0.0.0

            Please help me understand why these keys are created and if there is any way to clean them up using the reg file importing technique that I am forced to use.

            Looking forward to your insight.

            Matthew

            ...

            ANSWER

            Answered 2022-Feb-01 at 04:53

            They are only created in a single place.

            HKEY_CLASSES_ROOT is a merged view of HKEY_CURRENT_USER\Software\Classes and HKEY_LOCAL_MACHINE\Software\Classes, it stores no data of its own.

            HKEY_CURRENT_USER is just a symlink to HKEY_USERS\S-.... where S-... is the SID of your user account.

            Ideally you should be using the NSIS registry functions, not .reg files.

            Source https://stackoverflow.com/questions/70935522

            QUESTION

            Append bin folder to PATH environement variable after installation
            Asked 2022-Jan-20 at 19:28

            I have done a C++ program for Windows and an NSIS installer using CPack. I want that after the installation, the user can call my program from the terminal without giving the whole path of the exe.
            Sometimes some installers even add an Add useful environment variables checkbox at the end of the installation to give the user a choice.

            Is it possible to add to the PATH environment variable the path to our bin folder at the end of the installation using CPack and NSIS Generator?

            If this is not possible, how do other programs add environment variables during installation?

            ...

            ANSWER

            Answered 2022-Jan-20 at 19:28

            As always, check the documentation... https://cmake.org/cmake/help/latest/cpack_gen/nsis.html

            CPACK_NSIS_MODIFY_PATH

               Modify PATH toggle. If this is set to ON, then an extra page will appear in the installer that will allow the user to choose whether the program directory should be added to the system PATH variable.

            Note that this is hard-coded to be the $INSTDIR\bin path and is not configurable. In particular, setting CMAKE_INSTALL_BINDIR to anything other than bin will break.

            Source https://stackoverflow.com/questions/70791675

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install nsis

            You can download it from GitHub.

            Support

            Simple tutorialNSIS HomepageUser Manual
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/kichik/nsis.git

          • CLI

            gh repo clone kichik/nsis

          • sshUrl

            git@github.com:kichik/nsis.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular DevOps Libraries

            ansible

            by ansible

            devops-exercises

            by bregman-arie

            core

            by dotnet

            semantic-release

            by semantic-release

            Carthage

            by Carthage

            Try Top Libraries by kichik

            whypy3

            by kichikHTML

            pecoff4j

            by kichikJava

            email-scraper

            by kichikPython

            pyndef

            by kichikPython

            docker-combo

            by kichikPython