[wix-users] vc++ 2019 redistributable

KONDURU Pavan Pavan.KONDURU at 3ds.com
Wed Feb 10 09:35:23 PST 2021


Thank you Steve for the detailed message. That is really helpful. I had already written a bootstrapper but the management seems to be stuck on using the same MSI as they have been using this for years now.

--Pavan

-----Original Message-----
From: Steven Ogilvie [mailto:stogilvie at genetec.com]
Sent: Wednesday, February 10, 2021 9:14 AM
To: KONDURU Pavan <Pavan.KONDURU at 3ds.com>; WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: RE: [wix-users] vc++ 2019 redistributable

Its just what we do at the company I work for, and the previous company I
had worked for...

we would use Bundle/BootStrapper EXE to wrap the MSI's, and Chain any
prerequisites required by the installer.

At my current company we use InstallShield Suite to wrap the MSI's and use
the Suite to install the prerequisites..

i.e. for Microsoft Visual C++ 2019 14.22.27821.0 Redistributable (x86)
Target: vc_redist.x86.exe
EXE command lines: /q /norestart /msioptions "REBOOT=ReallySuppress"

Or in a WiX Bundle/Bootstrapper:
<Chain>
      <ExePackage Id="Vcredist_x86"
                  DisplayName="Microsoft Visual C++ 2010 SP1 Redistributable
Package (x86)"
                  SourceFile="$(var.scSourcePath)\PreReqs\vcredist_x86.exe"
                  Name="RedistSuite\vcredist_x86.exe"
                  DetectCondition="VCREDIST_2010_X86_UNINSTALLKEY"
                  InstallCommand="/q /norestart"
                  Cache="no"
                  Compressed="no"
                  PerMachine="yes"
                  Permanent="yes"/>
...

</Bundle>
  <Fragment Id="InstallConditionChecks">
    <!-- Check for Visual Studio redistributable 2010 x86 -->
    <util:RegistrySearch Root="HKLM"
Key="SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{F0C3E5D1-1ADE-321E
-8167-68EF0DE699A5}" Value="UninstallString"
Variable="VCREDIST_2010_X86_UNINSTALLKEY" Win64="no"/>

Steve

