Difference between revisions of "Divalto infinity"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
(Created page with "This is a silent installer for Divalto Infinity, an ERP sowtware from Divalto. More infos from [http://www.divalto.com/en/ www.divalto.com/en/]. This release is 7.2. <source l...")
 
Line 4: Line 4:
  
 
<source lang="xml">
 
<source lang="xml">
<package id="divalto" name="Divalto infinity 7" revision="8" priority="0" execute="always"><!--  execute="always"-->
+
<package id="divalto" name="Divalto infinity 7" revision="8" priority="0"><!--  execute="always"-->
 
<depends  package-id="vc2005-redist" />
 
<depends  package-id="vc2005-redist" />
 
<depends  package-id="vc2008-redist" />
 
<depends  package-id="vc2008-redist" />
Line 10: Line 10:
 
<check type="uninstall"  condition="exists" path="Divalto infinity 7.2" />
 
<check type="uninstall"  condition="exists" path="Divalto infinity 7.2" />
 
<check type="file" condition="sizeequals" path="C:\Divalto\sys\abc.png" value="587"/>
 
<check type="file" condition="sizeequals" path="C:\Divalto\sys\abc.png" value="587"/>
<install cmd='"%SOFTWARE%\Divalto\Divalto Infinity 7.2 CD204C du 09_10_2013\plus\disk1\installdivalto.exe" /QUIET /DEFAULTSERVER:"SRVERP" /FORCEUSER:"    " ' />
+
<install cmd='"%SOFTWARE2%\Divalto\Divalto Infinity 7.2 CD204C du 09_10_2013\plus\disk1\installdivalto.exe" /QUIET /DEFAULTSERVER:"SRVERP" /FORCEUSER:"    " ' />
<!-- on attend qq secondes-->
+
<!-- on attend 1 minute pour que l install se termine-->
<install cmd='"%SOFTWARE%\Divalto\temps.bat"' ><exit code='any'/></install>
+
<install cmd='PING 127.0.0.1 -n 60 &gt;nul' ><exit code='any'/></install>
 
<!--arret des services divalto-->
 
<!--arret des services divalto-->
 
<install cmd='c:\divalto\sys\xDivaltoRestart.exe -stop' />
 
<install cmd='c:\divalto\sys\xDivaltoRestart.exe -stop' />
<!-- copie des fichiers de config pour install silencieuse-->
+
<!-- copie des fichiers de config pour install silencieuse. 2 dossiers sources pour eviter la saturation du buffer de console -->
<install timeout="1000" cmd='xcopy /Y "%SOFTWARE%\Divalto\sys\*.*" c:\divalto\sys\*.* &gt;%TEMP%\install-log.txt 2&gt;&amp;1'/>
+
<install cmd='xcopy /Y "%SOFTWARE2%\Divalto\sys\*.*" c:\divalto\sys\*.*'/>
 +
<install cmd='xcopy /Y "%SOFTWARE2%\Divalto\sys1\*.*" c:\divalto\sys\*.*'/>
 
<!--copie du raccourci sur le bureau et menu demarre-->
 
<!--copie du raccourci sur le bureau et menu demarre-->
<install os=".+6\.[0-3]\.\d{4}" cmd='xcopy /Y "%SOFTWARE%\Divalto\Divalto7.2.lnk" "%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Divalto\*.*"' ><exit code="any" /></install>        <!-- pour vista et +-->
+
<install os=".+6\.[0-3]\.\d{4}" cmd='xcopy /Y "%SOFTWARE2%\Divalto\Divalto7.2.lnk" "%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Divalto\*.*"' ><exit code="any" /></install>        <!-- pour vista et +-->
<install os=".+6\.[0-3]\.\d{4}" cmd='xcopy /Y "%SOFTWARE%\Divalto\Divalto7.2.lnk" "%PUBLIC%\Desktop\*.*"' ><exit code="any" /></install>        <!-- pour vista et +-->
+
<install os=".+6\.[0-3]\.\d{4}" cmd='xcopy /Y "%SOFTWARE2%\Divalto\Divalto7.2.lnk" "%PUBLIC%\Desktop\*.*"' ><exit code="any" /></install>        <!-- pour vista et +-->
<install os=".+5\.[1-2]\.\d{4}" cmd='xcopy /Y "%SOFTWARE%\Divalto\Divalto7.2.lnk" "%ALLUSERSPROFILE%\Bureau\*.*"' ><exit code='any'/></install>        <!-- pour winXP-->  
+
<install os=".+5\.[1-2]\.\d{4}" cmd='xcopy /Y "%SOFTWARE2%\Divalto\Divalto7.2.lnk" "%ALLUSERSPROFILE%\Bureau\*.*"' ><exit code='any'/></install>        <!-- pour winXP-->  
 
