Difference between revisions of "QSR NVivo 7"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
m
m
 
Line 1: Line 1:
 +
This is a silent installer for QSR NVivo 7.
 +
 
I won't claim this is all my own work.  I built this with help from the appdeploy.com article for NVivo 7 and here http://se-control.co.uk/ADNvivo7SP4.aspx.  I think my version is NVivo 7.04.
 
I won't claim this is all my own work.  I built this with help from the appdeploy.com article for NVivo 7 and here http://se-control.co.uk/ADNvivo7SP4.aspx.  I think my version is NVivo 7.04.
  
Line 4: Line 6:
  
 
'''dcom_fix.reg'''
 
'''dcom_fix.reg'''
<PRE>
+
<source lang="reg">
 
Windows Registry Editor Version 5.00
 
Windows Registry Editor Version 5.00
  
Line 10: Line 12:
 
@="InstallShield InstallDriver"
 
@="InstallShield InstallDriver"
 
"RunAs"=""
 
"RunAs"=""
</PRE>
+
</source>
  
 
'''qsr.reg'''
 
'''qsr.reg'''
<PRE>
+
<source lang="reg">
 
Windows Registry Editor Version 5.00
 
Windows Registry Editor Version 5.00
  
Line 28: Line 30:
 
[HKEY_LOCAL_MACHINE\SOFTWARE\QSR\NV\7\License]
 
[HKEY_LOCAL_MACHINE\SOFTWARE\QSR\NV\7\License]
 
"XXXXX-XXXXX-XXXXX-XXXXX"=""
 
"XXXXX-XXXXX-XXXXX-XXXXX"=""
</PRE>
+
</source>
  
 
Next create a couple of batch files, these copy files to the 'Program Files\QSR\NVivo 7' folder so that you can extract user config files and make icons without the need of WPKG.  Also get shortcut.exe from here http://www.optimumx.com/download/
 
Next create a couple of batch files, these copy files to the 'Program Files\QSR\NVivo 7' folder so that you can extract user config files and make icons without the need of WPKG.  Also get shortcut.exe from here http://www.optimumx.com/download/
  
 
'''copyfiles.bat'''
 
'''copyfiles.bat'''
<PRE>
+
<source lang="dos">
 
copy /y "\\myserver.com\wpkg\files\nvivo\nvivo.cab" "%PROGRAMFILES%\QSR\NVivo 7"
 
copy /y "\\myserver.com\wpkg\files\nvivo\nvivo.cab" "%PROGRAMFILES%\QSR\NVivo 7"
 
copy /y "\\myserver.com\wpkg\files\nvivo\runme.bat" "%PROGRAMFILES%\QSR\NVivo 7"
 
copy /y "\\myserver.com\wpkg\files\nvivo\runme.bat" "%PROGRAMFILES%\QSR\NVivo 7"
 
copy /y "\\myserver.com\wpkg\files\shortcut.exe" "%PROGRAMFILES%\QSR\NVivo 7"
 
copy /y "\\myserver.com\wpkg\files\shortcut.exe" "%PROGRAMFILES%\QSR\NVivo 7"
 
"%PROGRAMFILES%\QSR\NVivo 7\shortcut.exe" "/f:%ALLUSERSPROFILE%\Desktop\NVIVO RUN ME.lnk" "/a:c" "/t:%PROGRAMFILES%\QSR\NVivo 7\runme.bat" "/i:%PROGRAMFILES%\QSR\NVivo 7\nvivo.exe"
 
"%PROGRAMFILES%\QSR\NVivo 7\shortcut.exe" "/f:%ALLUSERSPROFILE%\Desktop\NVIVO RUN ME.lnk" "/a:c" "/t:%PROGRAMFILES%\QSR\NVivo 7\runme.bat" "/i:%PROGRAMFILES%\QSR\NVivo 7\nvivo.exe"
</PRE>
+
</source>
  
 
The above batch file creates a configuration desktop icon for the local user.  The batch file below then expands the config files to the users 'local settings' folder and creates a proper NVivo icon for them to run.
 
The above batch file creates a configuration desktop icon for the local user.  The batch file below then expands the config files to the users 'local settings' folder and creates a proper NVivo icon for them to run.
Line 45: Line 47:
  
 
'''runme.bat'''
 
'''runme.bat'''
<PRE>
+
<source lang="dos">
 
expand "%PROGRAMFILES%\qsr\nvivo 7\nvivo.cab" -f:* "%USERPROFILE%\local settings\application data"
 
expand "%PROGRAMFILES%\qsr\nvivo 7\nvivo.cab" -f:* "%USERPROFILE%\local settings\application data"
 
"%PROGRAMFILES%\qsr\nvivo 7\shortcut.exe" /f:"%USERPROFILE%\Desktop\Nvivo.lnk" /a:c /t:"%PROGRAMFILES%\QSR\NVivo 7\Nvivo.exe"
 
"%PROGRAMFILES%\qsr\nvivo 7\shortcut.exe" /f:"%USERPROFILE%\Desktop\Nvivo.lnk" /a:c /t:"%PROGRAMFILES%\QSR\NVivo 7\Nvivo.exe"
</PRE>
+
</source>
  
 
You still get a 'license' box the first time you run, tell the users to click 'later' and then it does not run next time.
 
You still get a 'license' box the first time you run, tell the users to click 'later' and then it does not run next time.
Line 54: Line 56:
  
 
This is the '''package.xml''' entry
 
This is the '''package.xml''' entry
<PRE>
+
<source lang="xml">
 
<package id="nvivo"
 
<package id="nvivo"
 
name="QSR Nvivo  7"
 
