Giter VIP home page Giter VIP logo

nsis-extension's Introduction

New support for this project

Since tomap has no longer time to dedicate to it, we have forked the project in order to maintain it. This repo has been forked from github repository https://github.com/tomap/nsis-extension

VSTS Extension

Nsis build extension for VSTS

This extension can be used to build nsis script or to make nsis available for other tasks (as an environment variable).

Nsis version used is version 3.03

Usage

  • Go to VSTS Marketplace and install the extension
  • In your build definition add the task "Nsis"
  • Either select your nsi script (and build arguments: http://nsis.sourceforge.net/Docs/Chapter3.html#usagereference)
  • Or just include NSIS as an environnement variable called NSIS_EXE that you can use in the following tasks.

There is also an option called "Include additional plugins". If you check this option, the content of the folder nsis/plugins will be copied to the nsis plugin folder and those plugins will be made available to your nsis script.

There is another option called "Custom Plugins Path". If you set a path on this field, the content of the referenced folder will be copied to the nsis plugin folder and those plugins will be made available to your nsis script.

To test that the task works properly, you can download install.nsi and use it as a test script.

Plugins

The nsis/plugins folder contains multiple plugins that were found on nsis web site:

  • SimpleSC NSIS Simple Service Plugin (license MPL / LGPL)
  • Services2, another plugin to manage services Examples:
services2::IsServiceRunning "w3svc"
Pop $0
  ${If} $0 == "Yes"
...
  ${Else}
...
  ${EndIf}

services2::IsServiceInstalled "w3wp" work the same Also:

services2::SendServiceCommandWait "start" "w3wp" "120"
  Pop $0
  ${If} $0 == "Ok"
...
  ${Else}
  ...
  ${Endif}
  • there are other plugins to be documented

Availability

This extension is publicly available on VSTS Marketplace: https://marketplace.visualstudio.com/items?itemName=bizeta.nsis-task

It is build in VSTS using DevOps. Here is the status: Build status

The build is done following the build steps on Microsoft documentation page

License

This extension is published under MIT license. See license file.

Changelog

All notable changes to this project will be documented in this file. The format is based on Keep a Changelog

[1.1.2] - 2019-08-06

Added

  • new plugin option "Custom Plugins Path" to be able to include custom plugins path in order to be able to use custom plugins that aren't included on default plugins folder. All plugins file in this path will be copied to nsis\plugins\x86-ansi

nsis-extension's People

Contributors

darkurse avatar davide-zoccarato-maxima avatar development-bizeta-mestre avatar smkanadl avatar tomap avatar

Watchers

 avatar  avatar

Forkers

dalalsunil1986

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.