Chemoffice

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search

Cambridgesoft ChemOffice / ChemBioOffice / ChemInventory / e-Notebook. Some parts rely on Microsoft SQL Server 2008 Express.

References to a registry file "cbou13.reg" which was obtained from CambridgeSoft (Perkin Elmer now have the trade) and which does non-interactive activation for us. (No, we can't share it, sorry; ask your account manager...)

Installers

ChemOffice Desktop is relied upon by other packages

ChemOffice Desktop

<package id="chemoffice" name="CambridgeSoft ChemBioOffice" revision="%version%.1" priority="0" reboot="false">
<variable name="version" value="13.0" />

<check type="uninstall" condition="versiongreaterorequal" path="CambridgeSoft ChemBioOffice 2012" value="%version%" />

<install cmd='msiexec /i /qn "%SOFTWARE%\cambridgesoft.com\chemoffice\2012\Cambridgesoft_Desktop_2012.msi"' />
<install cmd='%software%\wpkg\tools\addregfile.cmd %software%\chemoffice\CBOU13.reg' />

<upgrade include='install' />

<remove cmd='msiexec.exe /x{535CDE5A-39D6-46EE-B6E5-9F38D0664D97} /qn' />

</package>

ChemScript

<package id="chemscript" name="CambridgeSoft ChemScript" revision="%version%.1" reboot="false" priority="10">
   <depends package-id="chemoffice" />
   <variable name="version" value="13.0" />
   <check type="uninstall" condition="exists" path="CambridgeSoft ChemScript %version%" />
 
   <install cmd='msiexec /qn /i "%SOFTWARE%\cambridgesoft.com\chemoffice\2012\Cambridgesoft_ChemScript_13.0.msi"'/>
   <install cmd='%software%\wpkg\tools\addregfile.cmd "%software%\cambridgesoft.com\chemoffice\2012\cbou13.reg"' />
 
   <remove cmd='msiexec /qn /x{B5E0CD7D-992D-4345-BD66-EC580CFA15D1}'><exit code='1605'/></remove>
 
</package>

E-Notebook

<package id="enotebook" name="CambridgeSoft E-Notebook" revision="%version%.1" reboot="false" priority="10">
    <depends package-id="chemoffice" />
    <depends package-id="sqlserver2008sp3exp" />
    <variable name="version" value="13.0.1" />
    <check type="uninstall" condition="exists" path="CambridgeSoft E-Notebook 13.0.1 Client" />
 
    <install cmd='msiexec /qn /i "%SOFTWARE%\cambridgesoft.com\chemoffice\2012\CambridgeSoft_Desktop_ENotebook_13.0.msi"'/>
    <install cmd='%software%\wpkg\tools\addregfile.cmd "%software%\cambridgesoft.com\chemoffice\2012\cbou13.reg"' />
 
    <remove cmd='msiexec /qn /x{1E6FC31C-315E-4129-8140-67E7E618BF6E}'>
        <exit code='1605'/>
    </remove>
 
</package>

ChemInventory

<package id="cheminventory" name="CambridgeSoft ChemInventory" revision="%version%.1" reboot="false" priority="10">
    <depends package-id="chemoffice" />
    <depends package-id="sqlserver2008sp3exp" />
    <variable name="version" value="13.0" />
    <check type="uninstall" condition="exists" path="CambridgeSoft Desktop Inventory %version%" />
 
    <install cmd='msiexec /qn /i "%SOFTWARE%\cambridgesoft.com\chemoffice\2012\CambridgeSoft_Desktop_Inventory_13.0.msi"'/>
    <install cmd='%software%\wpkg\tools\addregfile.cmd "%software%\cambridgesoft.com\chemoffice\2012\cbou13.reg"' />
 
    <remove cmd='msiexec /qn /x{C13DDA66-6AF3-4BFE-91C2-1D54B5A6C169}'>
        <exit code='1605'/>
    </remove>
 
</package>