kopia lustrzana https://github.com/evil-mad/EggBot
Add windows NSIS install script
git-svn-id: https://eggbotcode.googlecode.com/svn/trunk@136 72233254-1b6c-9e9c-5072-401df62706fbpull/47/head
rodzic
ff5b2aab5a
commit
492e80f2a6
|
@ -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
|
Ładowanie…
Reference in New Issue