MSM Integration - x86 on x64

This Forum is for the use of End Users requiring help and assistance for Tracker Software's PDF-XChange Printer Drivers only - Please do not post requests for older versions of PDF-XChange or the PDF-Tools/OFFice2PDF applications here

Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Tracker Supp-Stefan

Post Reply
lightcomp v.o.s.
User
Posts: 1
Joined: Fri Aug 16, 2013 4:05 pm

MSM Integration - x86 on x64

Post by lightcomp v.o.s. »

Dears,
I am preparing installer (MSI) for our product which includes PDF-XChange Drivers. I would like include driver using prepared .MSM files. I am trying to solve situation when user decides to install 32bit version of the MSI on x64 system. I would like not to install PDX-XChange Driver on x64 system and force user to install another package with 64bit driver.

Here is part of my installer script (WIX) for MSM integration:
<DirectoryRef Id="TARGETDIR" >
<Merge Id="VirtualPrinterRedist" SourceFile="$(var.tahitisrcdir)\Externals\PDF-XChange\Driver5_MSM_x86.msm" Language="0" DiskId="1" />
</DirectoryRef>
<Feature Id="VirtualPrinter" Title="Virtual Printer" AllowAdvertise="no" Display="hidden" Level="0">
<MergeRef Id="VirtualPrinterRedist" />
<Condition Level="1">NOT VersionNT64</Condition>
</Feature>

Given solution will not install 32bit driver on 64bit system ( <Condition Level="1">NOT VersionNT64</Condition> ). Problem is with the automatic driver registration defined in your MSM as follows:

CA_RunPrnInst_inst.037E5151_2D6A_4AEC_BE6C_8C58C8EE2A17 | NOT REMOVE ~= "ALL"
CA_RunPrnInst_uninst.037E5151_2D6A_4AEC_BE6C_8C58C8EE2A17 | (Installed AND NOT REINSTALL) OR MsiPatchRemovalList

Custom actions ...RunPrnInst... are called despite the fact that MSM is not installed. Could you recommend me another solution?

My proposal: Could you extend above conditions in x86 version of your MSM to not install/uninstall package on x64 system?
eg:
CA_RunPrnInst_inst.037E5151_2D6A_4AEC_BE6C_8C58C8EE2A17 | (NOT REMOVE ~= "ALL" AND NOT VersionNT64)
CA_RunPrnInst_uninst.037E5151_2D6A_4AEC_BE6C_8C58C8EE2A17 | ( ( (Installed AND NOT REINSTALL) OR MsiPatchRemovalList ) AND NOT VersionNT64 )

Regards, Petr Pytelka
User avatar
Ivan - Tracker Software
Site Admin
Posts: 3549
Joined: Thu Jul 08, 2004 10:36 pm
Location: Vancouver Island - Canada
Contact:

Re: MSM Integration - x86 on x64

Post by Ivan - Tracker Software »

Thanks for the advice. Updated .msm module will be available in few days with new build of the driver.
Tracker Software (Project Director)

When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.
Post Reply