<!-- raz variable x_user
 
<!-- raz variable x_user
<install cmd='wscript.exe  "%SOFTWARE%\Divalto\remplace_chaine_rep.vbs"' ><exit code='any'/></install>-->
+
<install cmd='wscript.exe  "%SOFTWARE2%\Divalto\remplace_chaine_rep.vbs"' ><exit code='any'/></install>-->
 
<!-- ajout en base de registre HKU\.DEFAULT (pour le user system) de: serveur de log, suppr de X_USER, ajout de X_USER-->
 
<!-- ajout en base de registre HKU\.DEFAULT (pour le user system) de: serveur de log, suppr de X_USER, ajout de X_USER-->
 
<install cmd='reg add "HKEY_USERS\.DEFAULT\Software\Divalto\divalto.ini\System"  /v "ServeurXlogf" /d "SRVERP" /t REG_SZ /f'/>
 
<install cmd='reg add "HKEY_USERS\.DEFAULT\Software\Divalto\divalto.ini\System"  /v "ServeurXlogf" /d "SRVERP" /t REG_SZ /f'/>
Line 29: Line 30:
 
<!-- ajout en base de registre HKCU via active setup de: serveur de log, suppr de X_USER, ajout de X_USER, environnement, aide-->
 
<!-- ajout en base de registre HKCU via active setup de: serveur de log, suppr de X_USER, ajout de X_USER, environnement, aide-->
 
<install cmd='reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\wpkgEnabledivaltoenv1" /v "Version" /d "1" /t REG_SZ /f' />
 
<install cmd='reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\wpkgEnabledivaltoenv1" /v "Version" /d "1" /t REG_SZ /f' />
 +
<install cmd='reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\wpkgEnabledivaltoenv2" /v "Version" /d "1" /t REG_SZ /f' />
 +
<!--<install cmd='reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\wpkgEnabledivaltoenv3" /v "Version" /d "1" /t REG_SZ /f' />-->
 +
<install cmd='reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\wpkgEnabledivaltoenv4" /v "Version" /d "1" /t REG_SZ /f' />
 +
<install cmd='reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\wpkgEnabledivaltoenv5" /v "Version" /d "1" /t REG_SZ /f' />
 +
<install cmd='reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\wpkgEnabledivaltoenv6" /v "Version" /d "1" /t REG_SZ /f' />
 +
<install cmd='reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\wpkgEnabledivaltoenv7" /v "Version" /d "1" /t REG_SZ /f' />
 
<install cmd='reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\wpkgEnabledivaltoenv1" /v "StubPath" /d "reg add HKEY_CURRENT_USER\Software\Divalto\divalto.ini\System  /v "ServeurXlogf" /d "SRVERP" /t REG_SZ /f" /f' />
 
