Giter VIP home page Giter VIP logo

nsis-ui-plugin's Introduction

中文版

Project Introduce

NSIS-UI-Plugin support a way to create setup with beautiful, modern UI.

NSIS-UI-Plugin plugin use Qt as UI library by default, you can use any UI library in theory, such as DuiLib.

Install Dependenciese

  1. Install NSIS

Download NSIS and install, then add NSIS_DIR system environment variable as NSIS install directory.

  1. Install Python

Install Python just for execute NsisScriptGenerate.py script. After install, add the direcotry where Python.exe is located to Path system environment variable.

  1. Install Qt

NSIS-UI-Plugin use Qt as UI library by default.

The Qt installer will add the QtDIR system environment variable as Qt install directory. If it not add automatically, you need to add it manually.

  1. Compile NSIS-UI-Plugin

After installing the above dependencies, then compile NSIS-UI-Plugin\NSIS-UI-Plugin.vcxproj project, Visual Studio's After Build Event will copy target file(Debug: nsQtPluginD.dll Release: nsPlugin.dll) to NSIS plugin directory(NSIS_DIR\Plugins\x86-unicode).

  1. Generate Test Setup

VimeoSetup directory is sample about how to use NSIS-UI-Plugin.

App                     -- Place the files that need to be packaged into the installer
VCRuntimeDLL            -- Place VC++ runtime files(Debug/Release), Qt compiled with MD mode by default.
vimeo-template.nsi      -- NSIS template script file,`-template` suffix is fixed, can't change. NsisScriptGenerate.py will generate vimeo.nsi based on this template.
build-setup [debug].bat -- Generate Debug mode setup, that means using debug version Qt/NSIS-UI-Plugin.
build-setup [debug].bat -- Generate Release mode setup

Place the files you need to package into the App directory, then run build-setup.bat to generate the installer.

NsisScriptGenerate.py: Since NSIS has no way to get file extract progress/details, so I write NsisScriptGenerate.py, enumerate App folder, add each file by File command, call SetInstallStepDescription interface to notify installing details.

Screenshot

For example only, you can use any UI library to create any UI by yourself.

Screenshot-1

Screenshot-2

Screenshot-3

nsis-ui-plugin's People

Contributors

winsoft666 avatar

Watchers

 avatar  avatar

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.