$theTitle=wp_title(" - ", false); if($theTitle != "") { ?>
About Virtualization, VDI, SBC, Application Compatibility and anything else I feel like
Lately I wrote a few articles about fixing bad applications using Compatibility Shims. If you didn’t read them yet, here are the links:
I also described that you can install an Application Compatibility Database using the sdbinst command.
At first I just took a script task in my Altiris Server to deploy the database using sdbinst -q <dbname> but later on I got a better idea.
I decided to build a seperate installer for the Compatibility Database that will upon install launch sdbinst -q and upon uninstall sdbinst -q -u.
I see several advantages to this approach:
You can of course use your utility of choice to create an Installer, below a sample using a free tool called InnoSetup.
First go to the InnoSetup site and download the QuickStart Pack, this includes InnoIde which is a GUI front-end for creating and editing Inno Setup Scripts.
Use the Wizard button to start the Setup Script Wizard and Click Next
Fill in Application Information for the Fix and Click Next:
This is a very simple sample, so we don’t need an Application Folder. You may wish to create one and copy the database into that folder.
Deselect the #define options:
Click Next until you can Finish, now you have created a Project.
Go to Install Actions and select New Install Run Action:
And add an Uninstall Action and Select New Run Uninstall Action:
Now use the Compile button to create a setup.exe (in the Output subfolder), use Setup.exe /SILENT to do an UnAttended install.
3 Responses for "Fixing Applications: The Next Step"
Nice stuff again Remko 🙂
[…] Dit blogartikel was vermeld op Twitter door John Carey. John Carey heeft gezegd: RT @RemkoWeijnen: Blogged: Fixing Applications: The Next Step http://bit.ly/fmYWGZ #Citrix […]
[…] Of course you need to distribute and install the Shim to your production environment, more about that here. […]
Leave a reply