Search This Blog

Showing posts with label NSIS Plugin. Show all posts
Showing posts with label NSIS Plugin. Show all posts

Monday, April 13, 2020

.netFramework Version checker for NSIS

https://github.com/ReVolly/NsisDotNetChecker

All Users

  1. Copy DotNetChecker.dll to NSIS plugins directory (usually C:\Program Files\Nsis\Plugins\ or C:\Program Files (x86)\Nsis\Plugins\x86-ansi)
  2. Copy DotNetChecker.nsh to NSIS Include directory C:\Program Files (x86)\NSIS\Include
  3. Add to your installer project DotNetChecker.nsh file
  4. Reference DotNetChecker.nsh in your main NSI file like this: !include "DotNetChecker.nsh"
  5. Insert macros with the version of required .NET framework.

Local

  1. Copy the whole project in to the same folder as your NSIS Script.
  2. Refrence the Plugin DLL like this: !addplugindir "NsisDotNetChecker\bin"
  3. Reference DotNetChecker.nsh in your main NSI file like this: !include "NsisDotNetChecker\nsis\DotNetChecker.nsh"

In script

  1.  Added !include DotNetChecker.nsh at the top of the script.
  2.  Added this line into installer section:   
  3. !insertmacro CheckNetFramework 10 - checks for .netframework 1.0
  4. !insertmacro CheckNetFramework 461 - checks for .netframework 4.61
  5. !insertmacro CheckNetFramework 472 - checks for .netframework 4.72
  6. !insertmacro CheckNetFramework 40Client - checks for .netframework 4.0 client
  7. !insertmacro CheckNetFramework 40Full - checks for .netframework 4.0 Full

Saturday, July 4, 2015

NSIS 3.0b1 setup for DRC

Installing NSIS on HP laptop with the following steps

Files in SVN  ..,/svn/DRC_Installer/References

http://nsis.sourceforge.net/Main_Page
http://www.spaceblue.com/products/venis/
My copy of Venis

1) Install nsis-3.0b1-setup.exe
2) Install Venis Editor
3) Install Registry.zip Addin  (Optional)
    a) Within Registry.zip copy:
          - Desktop\example  => c:\Program Files(x86)\NSIS\Examples\
          - Desktop\Include => c:\Program Files(x86)\NSIS\Include\
          - Desktop\Plugin => c:\Program Files(x86)\NSIS\Plugins\
4) Copy ZipDLL.dll to  c:\Program Files(x86)\NSIS\Plugins\x86-ansi\
5) Copy nsProcess.nsh c:\Program Files(x86)\NSIS\Include\
6) Copy ZipDLL.dll to C:\Program Files (x86)\NSIS\Plugins\x86-ansi\


Saturday, March 24, 2012

Installling NSIS 2.46


I'm busy setting up builds of DRC 3.0 on a new Windows 7 64bit workstation using VS2010 and NSIS 2.46

Always an intertesting adventure setting up a new Development workstation especially when you didn't take the time to document your setup.

Setting up NSIS 2.46 on Windows 7 64 bit
  1.   Run nsis-2.46-setup.exe
  2.  Run Venis setup VenisIX225.exe
    1.  Run Venix, click register menu
    2.  Add name and license.
    3.   First time running Venix, Use file menu to open Nsi script directly.  After that, Windows will open Venix when double-clicking on script file.  (Not sure why this does work w/o first running Venix right after install.
  3.   Add Plugins
    1.        Registry
      1.  Copy Include to NSIS\Include
      2.  Copy Example to NSIS\Examples
      3. Copy Plugin to NSIS\Plugins
Venis IX 2.2.5



Monday, January 12, 2009

Updating NSIS installation

Steps to update installation of NSIS on my development machine

  1. Install latest NSIS, allow install to remove previous version.
  2. Run FontName-0.7.exe
  3. run install from GetVersion.zip
  4. Copy the following files into F:\Program Files\NSIS\Plugins\
  5. Copy GetVersion.dll
  6. Copy version.dll
  7. Copy ZipDLL.dll
  8. In Registry.ZIP, for Desktop, copy files the following files
  9. Include to F:\Program Files\NSIS\Include
  10. Example to F:\Program Files\NSIS\Examples
  11. Plugin to F:\Program Files\NSIS\Plugins

Now DRC install script will compile.

Files can be found here