<install cmd='reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\wpkgEnabledivaltoenv1" /v "StubPath" /d "reg add HKEY_CURRENT_USER\Software\Divalto\divalto.ini\System  /v "ServeurXlogf" /d "SRVERP" /t REG_SZ /f" /f' />
<install cmd='reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\wpkgEnabledivaltoenv1" /v "StubPath" /d "reg delete HKEY_CURRENT_USER\Environment  /v "X_USER" /f" /f' />
+
<install cmd='reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\wpkgEnabledivaltoenv2" /v "StubPath" /d "reg delete HKEY_CURRENT_USER\Environment  /v "X_USER" /f" /f' />
<install cmd='reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\wpkgEnabledivaltoenv1" /v "StubPath" /d "reg add HKEY_CURRENT_USER\Environment  /v "X_USER" /d " " /t REG_SZ /f" /f' />
+
<!--<install cmd='reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\wpkgEnabledivaltoenv3" /v "StubPath" /d "reg add HKEY_CURRENT_USER\Environment  /v "X_USER" /d " " /t REG_SZ /f" /f' />-->
<install cmd='reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\wpkgEnabledivaltoenv1" /v "StubPath" /d "reg add HKEY_CURRENT_USER\Software\Divalto\divalto.ini\Environnement  /v "courant" /d "socofer" /t REG_SZ /f" /f' />
+
<install cmd='reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\wpkgEnabledivaltoenv4" /v "StubPath" /d "reg add HKEY_CURRENT_USER\Software\Divalto\divalto.ini\Environnement  /v "courant" /d "socofer" /t REG_SZ /f" /f' />
<install cmd='reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\wpkgEnabledivaltoenv1" /v "StubPath" /d "reg add HKEY_CURRENT_USER\Software\Divalto\divalto.ini\Environnement  /v "socofer" /d "//SRVERP/divalto/sys" /t REG_SZ /f" /f' />
+
<install cmd='reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\wpkgEnabledivaltoenv5" /v "StubPath" /d "reg add HKEY_CURRENT_USER\Software\Divalto\divalto.ini\Environnement  /v "socofer" /d "//SRVERP/divalto/sys" /t REG_SZ /f" /f' />
<install cmd='reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\wpkgEnabledivaltoenv1" /v "StubPath" /d "reg add HKEY_CURRENT_USER\Software\Divalto\divalto.ini\System  /v "serveursearch" /d "SRVERP" /t REG_SZ /f" /f' />
+
<install cmd='reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\wpkgEnabledivaltoenv6" /v "StubPath" /d "reg add HKEY_CURRENT_USER\Software\Divalto\divalto.ini\System  /v "serveursearch" /d "SRVERP" /t REG_SZ /f" /f' />
<install cmd='reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\wpkgEnabledivaltoenv1" /v "StubPath" /d "reg add HKEY_CURRENT_USER\Software\Divalto\divalto.ini\System  /v "CheminAidesWeb" /d "file://srverp/DivaltoWebAide" /t REG_SZ /f" /f' />
+
<install cmd='reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\wpkgEnabledivaltoenv7" /v "StubPath" /d "reg add HKEY_CURRENT_USER\Software\Divalto\divalto.ini\System  /v "CheminAidesWeb" /d "file://srverp/DivaltoWebAide" /t REG_SZ /f" /f' />
 
<!--redemarrage des services divalto-->
 
<!--redemarrage des services divalto-->
 
<install cmd='c:\divalto\sys\xDivaltoRestart.exe -start' ><exit code='any'/></install>
 
<install cmd='c:\divalto\sys\xDivaltoRestart.exe -start' ><exit code='any'/></install>
 
<install cmd='c:\divalto\sys\xDivaltoSelectEnv.exe /env:"socofer"' ><exit code='any'/></install>
 
<install cmd='c:\divalto\sys\xDivaltoSelectEnv.exe /env:"socofer"' ><exit code='any'/></install>
 
<upgrade include="install" />
 
<upgrade include="install" />
 +
</package>

Revision as of 10:12, 4 July 2014

This is a silent installer for Divalto Infinity, an ERP sowtware from Divalto. More infos from www.divalto.com/en/.

This release is 7.2.