name="QSR Nvivo  7"
Line 77: Line 79:
 
<remove cmd='MsiExec.exe /X{2750B389-A2D2-4953-99CA-27C1F2A8E6FD} /qn- ' />
 
<remove cmd='MsiExec.exe /X{2750B389-A2D2-4953-99CA-27C1F2A8E6FD} /qn- ' />
 
</package>
 
</package>
</PRE>
+
</source>
  
 
[[Category:Silent_Installers]]
 
[[Category:Silent_Installers]]

Latest revision as of 15:09, 30 March 2008

This is a silent installer for QSR NVivo 7.

I won't claim this is all my own work. I built this with help from the appdeploy.com article for NVivo 7 and here http://se-control.co.uk/ADNvivo7SP4.aspx. I think my version is NVivo 7.04.

Read both pages listed above then do an install of the NVivo demo download. Look for the extracted installers in your temp folder (listed in one of the articles above). Export the registry keys recommended in the above articles and put them in .reg files named as I have suggested below..

dcom_fix.reg

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AppID\{DEF67AFC-20D3-4ED3-8DE2-7A14E1C72E28}]
@="InstallShield InstallDriver"
"RunAs"=""

qsr.reg

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\QSR]

[HKEY_LOCAL_MACHINE\SOFTWARE\QSR\NV]

[HKEY_LOCAL_MACHINE\SOFTWARE\QSR\NV\7]
"Install Path"="C:\\Program Files\\QSR\\NVivo 7\\"
"Start Menu"="QSR\\NVivo 7"
"Version"="7.0.281.0"
"Language"="en"

[HKEY_LOCAL_MACHINE\SOFTWARE\QSR\NV\7\License]
"XXXXX-XXXXX-XXXXX-XXXXX"=""

Next create a couple of batch files, these copy files to the 'Program Files\QSR\NVivo 7' folder so that you can extract user config files and make icons without the need of WPKG. Also get shortcut.exe from here http://www.optimumx.com/download/

copyfiles.bat

copy /y "\\myserver.com\wpkg\files\nvivo\nvivo.cab" "%PROGRAMFILES%\QSR\NVivo 7"
copy /y "\\myserver.com\wpkg\files\nvivo\runme.bat" "%PROGRAMFILES%\QSR\NVivo 7"
copy /y "\\myserver.com\wpkg\files\shortcut.exe" "%PROGRAMFILES%\QSR\NVivo 7"
"%PROGRAMFILES%\QSR\NVivo 7\shortcut.exe" "/f:%ALLUSERSPROFILE%\Desktop\NVIVO RUN ME.lnk" "/a:c" "/t:%PROGRAMFILES%\QSR\NVivo 7\runme.bat" "/i:%PROGRAMFILES%\QSR\NVivo 7\nvivo.exe"

The above batch file creates a configuration desktop icon for the local user. The batch file below then expands the config files to the users 'local settings' folder and creates a proper NVivo icon for them to run.

I made my own CAB file of the files in the 'local settings' folder from a test installation and repackaged them using CLTools.msi

runme.bat

expand "%PROGRAMFILES%\qsr\nvivo 7\nvivo.cab" -f:* "%USERPROFILE%\local settings\application data"
"%PROGRAMFILES%\qsr\nvivo 7\shortcut.exe" /f:"%USERPROFILE%\Desktop\Nvivo.lnk" /a:c /t:"%PROGRAMFILES%\QSR\NVivo 7\Nvivo.exe"

You still get a 'license' box the first time you run, tell the users to click 'later' and then it does not run next time.


This is the package.xml entry

<package id="nvivo"
	name="QSR Nvivo  7"
	revision="1"
	reboot="false"
	priority="1">
	<check type="uninstall" condition="exists" path="QSR NVivo 7.0" />
	<install cmd='%SOFTWARE%\nvivo\dotnetfx.exe /q /c:"install.exe /v/qb-" ' >
	<exit code="1603" />
	<exit code="3010" />
	</install>
	<install cmd='%SOFTWARE%\nvivo\sqlexpr.exe /qb ADDLOCAL=ALL SQLAUTOSTART=1 INSTANCENAME="QSRNVivo" SQLCOLLATION="Latin1_General_BIN" requiresmsiengine="1" ' />
	<install cmd='%SOFTWARE%\nvivo\SQLEXPR.exe /qb- INSTANCENAME="QSRNVivo" UPGRADE=SQL_Engine ' />
	<install cmd='msiexec /i %SOFTWARE%\nvivo\CRRedist2005_x86.msi /qb ' />
	<install cmd='msiexec /i %SOFTWARE%\nvivo\ISScript1150.Msi /qb ' />
	<install cmd='cmd /c REGEDIT -S %SOFTWARE%\nvivo\DCOM_FIX.reg ' />
	<install cmd='msiexec /i "%SOFTWARE%\nvivo\QSR NVivo 7.0.msi" QSR_DESKTOP_APPLICATION=0 PIDKEY="NVIVOCODEWITHOUTHYPHENS" /qn ' />
	<install cmd='cmd /c REGEDIT -S %SOFTWARE%\nvivo\qsr.reg ' />
	<install cmd='cmd /c "%SOFTWARE%\nvivo\copyfiles.bat" ' />
	<remove cmd='MsiExec.exe /X{4F260CA1-6FEB-4868-BC3D-CA5BBC9A4630} /qn- ' />
	<remove cmd='MsiExec.exe /X{7C05EEDD-E565-4E2B-ADE4-0C784C17311C} /qn- ' />
	<remove cmd='MsiExec.exe /X{2750B389-A2D2-4953-99CA-27C1F2A8E6FD} /qn- ' />
</package>