Changes

Jump to: navigation, search

QSR NVivo 7

130 bytes added, 15:09, 30 March 2008
m
no edit summary
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.
'''dcom_fix.reg'''
<PREsource lang="reg">
Windows Registry Editor Version 5.00
@="InstallShield InstallDriver"
"RunAs"=""
</PREsource>
'''qsr.reg'''
<PREsource lang="reg">
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\QSR\NV\7\License]
"XXXXX-XXXXX-XXXXX-XXXXX"=""
</PREsource>
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'''
<PREsource lang="dos">
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"
</PREsource>
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.
'''runme.bat'''
<PREsource lang="dos">
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"
</PREsource>
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
<PREsource lang="xml">
<package id="nvivo"
name="QSR Nvivo 7"
<remove cmd='MsiExec.exe /X{2750B389-A2D2-4953-99CA-27C1F2A8E6FD} /qn- ' />
</package>
</PREsource>
[[Category:Silent_Installers]]

Navigation menu