8
edits
Changes
no edit summary
<source lang="xml">
<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" />
<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='"%SOFTWARESOFTWARE2%\Divalto\Divalto Infinity 7.2 CD204C du 09_10_2013\plus\disk1\installdivalto.exe" /QUIET /DEFAULTSERVER:"SRVERP" /FORCEUSER:" " ' /><!-- on attend qq secondes1 minute pour que l install se termine--><install cmd='"%SOFTWARE%\Divalto\tempsPING 127.bat"0.0.1 -n 60 >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 timeout="1000" cmd='xcopy /Y "%SOFTWARESOFTWARE2%\Divalto\sys\*.*" c:\divalto\sys\*.* >'/><install cmd='xcopy /Y "%TEMPSOFTWARE2%\install-logDivalto\sys1\*.txt 2>&1*" c:\divalto\sys\*.*'/>
<!--copie du raccourci sur le bureau et menu demarre-->
<install os=".+6\.[0-3]\.\d{4}" cmd='xcopy /Y "%SOFTWARESOFTWARE2%\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 "%SOFTWARESOFTWARE2%\Divalto\Divalto7.2.lnk" "%PUBLIC%\Desktop\*.*"' ><exit code="any" /></install> <!-- pour vista et +--><install os=".+5\.[1-2]\.\d{4}" cmd='xcopy /Y "%SOFTWARESOFTWARE2%\Divalto\Divalto7.2.lnk" "%ALLUSERSPROFILE%\Bureau\*.*"' ><exit code='any'/></install> <!-- pour winXP-->
<!-- raz variable x_user
<install cmd='wscript.exe "%SOFTWARESOFTWARE2%\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'/>
<!-- 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\wpkgEnabledivaltoenv1wpkgEnabledivaltoenv2" /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\wpkgEnabledivaltoenv1wpkgEnabledivaltoenv3" /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\wpkgEnabledivaltoenv1wpkgEnabledivaltoenv4" /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\wpkgEnabledivaltoenv1wpkgEnabledivaltoenv5" /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\wpkgEnabledivaltoenv1wpkgEnabledivaltoenv6" /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\wpkgEnabledivaltoenv1wpkgEnabledivaltoenv7" /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>