From 5cea63bd806bb84996f520c83366ee7ee12566ae Mon Sep 17 00:00:00 2001 From: "brian.schmalz" Date: Tue, 4 Oct 2011 19:59:39 +0000 Subject: [PATCH] NSIS script that created UBWDriverInstaller_v10.exe git-svn-id: https://eggbotcode.googlecode.com/svn/trunk@221 72233254-1b6c-9e9c-5072-401df62706fb --- packaging/win/EBBInstallerScript.nsi | 54 ++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 packaging/win/EBBInstallerScript.nsi diff --git a/packaging/win/EBBInstallerScript.nsi b/packaging/win/EBBInstallerScript.nsi new file mode 100644 index 0000000..81f9bb0 --- /dev/null +++ b/packaging/win/EBBInstallerScript.nsi @@ -0,0 +1,54 @@ +; 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 "UBWDriverInstaller" + +; The file to write +OutFile "UBWDriverInstaller_v10.exe" + +; The default installation directory +InstallDir $PROGRAMFILES\Inkscape\share\extensions\UBWDriverInstaller + +; 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 "USBDriverInstaller.exe" + File "DIFxAPI_x64.dll" + File "DIFxAPI_x86.dll" + File "mchpcdc.cat" + File "mchpcdc.inf" + File "ReadMe.txt" + ExecWait '"$INSTDIR\USBDriverInstaller.exe" -auto' + +SectionEnd ; end the section