"Can WiX bundle other executables, such as MSVC++ 2010 Redistributables and install them unattended?" Yes it does, (assuming VS here) inside the .wixproj define the itemGroup
<ItemGroup> <BootstrapperFile Include="Microsoft.Visual.C++.12.0.x64"> <ProductName>Microsoft Visual C++ Redistributables</ProductName> </BootstrapperFile> </ItemGroup> Inside the Target AfterBuild: <GenerateBootstrapper ApplicationFile="$(FinalOutputName).msi" ApplicationName="$(FinalOutputName) Setup" BootstrapperItems="@(BootstrapperFile)" ComponentsLocation="HomeSite" CopyComponents="True" OutputPath="$(OutputPath)" Path="C:\Program Files (x86)\Microsoft SDKs\Windows\v8.1A\Bootstrapper\" SupportUrl="https://www.MyURL.com" Culture="fr" FallbackCulture="en" /> This will give you a setup.exe that will install the redistribuable before launching the .msi. Note, .msi are not able to launch other .msi installation, this is why the setup.exe is require on Windows, there's no central package repos or dependen like rpm with yum or apt-get. This is the sad part of .msi. Jerome On Thu, Feb 19, 2015 at 6:51 AM, Jason Kretzer <ja...@gocodigo.com> wrote: > Can WiX bundle other executables, such as MSVC++ 2010 Redistributables and > install them unattended? > > > > -Jason > > > > *From:* interest-bounces+jason=gocodigo....@qt-project.org [mailto: > interest-bounces+jason=gocodigo....@qt-project.org] *On Behalf Of *Etienne > Sandré-Chardonnal > *Sent:* Thursday, February 19, 2015 5:14 AM > *Cc:* interest@qt-project.org > *Subject:* Re: [Interest] Installer Recommendations > > > > I use WiX for my commercial Qt app, because: > > - All is defined in an XML file (.wxs) which is well handled by version > control (mercurial) > > - The resulting installer gives a nice "windows native" feel to the > end-user, especially the UAC part > > However, the learning curve is definitely not the fastest. It's quite > complex. > > > > 2015-02-19 10:07 GMT+01:00 Igor Mironchik <igor.mironc...@gmail.com>: > > On Thu, 19 Feb 2015 11:56:53 +0300, Bo Thorsen <b...@vikingsoft.eu> wrote: > > > On 02/19/2015 02:09 AM, Jason Kretzer wrote: > >> Good day all! > >> > >> I am seeking recommendations for an installer (does not have to be free) > >> program that I can use to deploy a Qt Application(5.3) and compiled with > >> VS2010 to Windows 7. I am not sure of all the variety of packages out > >> there but am generally seeking: > >> > >> 1.)Can create an .exe or .msi which can install the application at a > >> certain location > >> > >> 2.)Can update a pre-installed version of the application with a new > >> version (in some fashion) > >> > >> 3.)Can check for pre-requisites and either package them or download and > >> install them (in some fashion) such as MSVC++ 2010 Redistributables, > >> etc. > >> > >> 4.)Can potentially read/write the registry and ask for proper > >> permissions to do so > > > > I used NSIS for a long time, mostly because it integrates very nicely > > with CPack. But when I switched this project to qmake, I switched the > > installer to wix, and I'm very happy with this decision. It took quite a > > long time to do the first version of the installer in a way that works, > > can update, integrates nicely with my qmake build etc. But now it's easy > > to modify. > > > > My setup works by creating an installer directory for release builds. I > > copy all the necessary Qt libraries and plugins to this dir on the qmake > > run, use the qmake substitution to create a wix include file with > > version info and a couple of other tricks. > > > > If you are interested in the full recipe of this, I can write a full > > description about it on my blog. > > It would be very nice to read about the full recipe. > > If you will decide to write blog post about it, email to the list link to > the post, please. > > > > > Bo Thorsen, > > Director, Viking Software. > > > > > -- > Best Regards, > Igor Mironchik. > > _______________________________________________ > Interest mailing list > Interest@qt-project.org > http://lists.qt-project.org/mailman/listinfo/interest > > > ------------------------------ > > No virus found in this message. > Checked by AVG - www.avg.com > Version: 2015.0.5645 / Virus Database: 4284/9108 - Release Date: 02/13/15 > > _______________________________________________ > Interest mailing list > Interest@qt-project.org > http://lists.qt-project.org/mailman/listinfo/interest > >
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest