Hi, I have a package in which the MFC and MSVCRT runtime libraries are needed. So I decided to use Microsoft's merge modules... so far so good... The problem is that I have a custom action that calls an executable which needs these MFC and Runtime libraries to be installed.
I'm calling the custom action in the following way : <CustomAction Id='ConfigureIumdPwd' ExeCommand='-rs' FileKey='rclPwdInput.exe' Execute='deferred' Return='check' /> <InstallExecuteSequence> <Custom Action='ConfigureIumdPwd' Before='StartServices'>NOT Installed</Custom> </InstallExecuteSequence> It seems (am I wrong) that the 'rclPwdInput.exe won't start because the merge modules haven't been installed yet. The merge modules are inserted in the package through: <Merge Id="VC80_CRT" Language="1033" SourceFile="$(var.VCMSMDIR)/Microsoft_VC80_CRT_x86.msm" DiskId="1" /> <Merge Id="VC80_MFC" Language="1033" SourceFile="$(var.VCMSMDIR)/Microsoft_VC80_MFC_x86.msm" DiskId="1" /> <Merge Id="VC80_MFCLOC" Language="1033" SourceFile="$(var.VCMSMDIR)/Microsoft_VC80_MFCLOC_x86.msm" DiskId="1" /> <Merge Id="VC80_CRT_policy" Language="1033" SourceFile="$(var.VCMSMDIR)/policy_8_0_Microsoft_VC80_CRT_x86.msm" DiskId="1" /> <Merge Id="VC80_MFC_policy" Language="1033" SourceFile="$(var.VCMSMDIR)/policy_8_0_Microsoft_VC80_MFC_x86.msm" DiskId="1" /> <Merge Id="VC80_MFCLOC_policy" Language="1033" SourceFile="$(var.VCMSMDIR)/policy_8_0_Microsoft_VC80_MFCLOC_x86.msm" DiskId="1" /> Are the merge modules installed after 'StartServices'? PS : I really need to use the MFC DLLs. I cannot link the executable statically... Is there a way to get out of this? Thanks Fred ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users