[wix-users] Install VC++ 2013 Redist
Edwin Castro
egcastr at gmail.com
Thu Dec 7 09:20:48 PST 2017
What is the ExePackage Id? I expect it is displaying the Id.
--
Edwin G. Castro
On Thu, Dec 7, 2017 at 7:16 AM, Harinatha Narisetty via wix-users <
wix-users at lists.wixtoolset.org> wrote:
> I have set all three properties... it still displays
> "VisualCPlusPlusRedist".. Is there anything I am missing?
>
>
> <PackageGroup Id="VisualCPlusPlusRedist">
> <ExePackage
> DisplayName="Microsoft Visual C++ 2013 Setup"
> Description="Microsoft Visual C++ 2013 Setup"
> InstallCommand="/q /norestart /ChainingPackage
> "[WixBundleName]" /log "[VcRedistFullLog].html""
> RepairCommand="/q /norestart /repair /ChainingPackage
> "[WixBundleName]" /log "[VcRedistFullLog].html""
> UninstallCommand="/uninstall /q /norestart /ChainingPackage
> "[WixBundleName]" /log "[VcRedistFullLog].html""
> PerMachine="yes"
> DetectCondition="!(wix.VcPPRedistDetectCondition)"
> InstallCondition="!(wix.VcPPRedistInstallCondition)"
> Id="VisualCPlusPlusRedist"
> Vital="yes"
> Permanent="yes"
> LogPathVariable="VcRedistFullLog"
> Compressed="no"
> Name="!(wix.VcPPRedistPackageDirectory)vcredist_x64.exe"
> SourceFile="!(wix.VcPPRedistPackageDirectory)vcredist_x64.exe"
> DownloadUrl="https://download.microsoft.com/download/2/E/6/
> 2E61CFA4-993B-4DD4-91DA-3737CD5CD6E3/vcredist_x64.exe"
> >
>
> </ExePackage>
>
> -----Original Message-----
> From: Carlos Sosa [mailto:carlos.sosa.us at outlook.com]
> Sent: Wednesday, December 6, 2017 6:31 PM
> To: Harinatha Narisetty <harinatha.narisetty at us.abb.com>; WiX Toolset
> Users Mailing List <wix-users at lists.wixtoolset.org>
> Subject: RE: Install VC++ 2013 Redist
>
> CAUTION: This email originated from outside of the organization. Do not
> click links or open attachments unless you recognize the sender and know
> the content is safe.
>
>
> Description or Display Name or Name attributes?
>
>
>
> -----Original Message-----
> From: Harinatha Narisetty [mailto:harinatha.narisetty at us.abb.com]
> Sent: Wednesday, December 6, 2017 4:06 PM
> To: Carlos Sosa <carlos.sosa.us at outlook.com>; WiX Toolset Users Mailing
> List <wix-users at lists.wixtoolset.org>
> Subject: RE: Install VC++ 2013 Redist
>
> I have changed as below. It works fine...but it displays the text as "
> VisualCPlusPlusRedist". I want it as " Microsoft Visual C++ 2013"
> What should I change?
>
>
> <?xml version="1.0" encoding="UTF-8"?>
> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:util="
> http://schemas.microsoft.com/wix/UtilExtension">
>
> <Fragment>
> <util:RegistrySearch
> Id="VCPLUSPLUS2013"
> Variable="VCPLUSPLUS2013"
> Root="HKLM"
> Key="SOFTWARE\Microsoft\VisualStudio\12.0\VC\Runtimes\x64"
> Value="Installed"
> Result="value" />
> </Fragment>
>
> <Fragment>
> <util:RegistrySearchRef Id="VCPLUSPLUS2013"/>
> <WixVariable Id="VcPPRedistDetectCondition" Value="VCPLUSPLUS2013
> >= 1" Overridable="yes" />
> <WixVariable Id="VcPPRedistInstallCondition" Value=""
> Overridable="yes" />
> <WixVariable Id="VcPPRedistPackageDirectory" Value="VisualCPlusPlus\"
> Overridable="yes" />
> <PackageGroup Id="VisualCPlusPlusRedist">
> <ExePackage
> DisplayName="Microsoft Visual C++ 2013"
> InstallCommand="/q /norestart /ChainingPackage
> "[WixBundleName]" /log "[VcRedistFullLog].html""
> RepairCommand="/q /norestart /repair /ChainingPackage
> "[WixBundleName]" /log "[VcRedistFullLog].html""
> UninstallCommand="/uninstall /q /norestart /ChainingPackage
> "[WixBundleName]" /log "[VcRedistFullLog].html""
> PerMachine="yes"
> DetectCondition="!(wix.VcPPRedistDetectCondition)"
> InstallCondition="!(wix.VcPPRedistInstallCondition)"
> Id="VisualCPlusPlusRedist"
> Vital="yes"
> Permanent="yes"
> LogPathVariable="VcRedistFullLog"
> Compressed="no"
> Name="!(wix.VcPPRedistPackageDirectory)vcredist_x64.exe"
> SourceFile="!(wix.VcPPRedistPackageDirectory)vcredist_x64.exe"
> DownloadUrl="https://download.microsoft.com/download/2/E/6/
> 2E61CFA4-993B-4DD4-91DA-3737CD5CD6E3/vcredist_x64.exe"
> >
> </ExePackage>
> </PackageGroup>
> </Fragment>
> </Wix>
>
> Thanks
> Hari
>
> -----Original Message-----
> From: Carlos Sosa [mailto:carlos.sosa.us at outlook.com]
> Sent: Wednesday, December 6, 2017 1:04 PM
> To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
> Cc: Harinatha Narisetty <harinatha.narisetty at us.abb.com>
> Subject: RE: Install VC++ 2013 Redist
>
> CAUTION: This email originated from outside of the organization. Do not
> click links or open attachments unless you recognize the sender and know
> the content is safe.
>
>
> Have you tried it, and did it work?
>
>
>
> -----Original Message-----
> From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf
> Of Harinatha Narisetty via wix-users
> Sent: Wednesday, December 6, 2017 10:50 AM
> To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
> Cc: Harinatha Narisetty <harinatha.narisetty at us.abb.com>
> Subject: [wix-users] Install VC++ 2013 Redist
>
> Hi,
> I want to install VC++ 2013 Redist as part of list of prerequisites. I am
> using Bootstrapper. Here is my WXS file for VC++ 2013. Is there anything
> else I should do?
>
> Bundle.wxs
> <Chain>
> <PackageGroupRef Id='NetFx462Redist' />
>
> <PackageGroupRef Id='VisualCPlusPlusRedist' After='NetFx462Redist' />
>
> VCRedist.wxs
> <?xml version="1.0" encoding="UTF-8"?>
> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:util="
> http://schemas.microsoft.com/wix/UtilExtension">
>
> <Fragment>
> <util:RegistrySearch Id="VCPLUSPLUS2013" Variable="VCPLUSPLUS2013"
> Root="HKLM" Key="SOFTWARE\Microsoft\VisualStudio\12.0\VC\Runtimes\x64"
> Value="Installed" Result="value" />
> </Fragment>
> <Fragment>
> <util:RegistrySearchRef Id="VCPLUSPLUS2013"/>
> <WixVariable Id="VcPPRedistDetectCondition" Value="VCPLUSPLUS2013
> >= 1" Overridable="yes" />
> <WixVariable Id="VcPPRedistInstallCondition" Value=""
> Overridable="yes" />
> <WixVariable Id="VcPPRedistPackageDirectory" Value="VisualCPlusPlus\"
> Overridable="yes" />
> <PackageGroup Id="VisualCPlusPlusRedist">
> <ExePackage
> DisplayName="Microsoft Visual C++ 2013"
> InstallCommand="/q /norestart /ChainingPackage
> "[WixBundleName]" /log "[VcRedistFullLog].html""
> RepairCommand="/q /norestart /repair /ChainingPackage
> "[WixBundleName]" /log "[VcRedistFullLog].html""
> UninstallCommand="/uninstall /q /norestart /ChainingPackage
> "[WixBundleName]" /log "[VcRedistFullLog].html""
> PerMachine="yes"
> DetectCondition="!(wix.VcPPRedistDetectCondition)"
> InstallCondition="!(wix.VcPPRedistInstallCondition)"
> Id="VisualCPlusPlusRedist"
> Vital="yes"
> Permanent="yes"
> LogPathVariable="VcRedistFullLog"
> Compressed="no"
> Name="!(wix.VcPPRedistPackageDirectory)vcredist_x64.exe">
> </ExePackage>
> </PackageGroup>
> </Fragment>
> </Wix>
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>
More information about the wix-users
mailing list