Changes

MestReNova

2,285 bytes added, 09:45, 17 December 2014
package for MestReNova
MestReNova is a NMR processing, analysis, simulation and reporting software.

[http://mestrelab.com/software/mnova/download/]

<source lang="xml">

<package
id="mestrenova"
name="MestreNova"
revision="%PKGVERMESTRE%"
priority="51"
reboot="false">

<variable name='PKGVERMESTRE' value='10.0.14381' />
<variable name='BUILDMESTRE' value='14381' />
<variable name="MESTREVER" value="10.0" />

<check type="uninstall" condition="versiongreaterorequal" path="MestReNova %MESTREVER%" value="%PKGVERMESTRE%" />

<install cmd='%COMSPEC% /C if exist "%PROGRAMFILES(x86)%\Mestrelab Research S.L\MestReNova\Uninstall.exe" "%PROGRAMFILES(x86)%\Mestrelab Research S.L\MestReNova\Uninstall.exe" /S'/>

<install cmd='msiexec /i \\%SOFTWARE%\Mestrec\MestReNova-%MESTREVER%.0-%BUILDMESTRE%.msi ADDLOCAL="FtMain,FtNMR,FtNMRPDesk" /qn' ><!-- source has to be adapted -->
<exit code="any" />
</install>
<install cmd='%comspec% /C xcopy /y "%SOFTWARE%\Mestrec\Mnova-ReactionMonitoring-1.1.0.1443.xml" "C:\Users\Default\AppData\Roaming\Mestrelab Research S.L\MestReNova\plugins\"' timeout="30" /><!-- source has to be adapted -->
<install cmd='%comspec% /C xcopy /y "%SOFTWARE%\Mestrec\mestre2.lic" "C:\Users\Default\AppData\Roaming\Mestrelab Research S.L\MestReNova\licenses\"' timeout="30" /><!-- source has to be adapted -->
<install cmd='%comspec% /C xcopy /y "%SOFTWARE%\Mestrec\predic.lic" "C:\Users\Default\AppData\Roaming\Mestrelab Research S.L\MestReNova\licenses\"' timeout="30" /><!-- source has to be adapted -->
<install cmd='%comspec% /C xcopy /y "%SOFTWARE%\Mestrec\qnmr.lic" "C:\Users\Default\AppData\Roaming\Mestrelab Research S.L\MestReNova\licenses\"' timeout="30" /><!-- source has to be adapted -->
<install cmd='%comspec% /C xcopy /y "%SOFTWARE%\Mestrec\reaction.lic" "C:\Users\Default\AppData\Roaming\Mestrelab Research S.L\MestReNova\licenses\"' timeout="30" /><!-- source has to be adapted -->

<upgrade include="install" />

<remove cmd="msiexec.exe /x {2CBEF533-4F0F-3839-AB34-0968BE577941} /qn"/>
<!--
To omit change of GUID when version changes, following line should also work (not tested)
<install cmd='%COMSPEC% /C "%PROGRAMFILES(x86)%\Mestrelab Research S.L\MestReNova\uninst.exe" /S'/>
-->
</package>

</source>

[[Category:Silent Installers]]
4
edits