Create cert dir before installation

tags/wpkg-fusioninventory-2.4-0.beta1 2.3.0
Daniel Berteaud 11 years ago
parent 76362d6232
commit 9069800771
  1. 3
      packages/fusioninventory.xml

@ -2,7 +2,7 @@
<packages>
<package id="fusioninventory"
name="Agent d'inventaire reseau"
revision="18.5"
revision="18.6"
priority="10">
<variable name="PKG_VERSION" value="2.3.0-1" />
@ -11,6 +11,7 @@
<check type="uninstall" condition="versiongreaterorequal" path="FusionInventory Agent %PKG_VERSION%.*" value="%PKG_VERSION%" />
<install cmd='%COMSPEC% /C if not exist "%INSTALL_PATH%\certs\" mkdir "%INSTALL_PATH%\certs\"' />
<install cmd='%COMSPEC% /C copy /Y "%SETTINGS%\fusioninventory\cacert.pem" "%INSTALL_PATH%\certs\cacert.pem"' />
<install architecture="x86" cmd='%SOFTWARE%\fusioninventory\fusioninventory-agent_windows-x86_%PKG_VERSION%.exe %INSTALL_FLAGS%' />
<install architecture="x64" cmd='%SOFTWARE%\fusioninventory\fusioninventory-agent_windows-x64_%PKG_VERSION%.exe %INSTALL_FLAGS%' />

Loading…
Cancel
Save