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
MSM Integration - x86 on x64
Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Tracker Supp-Stefan
- 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
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.
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.