kopia lustrzana https://github.com/evil-mad/EggBot
NSIS script that created UBWDriverInstaller_v10.exe
git-svn-id: https://eggbotcode.googlecode.com/svn/trunk@221 72233254-1b6c-9e9c-5072-401df62706fbpull/47/head
rodzic
5634e757c7
commit
5cea63bd80
|
@ -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
|
Ładowanie…
Reference in New Issue