The merge modules don't get installed as msm files - they get merged into
the MSI and their content is installed, so basically you're just looking
for the Dlls. Installed location  can vary depending on the OS.   A verbose
log will tell you where.

Phil Wilson


On Fri, Aug 30, 2013 at 2:55 AM, nkshirsagar <nkshirsa...@gmail.com> wrote:

> Hello folks..
>
> How do I test whether the merge modules for the visual c++ redistributable
> are succesully installed on the machine ? I did uninstall the visual c++
> redist runtime from the target machine and after installing my wix
> generated
> msi, seems like things are working well.. but just to confirm, where do
> these .msm files go? I can't see them in the folder I chose for installing
> my other files.. so do they get installed somehow as dll's on the target
> machine ? Can I verify that this has happened ?
>
> I'm not even sure if I've put the merge modules in the right place in my
> .wxs file.. I would be very grateful if someone could verify the .wxs file
> .. I'm pasting it below ..
>
> <?xml version="1.0" encoding="UTF-8"?>
> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi";>
>
>         <Product Id="*" Name="SolidFire Hardware Provider" Language="1033"
> Version="1.0.0.0" Manufacturer="SolidFire"
> UpgradeCode="0c60967f-f184-4b8b-a96a-b1caa4a8879e">
>
>     <Package InstallerVersion="200" Compressed="yes"
> InstallScope="perMachine" />
>
>     <Condition Message=
>      "You need to be an administrator to install this product.">
>       Privileged
>     </Condition>
>
>     <MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName]
> is
> already installed." />
>                 <MediaTemplate EmbedCab='yes'/>
>     <PropertyRef Id="NETFRAMEWORK45"/>
>
>     <Condition Message="This application requires .NET Framework 4.5.
> Please
> install the .NET Framework then run this installer again.">
>
>     </Condition>
>                 <Feature Id="ProductFeature" Title="InstallProvider"
> Level="1">
>                         <ComponentGroupRef Id="ProductComponents" />
>                 </Feature>
>     <Feature Id="VCRedistcrt" Title="Visual C++ Runtime"
> AllowAdvertise="no"
> Display="hidden" Level="1">
>       <MergeRef Id="VCRedistcrt"/>
>     </Feature>
>     <Feature Id="VCRedist" Title="Visual C++ Runtime" AllowAdvertise="no"
> Display="hidden" Level="1">
>       <MergeRef Id="VCRedistatl"/>
>     </Feature>
>
>
>     <Property Id="WIXUI_INSTALLDIR" Value="INSTALLFOLDER" ></Property>
>
>     <UIRef Id="WixUI_InstallDir"/>
>
>     <InstallExecuteSequence>
>       <Custom Action="RunInstallScript" After="InstallFiles" >NOT
> Installed</Custom>
>     </InstallExecuteSequence>
>     <InstallExecuteSequence>
>       <Custom Action='BeforeUninstall' Before='InstallValidate'>Installed
> AND (NOT REINSTALL)</Custom>
>     </InstallExecuteSequence>
>     <CustomAction Id="RunInstallScript" ExeCommand="cmd /c
> install-solidfireprovider.cmd" Directory="INSTALLFOLDER" Execute="deferred"
> Return="check"/>
>     <CustomAction Id="BeforeUninstall" ExeCommand="cmd /c
> uninstall-solidfireprovider.cmd" Directory="INSTALLFOLDER"
> Execute="immediate" Return="check"/>
>
>
>   </Product>
>
>   <Fragment>
>     <DirectoryRef Id="TARGETDIR">
>       <Merge Id="VCRedistatl" SourceFile="$(env.CommonProgramFiles)\Merge
> Modules\Microsoft_VC110_ATL_x64.msm" DiskId="1" Language="0"/>
>     </DirectoryRef>
>   </Fragment>
>
>   <Fragment>
>     <DirectoryRef Id="TARGETDIR">
>       <Merge Id="VCRedistcrt" SourceFile="$(env.CommonProgramFiles)\Merge
> Modules\Microsoft_VC110_CRT_x64.msm" DiskId="1" Language="0"/>
>     </DirectoryRef>
>   </Fragment>
>         <Fragment>
>                 <Directory Id="TARGETDIR" Name="SourceDir">
>                         <Directory Id="ProgramFiles64Folder">
>                                 <Directory Id="INSTALLFOLDER"
> Name="solidfireinstall" />
>                         </Directory>
>
>
>                 </Directory>
>         </Fragment>
>
>         <Fragment>
>
>
>                 <ComponentGroup Id="ProductComponents"
> Directory="INSTALLFOLDER">
>
>                         <Component Id="ProductComponent">
>
>         <File Id="restinterfacedll.dll"
>
> Source="..\vssprovider\x64\$(var.build)\RESTInterfacedll.dll"></File>
>                          </Component>
>
>       <Component Id="vssdll">
>         <File Id="vsssolidfireprovider.dll"
>           Source="..\vssprovider\x64\$(var.build)\vsssolidfireprovider.dll"
> ></File>
>
>
>       </Component>
>
>       <Component Id="installscript">
>         <File Id="installscript"
>           Source="install-solidfireprovider.cmd"></File>
>       </Component>
>
>       <Component Id="uninstallscript">
>         <File Id="uninstallscript"
>           Source="uninstall-solidfireprovider.cmd"></File>
>       </Component>
>
>       <Component Id="registerprovider">
>         <File Id="registerprovider"
>           Source="register_app.vbs"></File>
>       </Component>
>
>
>       <Component Id="vshadow">
>         <File Id="vshadow"
>           Source="vshadow.exe"></File>
>       </Component>
>                 </ComponentGroup>
>         </Fragment>
>
>
> </Wix>
>
>
>
> --
> View this message in context:
> http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/visual-c-redist-merge-modules-how-to-test-tp7588633.html
> Sent from the wix-users mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
> Discover the easy way to master current and previous Microsoft technologies
> and advance your career. Get an incredible 1,500+ hours of step-by-step
> tutorial videos with LearnDevNow. Subscribe today and save!
> http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to