<package id="divalto" name="Divalto infinity 7" revision="8" priority="0"><!--  execute="always"-->
<depends  package-id="vc2005-redist" />
<depends  package-id="vc2008-redist" />
<depends  package-id="vc2010-redist" />
<check type="uninstall"  condition="exists" path="Divalto infinity 7.2" />
<check type="file" condition="sizeequals" path="C:\Divalto\sys\abc.png" value="587"/>
<install cmd='"%SOFTWARE2%\Divalto\Divalto Infinity 7.2 CD204C du 09_10_2013\plus\disk1\installdivalto.exe" /QUIET /DEFAULTSERVER:"SRVERP" /FORCEUSER:"    " ' />
<!-- on attend 1 minute pour que l install se termine-->
<install cmd='PING 127.0.0.1 -n 60 &gt;nul' ><exit code='any'/></install>
<!--arret des services divalto-->
<install cmd='c:\divalto\sys\xDivaltoRestart.exe -stop' />
<!-- copie des fichiers de config pour install silencieuse. 2 dossiers sources pour eviter la saturation du buffer de console -->
<install cmd='xcopy /Y "%SOFTWARE2%\Divalto\sys\*.*" c:\divalto\sys\*.*'/>
<install cmd='xcopy /Y "%SOFTWARE2%\Divalto\sys1\*.*" c:\divalto\sys\*.*'/>
<!--copie du raccourci sur le bureau et menu demarre-->
<install os=".+6\.[0-3]\.\d{4}" cmd='xcopy /Y "%SOFTWARE2%\Divalto\Divalto7.2.lnk" "%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Divalto\*.*"' ><exit code="any" /></install>        <!-- pour vista et +-->
<install os=".+6\.[0-3]\.\d{4}" cmd='xcopy /Y "%SOFTWARE2%\Divalto\Divalto7.2.lnk" "%PUBLIC%\Desktop\*.*"' ><exit code="any" /></install>        <!-- pour vista et +-->
<install os=".+5\.[1-2]\.\d{4}" cmd='xcopy /Y "%SOFTWARE2%\Divalto\Divalto7.2.lnk" "%ALLUSERSPROFILE%\Bureau\*.*"' ><exit code='any'/></install>        <!-- pour winXP--> 
<!-- raz variable x_user
<install cmd='wscript.exe  "%SOFTWARE2%\Divalto\remplace_chaine_rep.vbs"' ><exit code='any'/></install>-->
<!-- ajout en base de registre HKU\.DEFAULT (pour le user system) de: serveur de log, suppr de X_USER, ajout de X_USER-->
<install cmd='reg add "HKEY_USERS\.DEFAULT\Software\Divalto\divalto.ini\System"  /v "ServeurXlogf" /d "SRVERP" /t REG_SZ /f'/>
<install cmd='reg delete "HKEY_USERS\.DEFAULT\Environment"  /v "X_USER" /f'/>
<install cmd='reg add "HKEY_USERS\.DEFAULT\Environment"  /v "X_USER" /d " " /t REG_SZ /f'/>
<!-- ajout en base de registre HKCU via active setup de: serveur de log, suppr de X_USER, ajout de X_USER, environnement, aide-->
<install cmd='reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\wpkgEnabledivaltoenv1" /v "Version" /d "1" /t REG_SZ /f' />
<install cmd='reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\wpkgEnabledivaltoenv2" /v "Version" /d "1" /t REG_SZ /f' />
<!--<install cmd='reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\wpkgEnabledivaltoenv3" /v "Version" /d "1" /t REG_SZ /f' />-->
<install cmd='reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\wpkgEnabledivaltoenv4" /v "Version" /d "1" /t REG_SZ /f' />
<install cmd='reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\wpkgEnabledivaltoenv5" /v "Version" /d "1" /t REG_SZ /f' />
<install cmd='reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\wpkgEnabledivaltoenv6" /v "Version" /d "1" /t REG_SZ /f' />
<install cmd='reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\wpkgEnabledivaltoenv7" /v "Version" /d "1" /t REG_SZ /f' />
<install cmd='reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\wpkgEnabledivaltoenv1" /v "StubPath" /d "reg add HKEY_CURRENT_USER\Software\Divalto\divalto.ini\System  /v "ServeurXlogf" /d "SRVERP" /t REG_SZ /f" /f' />
<install cmd='reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\wpkgEnabledivaltoenv2" /v "StubPath" /d "reg delete HKEY_CURRENT_USER\Environment  /v "X_USER" /f" /f' />
<!--<install cmd='reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\wpkgEnabledivaltoenv3" /v "StubPath" /d "reg add HKEY_CURRENT_USER\Environment  /v "X_USER" /d " " /t REG_SZ /f" /f' />-->
<install cmd='reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\wpkgEnabledivaltoenv4" /v "StubPath" /d "reg add HKEY_CURRENT_USER\Software\Divalto\divalto.ini\Environnement  /v "courant" /d "socofer" /t REG_SZ /f" /f' />
<install cmd='reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\wpkgEnabledivaltoenv5" /v "StubPath" /d "reg add HKEY_CURRENT_USER\Software\Divalto\divalto.ini\Environnement  /v "socofer" /d "//SRVERP/divalto/sys" /t REG_SZ /f" /f' />
<install cmd='reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\wpkgEnabledivaltoenv6" /v "StubPath" /d "reg add HKEY_CURRENT_USER\Software\Divalto\divalto.ini\System  /v "serveursearch" /d "SRVERP" /t REG_SZ /f" /f' />
<install cmd='reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\wpkgEnabledivaltoenv7" /v "StubPath" /d "reg add HKEY_CURRENT_USER\Software\Divalto\divalto.ini\System  /v "CheminAidesWeb" /d "file://srverp/DivaltoWebAide" /t REG_SZ /f" /f' />
<!--redemarrage des services divalto-->
<install cmd='c:\divalto\sys\xDivaltoRestart.exe -start' ><exit code='any'/></install>
<install cmd='c:\divalto\sys\xDivaltoSelectEnv.exe /env:"socofer"' ><exit code='any'/></install>
<upgrade include="install" />
</package>