Difference between revisions of "Divalto infinity"
From WPKG | Open Source Software Deployment and Distribution
(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...") |
(No difference)
|
Revision as of 15:49, 3 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"><!-- 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='"%SOFTWARE%\Divalto\Divalto Infinity 7.2 CD204C du 09_10_2013\plus\disk1\installdivalto.exe" /QUIET /DEFAULTSERVER:"SRVERP" /FORCEUSER:" " ' />
<!-- on attend qq secondes-->
<install cmd='"%SOFTWARE%\Divalto\temps.bat"' ><exit code='any'/></install>
<!--arret des services divalto-->
<install cmd='c:\divalto\sys\xDivaltoRestart.exe -stop' />
<!-- copie des fichiers de config pour install silencieuse-->
<install timeout="1000" cmd='xcopy /Y "%SOFTWARE%\Divalto\sys\*.*" c:\divalto\sys\*.* >%TEMP%\install-log.txt 2>&1'/>
<!--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 "%SOFTWARE%\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-->
<!-- raz variable x_user
<install cmd='wscript.exe "%SOFTWARE%\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\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\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\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\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\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\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' />
<!--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" />