QSR NVivo 9

QSR International have two useful guides on their website you can Google, "NVivo9-Network-Administrators-Guide.pdf" and "NVivo9-SCCM-Deployment-Guide.pdf".

In these documents are listed an installation matrix with the pre-requisites (depends) all of which are already packages available here on WPKG. The documents include hyperlinks to the full download files for both x32 and x64 versions of the latest NVivo 9 plus the pre-requisite installers. The only other things you need are the PIDKEY for your organisation and an activation.xml file.

Extract the full NVivo 9 installers using /a to create admin install points. I put them as separate x32 and x64 sub folders and put the corresponding x32 and x64 MS SQL server 2008 installer in the each folder.

 <package id="nvivo"
        name="QSR Nvivo 9"
        revision="%version%"
        reboot="false"
        priority="0">
        <variable name="version" value="9.2"/>
        <depends package-id="dotnet35sp1"/>
        <depends package-id="winstaller45" os="windows.+5\.\d{1}\.\d{4}"/>
        <depends package-id="quicktime" os="windows.+5\.\d{1}\.\d{4}" />
        <depends package-id="wmp11" os="windows.+5\.\d{1}\.\d{4}"/>
        <check type="uninstall" condition="exists" path="QSR NVivo %version%" />
        <!-- x64 covers W7x64 and x86 covers W7x32/XP -->
        <install architecture="x64" os="windows.+6\.\d{1}\.\d{4}" cmd='%SOFTWARE%\NVivo92\x64\SQLEXPR_x64_ENU.exe /ACTION=INSTALL /FEATURES=SQLEngine /INSTANCENAME=QSRNVivo9 /SQLCOLLATION=Latin1_General_BIN /SQLSVCSTARTUPTYPE=Automatic /SQLSVCACCOUNT="NT AUTHORITY\NETWORK SERVICE" /SQLSYSADMINACCOUNTS="BUILTIN\ADMINISTRATORS" /IAcceptSQLServerLicenseTerms="True" /Q ' />
        <install architecture="x86" cmd='%SOFTWARE%\NVivo92\x32\SQLEXPR_x86_ENU.exe /ACTION=INSTALL /FEATURES=SQLEngine /INSTANCENAME=QSRNVivo9 /SQLCOLLATION=Latin1_General_BIN /SQLSVCSTARTUPTYPE=Automatic /SQLSVCACCOUNT="NT AUTHORITY\NETWORK SERVICE" /SQLSYSADMINACCOUNTS="BUILTIN\ADMINISTRATORS" /IAcceptSQLServerLicenseTerms="True" /Q ' />
        <!-- Remove hyphens from PIDKEY for initial install then activate with -a, x64 covers W7x64 and x86 covers W7x32/XP -->
        <install architecture="x64" os="windows.+6\.\d{1}\.\d{4}" cmd='msiexec /i "%SOFTWARE%\NVivo92\x64\QSR NVivo 9.2.msi" PIDKEY="BIGLONGPIDKEY" QSR_DESKTOP_APPLICATION=1 QSR_UI_DEACTIVATION=0 QSR_UPDATE_NOTIFICATIONS=0 /qn' />
        <install architecture="x86" cmd='msiexec /i "%SOFTWARE%\NVivo92\x32\QSR NVivo 9.2.msi" PIDKEY="BIGLONGPIDKEY" QSR_DESKTOP_APPLICATION=1 QSR_UI_DEACTIVATION=0 QSR_UPDATE_NOTIFICATIONS=0 /qn' />
        <!-- W7x64 and W7x32/XP path should be just PROGRAMFILES for both so no ARCH/OS needed -->
        <install cmd='%PROGRAMFILES%\QSR\NVivo 9\nvivo.exe -a %SOFTWARE%\NVivo92\nvivo9Activation.xml' />
        <!-- To renew with a new code you must 'extend' using -e and hyphens must be included in code and then activate again with -a -->
        <!-- W7x64 and W7x32/XP path should be just PROGRAMFILES for both so no ARCH/OS needed -->
        <upgrade cmd='%PROGRAMFILES%\QSR\NVivo 9\nvivo.exe -e BIG-LONG-PID-KEY ' />
        <upgrade cmd='%PROGRAMFILES%\QSR\NVivo 9\nvivo.exe -a %SOFTWARE%\NVivo92\nvivo9Activation.xml' />
        <!-- MS SQL Server uninstall -->
        <remove cmd='"%PROGRAMFILES%\Microsoft SQL Server\100\Setup Bootstrap\SQLServer2008R2\setup.exe" Setup.exe /Action=Uninstall /FEATURES=SQL,AS,RS,IS,Tools /INSTANCENAME=QSRNVivo9 /Q ' />
        <!-- NVivo9 uninstall -->
        <remove cmd='MsiExec.exe /X{82184A1C-52B8-438F-A79B-8D7580114987} /qn' />
 </package>

My nvivo9Activation.xml looks like this:

 <?xml version="1.0" encoding="utf-8" standalone="yes"?>
 <Activation>
  <Request>
    <FirstName>Firstname</FirstName>
    <LastName>Surname</LastName>
    <Email>ouremail@org.uk</Email>
    <Organization>University of </Organization>
    <Department>Department</Department>
    <AddressLine1> </AddressLine1>
    <AddressLine2> </AddressLine2>
    <City>City</City>
    <State>West </State>
    <Country>UK</Country>
    <Zipcode>my postocode</Zipcode>
    <Fax>Fax number</Fax>
    <Phone>Phone number</Phone>
  </Request>
 </Activation>