diff --git a/packaging/win/installscript.nsi b/packaging/win/installscript.nsi new file mode 100755 index 0000000..ab68fa1 --- /dev/null +++ b/packaging/win/installscript.nsi @@ -0,0 +1,49 @@ +; installscript.nsi +; +; An NSIS document for creating a windows installer. +; Place this document in a directory with all of the +; items that should be installed into the end user's +; extensions directory, including the 'serial' folder. +; +;-------------------------------- + +; The name of the installer +Name "EggBotExtensions" + +; The file to write +OutFile "EB_Ext_2_0_0_r1.exe" + +; The default installation directory +InstallDir $PROGRAMFILES\Inkscape\share\extensions + +; Request application privileges for Windows Vista +RequestExecutionLevel admin + +; Directory dialog text header:: +DirText "The Eggbot software needs to be installed within \ +Inkscape, in the extensions folder. Normally, \ +all that you need to do is click 'Install' below. \ +But, if your copy of Inkscape is not in the normal \ +('Program files') \ +location, please select the correct extensions directory. " + +;-------------------------------- + +; Pages + +Page directory +Page instfiles + +;-------------------------------- + +; The stuff to install +Section "" ;No components page, name is not important + + ; Set output path to the installation directory. + SetOutPath $INSTDIR + + ; Put file there + File /r serial* + File eggbot* + +SectionEnd ; end the section