How to perform a silent install of OCLC Connexion client 2.63 and its auto-fix
- OCLC Connexion client 2.63
We want to accomplish two things
- Silently install Connexion client 2.63 and
- Silently install its auto-fix
Silently install Connexion client 2.63
First, we need to extract the Connexion.msi package from the client installer. We will use the free 7-Zip archiver as our extraction tool.
1. Download Connexion client 2.63 and the auto-fix.
2. Copy the Connexion installer to a temp work folder, e.g., c:\temp.
3. Assuming 7-Zip is installed, right-click the client 2.63 installer and choose 'Extract Here'.
4. Delete everything except: Connexion.msi.
Attached to this article is a command script to silently install client 2.63 to the All Users group using ALLUSERS=1. Download it to your desktop.
The command file is commented with possible parameters. The very last line is what gets executed. For this example, the Connexion.msi file is in the c:\temp folder. Place the InstallAll.cmd script in the same folder.
The InstallAll script was renamed to .txt to store in the help center. Rename it to .cmd after downloading, and before running it.
The example uses the /qb switch which shows a Cancel button and a minimal UI during the automatic install. Change it to /qn for no UI.
Silently install the auto-fix for the client
This will require a little prerequisite work. We will extract two files from the auto-fix executable. Using the C:\Temp example from above.
- If not already done, copy the auto-fix executable into the temp folder.
- From a command prompt, issue the command Auto-fixOCLC-ConnexionClient2.63 /c.
- When prompted for a path to extract the files, browse to the temp folder and click OK.
You will now find a small CMD file and the SDB definition that fixes the client. You can delete the auto-fix executable from the folder at this point. Right-click the CMD file and click Edit to view the contents. The 'sdbinst' line near the bottom does all the work. Change it for your needs.
For example (this assumes you have the CMD and SDB files both in the current temp folder):
SDBInst -q "Auto-fix OCLC Connexion client 2.63.sdb"
So, you could combine both commands in the InstallAll.cmd file to silently install the client, then apply the sdb auto-fix. Assuming the MSI and SDB files are in the same folder.
- MSIExec /i Connexion.msi /qb ALLUSERS=1
- SDBInst -q "Auto-fix OCLC Connexion client 2.63.sdb"
The final temp folder would look like this:
Auto-fix OCLC Connexion client 2.63.sdb
The CMD file for the auto-fix can be deleted because we’re adding the SDBInst line to the InstallAll file.
The above assumes you're running the commands from an elevated command prompt (no UAC intervention).