Hello!

I need to install VC11 runtime, but specific version: 11.0.61030.0. I
implement it in this way:

        <util:ProductSearch
            Guid="$(var.ProductGuidBsVC11)"
            Result="state"
            Variable="VC11ProductState" />

        <PackageGroup Id="VC11PackageGroup">
            <ExePackage Id="VC11Package"
                Compressed="no"
                SourceFile="$(var.DirBsPackagesVC11)\vcredist_x64.exe"
                Name="VC11\vcredist_x64.exe"
                Description="Microsoft Visual C++ 2012 x64 Minimum Runtime"
                DetectCondition="VC11ProductState &lt;&gt; 2"
                InstallCommand="/q"
                RepairCommand="/q /repair"
                UninstallCommand="/q /uninstall"
                InstallCondition="VersionNT >= v5.1"
                Permanent="yes"
            />
        </PackageGroup>

It works perfect, but in some conditions I've got troubles. Suppose that
older version on VC11 is already installed (11.0.50727.01). What happens in
this case:
* Burn detects that package IS installed (probably, product code of
11.0.61030.0 and 11.0.50727.01 is same)
* Burn does NOT install 11.0.61030.0 since it is installed
* My application refuses to install because VC11 is older than 11.0.61030.0.

How to fix it? It wood be good to replace somehow old version of VC11 with
package in bootstrapper, but how to do it?
I found that I can install new VC11 if I do "repair" on it. But how to
"repair" VC11 by Burn?
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to