> -----Original Message-----
> From: KONDURU Pavan <Pavan.KONDURU at 3ds.com>
> Sent: February 10, 2021 12:04 PM
> To: Steven Ogilvie <stogilvie at genetec.com>; WiX Toolset Users Mailing List
> <wix-users at lists.wixtoolset.org>
> Subject: RE: [wix-users] vc++ 2019 redistributable
>
> CAUTION: *** EXTERNAL EMAIL, BE VIGILANT WITH LINKS ***
>
> Hi Steve,
>
> Thank you for the reply, I mostly read that including the vc++ merge
module
> is the best way to distribute through our own installers.
> Any reason why you would recommend the exe over the merge module?
>
> --Pavan
>
> -----Original Message-----
> From: Steven Ogilvie [mailto:stogilvie at genetec.com]
> Sent: Wednesday, February 10, 2021 8:55 AM
> To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
> Cc: KONDURU Pavan <Pavan.KONDURU at 3ds.com>
> Subject: RE: [wix-users] vc++ 2019 redistributable
>
> I would run the VC++ redist EXE from the bundle
>
> > -----Original Message-----
> > From: wix-users <wix-users-bounces at lists.wixtoolset.org> On Behalf Of
> > KONDURU Pavan via wix-users
> > Sent: February 10, 2021 11:46 AM
> > To: 'wix-users at lists.wixtoolset.org' <wix-users at lists.wixtoolset.org>
> > Cc: KONDURU Pavan <Pavan.KONDURU at 3ds.com>
> > Subject: [wix-users] vc++ 2019 redistributable
> >
> > CAUTION: *** EXTERNAL EMAIL, BE VIGILANT WITH LINKS ***
> >
> > Hi Guys,
> > I am including the vc++ 2019 x86 redistributable in my WIX Installer.
> > I am using the merge module like this in my Installer:
> >
> > <DirectoryRef Id="INSTALLLOCATION">
> >         <Merge Id="VCRedist"
> > SourceFile="$(var.distribution_dir)\Microsoft_VC142_CRT_x86.msm"
> > DiskId="1" Language="0"/>
> >       </DirectoryRef>
> >
> >       <Feature Id="VCRedist" Title="Visual C++ 8.0 Runtime"
> > AllowAdvertise="no" Display="hidden" Level="1">
> >         <MergeRef Id="VCRedist"/>
> >       </Feature>
> >
> > My project compiles well and also installs well. I wanted to know how
> > do I make sure that the merge module has installed properly. I don't
> > see any registry update under
> >
> >
> Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\
> > VisualStudio\14.0\VC\Runtimes\X86
> >
> > Where do I check to make sure the files have been installed ?
> >
> > Thank you
> >
> > --Pavan
> >
> >
> >
> >
> >
> >
> > This email and any attachments are intended solely for the use of the
> > individual or entity to whom it is addressed and may be confidential
> and/or
> > privileged.
> >
> > If you are not one of the named recipients or have received this email
> > in error,
> >
> > (i) you should not read, disclose, or copy it,
> >
> > (ii) please notify sender of your receipt by reply email and delete
> > this
> email
> > and all attachments,
> >
> > (iii) Dassault Syst?mes does not accept or assume any liability or
> responsibility
> > for any use of or reliance on this email.
> >
> >
> > Please be informed that your personal data are processed according to
> > our data privacy policy as described on our website. Should you have
> > any questions related to personal data protection, please contact 3DS
> > Data Protection Officer at 3DS.compliance-
> > privacy at 3ds.com<mailto:3DS.compliance-privacy at 3ds.com>
> >
> >
> > For other languages, go to
> >
> https://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww
> > .3ds.com%2Fterms%2Femail-
> >
> disclaimer&data=04%7C01%7Cstogilvie%40genetec.com%7Cfbf7d48ff71
> >
> 34729810408d8cde35605%7C7ba8d2fb46604a19802e4d015a17e167%7C0%7C0
> >
> %7C637485723605599246%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjA
> >
> wMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&s
> >
> data=%2FS7REPIlH3qSrbGO8W%2Fv0YSBUe1qjbMz%2F%2FXyCYvoKpU%3D
> > &reserved=0
> >
> >
> __________________________________________________________
> > __________
> > WiX Toolset Users Mailing List provided by FireGiant
> >
> https://can01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.
> >
> firegiant.com%2F&data=04%7C01%7Cstogilvie%40genetec.com%7Cfbf7
> >
> d48ff7134729810408d8cde35605%7C7ba8d2fb46604a19802e4d015a17e167%7
> >
> C0%7C0%7C637485723605599246%7CUnknown%7CTWFpbGZsb3d8eyJWIjoi
> >
> MC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C100
> >
> 0&sdata=CtLwKrkQRgK9M7CsD0Dvg%2F%2Bl9oHmtduKP%2Fs0kXSjp1k
> > %3D&reserved=0
> This email and any attachments are intended solely for the use of the
> individual or entity to whom it is addressed and may be confidential
and/or
> privileged.
>
> If you are not one of the named recipients or have received this email in
> error,
>
> (i) you should not read, disclose, or copy it,
>
> (ii) please notify sender of your receipt by reply email and delete this
email
> and all attachments,
>
> (iii) Dassault Systèmes does not accept or assume any liability or
> responsibility for any use of or reliance on this email.
>
>
> Please be informed that your personal data are processed according to our
> data privacy policy as described on our website. Should you have any
> questions related to personal data protection, please contact 3DS Data
> Protection Officer at 3DS.compliance-
> privacy at 3ds.com<mailto:3DS.compliance-privacy at 3ds.com>
>
>
> For other languages, go to
> https://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww
> .3ds.com%2Fterms%2Femail-
> disclaimer&data=04%7C01%7Cstogilvie%40genetec.com%7C7ea86239d3
> 02417e893d08d8cde5e9f0%7C7ba8d2fb46604a19802e4d015a17e167%7C0%7C
> 0%7C637485734667228118%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLj
> AwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&
> sdata=dV5lG1IuGpQzwcGNNGUisHyh%2FvEHzw7rsT%2Fr74z74Vs%3D&
> reserved=0
This email and any attachments are intended solely for the use of the individual or entity to whom it is addressed and may be confidential and/or privileged.

If you are not one of the named recipients or have received this email in error,

(i) you should not read, disclose, or copy it,

(ii) please notify sender of your receipt by reply email and delete this email and all attachments,

(iii) Dassault Systèmes does not accept or assume any liability or responsibility for any use of or reliance on this email.


Please be informed that your personal data are processed according to our data privacy policy as described on our website. Should you have any questions related to personal data protection, please contact 3DS Data Protection Officer at 3DS.compliance-privacy at 3ds.com<mailto:3DS.compliance-privacy at 3ds.com>


For other languages, go to https://www.3ds.com/terms/email-disclaimer



More information about the wix-users mailing list