First, you'll need to download the .msi (Special Installation Only) from Quest.com. If your Oracle client is 32-bit download the 32-bit version, else download the 64-bit.
Retrieve the license .xml file
- Install manually the .msi
- Launch the application and register the license key (Site message, License key)
- Close the application, copy the file ProductLicenses.xml from this folder:
%LOCALAPPDATA%\{08439167-4CA5-48E9-A810-A3A7C0B80B06}
*Put the .xml file with your .msi file.
Create an .MST file
With the help of an .msi file editor as Orca, InstEd, etc. In this example we'll use Orca.
- Right-click on the .msi file, choose Edit with Orca
- In the top menu, choose Transform -> New Transform...
- In the Directory Table, create a new Row for the Common AppData (C:\ProgramData);
- Directory: CommonAppDataFolder
- Directory_Parent: TARGETDIR
- DefaultDir: .
- Still in the Directory Table, create a new Row for licenses directory (C:\Programdata\{08439167-4CA5-48E9-A810-A3A7C0B80B06});
- Directory: DirProductLicenses
- Directory_Parent: CommonAppDataFolder
- DefaultDir: {08439167-4CA5-48E9-A810-A3A7C0B80B06}
- Move to the File Table, add a new Row for the ProductLicenses.xml;
- File: ProductLicenses.xml
- Component_: ProductLicenses.xml
- FileName: ProductLicenses.xml
- FileSize: 314 (from the file properties)
- Attributes: 8192
- Sequence: 595 (Increment the last existing sequence number)
- In the Component Table add the following row;
- Component: ProductLicenses.xml
- ComponentId: {01A64F7E-2CCC-4E44-95B9-D9F2DB1D4F06} (Use one generated from a GUID generator like https://guidgenerator.com/, the GUID must be UPPERCASE)
- Directory_: DirProductLicenses
- Attributes: 0
- KeyPath: ProductLicenses.xml
- In the FeatureComponents Table, add the following row;
- Feature: Toad_Full_Install
- Component: ProductLicenses.xml
- In the Media Table, add the following row;
- DiskId: 3 (Increment the highest existing value in the Media Table)
- LastSequence: 595 (use the same value as the added value in the File Table)
- DiskPrompt: LABEL
- In the top menu, choose Transform -> Generate Transform... (Save in the same folder as the .msi file and .xml).
Now you should be able to deploy the application with a valid license with your favourite deployment software:
msiexec /i ToadforOracle_GA_13.xxxx.msi TRANSFORMS=ToadforOracle_GA_13.xxxx.mst /qn /norestart
Setup Type: Windows Installer (MSI)
Deployment Method Used: Windows Installer with Custom Transform (MST)
Deployment Difficulty:
Average
Platform(s): Windows