1 / 15

Effective Application Deployment: Mastering Nullsoft Scriptable Install System (NSIS)

Discover the power of Nullsoft Scriptable Install System (NSIS) for deploying applications and upgrades efficiently. NSIS, developed by Nullsoft, is a small, extensible, and responsive installer system favored by developers for its flexibility and no-cost model. This guide covers the basics of NSIS scripting, including structure, commands, and utilities. Learn about sample scripts and templates that streamline installation processes. Overcome common challenges, like string parsing limitations, and enhance your deployment strategy with custom pages and installer attributes.

baruch
Télécharger la présentation

Effective Application Deployment: Mastering Nullsoft Scriptable Install System (NSIS)

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Deal Your Best Hand Deploying Applications and Upgrades Using Nullsoft

  2. OVERVIEW

  3. What is it? • NSIS = Nullsoft Scriptable Install System • Developed by Nullsoft for • First released as PiMP (Plug-in Mini Packager) • Became NSIS

  4. People Love it Because… ENGINE • Small • Extensible • Responsive • Free! 61% PLUG-IN ENGINE PLUG-IN PLUG-IN

  5. People Leave it Because… • Assembler-like language • No debugger • Limited string parsing capabilities • Most of these issues have been solved!

  6. ANATOMY

  7. Basics • Everything is a script • Assembler-like Commands • Runtime, Compile-Time, and Both • Jumps instead of If/Then, For/Next, etc. • LogicLib.nsh adds support for these though • Global Variables and Registers

  8. Definitions • Installer Attributes • Commands that define look and behavior • Pages • Wizard pages presented to end user • Built-in pages available • Custom pages possible

  9. Code Blocks • Sections • Represent installation components • Must have at least one • Functions • Called by user or in response to install events • Macros • Insert blocks of code • Defines • Compile-time constants

  10. SAMPLE SCRIPTS

  11. SRP UTILITIES FOR NSIS

  12. SRPUTIL.DLL • Add programs to the Windows Firewall Exception List • Start and Stop a hidden OpenEngine • Send any command • RDKINSTALL interacts with NSIS install progress page

  13. SRP Templates • SRP_Template_OI.nsi • Template to install complete OI application • Creates uninstaller and registry entries • SRP_Template_RDK.nsi • Template to install RDK to existing OI app • Uses SRPUTIL.DLL for seemless integration • Simply fill in the definitions at the top

  14. SRP TEMPLATES DEMO

  15. Thank You Any Questions?

More Related