Windows Tools

CompatAdmin Examples

Overview | Notes | UI | Examples | Related Tools

Example 1: Create a Custom Fix Database

The following example uses CompatAdmin to create a custom .sdb containing the fixes for Demoapp.exe. It takes the fix information determined in Example 1: Fix a Windows 95 Application from QFixApp and adds it to a new custom fix database.

Select Database|Change Database name . Name the database "MyCustomDatabase." The database name is now displayed at the top of the Custom Database pane.

Select File|Save and name your .sdb file Mydb.sdb. Click Save.

You are ready to add the fixes for DemoApp to the custom .sdb file. Select Database|Create Application Fix . The Create an application fix dialog is displayed.

Type DemoApp as the name of the application, and then click Next.

Click Browse and locate Demoapp.exe on your computer. Select Demoapp.exe and click OK.

You determined what fixes you want to apply to Demoapp.exe by using QFixApp. Select the following fixes that were determined necessary to Demoapp.exe: CorrectFilePaths, EmulateCreateProcess, EmulateGetCommandLine, EmulateGetDiskFreeSpace, IgnoreLoadLibrary, MapMemoryB0000, and Win95VersionLie.

Click Next.

Click Add file, and select Demoapp.hlp that is in the same directory as Demoapp.exe. Click OK.

We already tested the fixes with DemoApp using QFixApp, so click Finish.

Select File|Save to save the addition to your custom fix database.

Example 2: Deploy a Custom Fix Database

The following example uses the Mydb.sdb file that you created in Example 1: Create a Custom Fix Database. Now that you are ready to deploy the fixes to other users, copy Mydb.sdb to a shared volume in your company.

Create an email message notifying users that the fix is available. Include a link to the file in the email message. When a user clicks on the link, the .sdb file will automatically update the target computer with the fixes contained in Mydb.sdb.