Commit e3be1151 authored by Jondy Zhao's avatar Jondy Zhao

slapos-windows-installer: fix path

parent 7a1857d7
[buildout] [buildout]
parts = parts =
rootdirectory
basedirectory
slapos-instance slapos-instance
eggs-directory = ${buildout:eggs-directory} eggs-directory = ${buildout:eggs-directory}
develop-eggs-directory = ${buildout:develop-eggs-directory} develop-eggs-directory = ${buildout:develop-eggs-directory}
offline = true offline = true
[rootdirectory]
recipe = slapos.cookbook:mkdirectory
etc = $${buildout:directory}/etc
var = $${buildout:directory}/var
srv = $${buildout:directory}/srv
bin = $${buildout:directory}/bin
tmp = $${buildout:directory}/tmp
[basedirectory]
recipe = slapos.cookbook:mkdirectory
log = $${rootdirectory:var}/log
services = $${rootdirectory:etc}/service
scripts = $${rootdirectory:etc}/run
run = $${rootdirectory:var}/run
backup = $${rootdirectory:srv}/backup
promises = $${rootdirectory:etc}/promise
[slapos-instance] [slapos-instance]
recipe = recipe = slapos.recipe.cmmi recipe = slapos.recipe.cmmi
url = ${buildout:directory}/slapos-0.158.8-windows-all-in-one.exe # This url is useless
url = /usr/bin/true.exe
configure-command = msiexec.exe configure-command = msiexec.exe
configure-options = /SILENT configure-options =
/i ${installer:location}/slapos-windows-all-in-one.exe
TARGETDIR=$${buildout:directory}
/quiet
/log $${buildout:directory}/slapos-windows-installer.log
make-binary = true make-binary = true
post-install = slapos-configure.sh post-install =
$${buildout:directory}/cygwin/etc/slapos/scripts/slapos-configure.sh
\ No newline at end of file
...@@ -7,36 +7,40 @@ parts = ...@@ -7,36 +7,40 @@ parts =
setup-cygwin setup-cygwin
slapos-build-installer slapos-build-installer
inno-setup inno-setup
windows-installer installer
instance-template instance-template
[inno-setup] [inno-setup]
recipe = hexagonit.recipe.download recipe = hexagonit.recipe.download
url = http://dashingsoft.com/products/slapos/inno-setup.tar.gz url = http://dashingsoft.com/products/slapos/inno-setup.tar.gz
md5sum = 44620b8619c9cc5b3e262655f0089f05 md5sum = 44620b8619c9cc5b3e262655f0089f05
destination = ${buildout:directory} download-only = true
[slapos-build-installer] [slapos-build-installer]
recipe = hexagonit.recipe.download recipe = hexagonit.recipe.download
url = http://git.erp5.org/gitweb/slapos.package.git/blob_plain/heads/cygwin:/windows/scripts/slapos-build-installer url = http://git.erp5.org/gitweb/slapos.package.git/blob_plain/heads/cygwin:/windows/scripts/slapos-build-installer
md5sum = 217066b8a5bda72e52d97b04461bd9f1 md5sum = 217066b8a5bda72e52d97b04461bd9f1
destination = ${buildout:directory}/bin
download-only = true download-only = true
[setup-cgywin] [setup-cgywin]
recipe = hexagonit.recipe.download recipe = hexagonit.recipe.download
url = http://git.erp5.org/gitweb/slapos.package.git/blob_plain/heads/cygwin:/windows/scripts/setup-cygwin.bat url = http://git.erp5.org/gitweb/slapos.package.git/blob_plain/heads/cygwin:/windows/scripts/setup-cygwin.bat
md5sum = 5ec4f11eee39230a38ef3d2ba59fde44 md5sum = 5ec4f11eee39230a38ef3d2ba59fde44
destination = ${buildout:directory}/bin
download-only = true download-only = true
[windows-installer] [installer]
recipe = slapos.recipe.cmmi recipe = slapos.recipe.cmmi
url = http://dashingsoft.com/products/slapos/cygwin-packages.tar.gz url = http://dashingsoft.com/products/slapos/cygwin-packages.tar.gz
configure-command = setup-cygwin.bat pre-configure=
configure-options = mkdir -p ${:location}/cygwin
make-binary = slapos-build-installer (cd ${:location}/cygwin ; tar xzf ${inno-setup:location}/inno-setup.tar.gz)
cp /usr/bin/setup.exe ${:location}
cp ${setup-cygwin}/setup-cygwin.bat ${:location}/cygwin
cp ${slapos-build-installer}/slapos-build-installer ${:location}/cygwin
configure-command = ${buildout:directory}/setup-cygwin.bat
make-binary = ${:location}/cygwin/bin/bash --login /slapos-build-installer
make-options = make-options =
--inno-setup=/inno-setup/ISCC.exe
#---------------- #----------------
#-- Instance-level buildout profiles. #-- Instance-level buildout profiles.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment