App-V Recipe: Foxit PhantomPDF Business

Application Name: PanthomPDF Business box-phantom-business

Application Version: v6

Download: PhantomPDF

Install Directory: C:\Program Files (x86)\Foxit Software\Foxit PhantomPDF

Sequencing OS used: Windows 7 64-bit

Sequencer Version: 5.0 SP2 Hotfix 4

Exclusions Added: [{AppDataLow}]

Preparing the Sequencing VM

Create a Response Transform for FoxitPhantomPDF621_Business_enu_Setup.msi using your favorite MSI editor e.g. Wise Package Studio, Installshield. When capturing the Install options, select a custom Install and select the following features:



When the Install steps have been captured, go through files and delete all files except those shown in this screenshot



The reason for this is because certain files are leveraged during the install and also the files required for the Print Drivers should be contained for the install.




Delete the DoCountInstallation_Phantom Custom Action

This is a quick and lazy way to create an installer for just the PDF Print Driver.

Copy the FoxitPhantomPDF621_Business_enu_Setup.msi to the VM

Note: If you’d like to include the Print Driver for Evernote, select that in the install and leave the Evernote Component\Files in the installation package

Begin Sequencing

Launch Sequencer and Click Next until you get to the below screen



Select to Perform a custom installation and Click Next >



Enter a Package Name and Enter a Dummy Folder as the Primary Virtual Application Directory. Then Click Next >



Click Next



Click ‘I accept the terms in the License Agreement’ and Click Next



Click Custom and Next



Remove the Evernote Feature and Click Next



Only check the Create a Start Menu Folder and Click Install



Click Finish



Uncheck the box and Click No



Click File–>Change Tool Bar



Select Classic Toolbar Mode and when prompted click on Restart Now. Copy your fpmkey.txt file to C:\Program Files (x86)\Foxit Software\Foxit PhantomPDF\



Click Next >



Click Next >



Click Stop Now and then Click Next >



Click ‘Continue to modify package without saving using the package editor’ and Click Next >



Click Close



Under Package Files, navigate to Windows\Installer and delete the cached MSI



Under Shortcuts and FTAs and delete the Activaton.

In order to Disable the Check for Updates option you will need to deploy a Group Policy Object. You can download the GPO: HERE you can then select to Remove the Updater.

You can of course deploy the PDF Printer Package MSI and MST using your method of choice, if you’d like to ensure the App-V package installs the PDF Printer when the application is added to the Client, I suggest creating two bat files, one called Install.bat with the contents:

msiexec /i <Path>\FoxitPhantomPDF621_Business_enu_Setup.msi TRANSFORMS=<Path>\<TransformsName>.mst /qn

Create an Uninstall.bat with the contents:

msiexec /x <Path>\FoxitPhantomPDF621_Business_enu_Setup.msi TRANSFORMS=<Path>\<TransformsName>.mst /qn

You could Add these scripts to the package and then Save.

Modify the Deployment Configuration XML file:

<Wait RollbackOnError=”true” Timeout=”540″/>
<Wait RollbackOnError=”false” Timeout=”240″/>

Ensure your clients have enable PackageScripts to run and then Deploy using Global Publishing e.g.:

Add-AppVClientPackage -Path “<Path>\MyApp.appv” -DynamicDeploymentConfiguration “<Path>\CustomDeploymentConfig.xml” | Publish-AppVClientPackage -Global

For a better example, take a look at my previous App-V recipe for SQL Management Studio: HERE


Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.