[wix-users] Install an exe while my installer is running?

Carlos Sosa carlos.sosa.us at outlook.com
Fri Aug 11 09:20:08 PDT 2017

Reading chapter 15 of wix 3.6 now..
I'll get back to you asap.

Thank you.

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of William Fisher
Sent: Friday, August 11, 2017 10:13 AM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] Install an exe while my installer is running?

I second Jacob Hoover's comment.

I had a SQL Server install.  You can use your custom UI with SQL install, which I think is a better user experience anyway.  Here's how I did it for SQL Server Express 2014:

      Key="SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL12.$(var.InstanceName)"
      Win64="yes" />
    <PackageGroup Id="SQLServerExpress2014_64Bit">
      <ExePackage Compressed="yes"
                  InstallCommand='/ACTION=Install /Q /IACCEPTSQLSERVERLICENSETERMS /FEATURES=SQLEngine
/SQLSYSADMINACCOUNTS=BUILTIN\Administrators /SECURITYMODE=SQL /SAPWD="Password1!" /SkipRules=RebootRequiredCheck'
                  UninstallCommand='/ACTION=Uninstall /Q /FEATURES=SQLEngine /INSTANCENAME=$(var.InstanceName)'
                  DetectCondition="Installed OR ISSQLSERVER64INSTALLED"
        <ExitCode Behavior="forceReboot"/>

And include in your <Chain> a <PackageGroupRef Id="SQLServerExpress2014_64Bit"/>

On Fri, Aug 11, 2017 at 12:01 PM Carlos Sosa <carlos.sosa.us at outlook.com>

> Hello I'm working on an installer with a custom UI where the user can 
> select which components to install.
> The problem is that when the click install (SQL 2016 express) the SQL 
> installer starts just fine, but since my Installer is running the SQL 
> cannot continue.
> I may be doing this the wrong way, any direction/help is appreciated.
> I'm using a Custom UI, I noticed that after the custom UI closes 
> wherever is in the main Product .wxs continues in my case if I 
> understand correctly at least one component is needed, I'm using:
>    <Component Id="CMP_InstallMeTXT"
>                  Guid="E8A58B7B-F031-4548-9BDD-7A6796C8460D">
>         <File Id="FILE_InstallMeTXT"
>               Source="InstallMe.txt"
>               KeyPath="yes" />
>       </Component
> So when the Custom UI is closed, the installation of this component 
> continues.
> How can I open a simple Window (custom UI) and only trigger an 
> Installer (3rd party apps like .Net, SQL, etc) when one of the buttons 
> on the custom UI is clicked? So the Main installer is not running 
> while I try to install the other tools?
> Thanks.
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant 
> http://www.firegiant.com/
Bill Fisher   |  Technical Consultant
[ *m* ] 412.427.9804
wfisher at summa.com
[image: [ l ]] billfishersumma   <https://linkedin.com/in/billfishersumma>
611 William Penn Place
Pittsburgh, PA 15219
summa.com <http://www.summa.com/> [image: Summa] <http://www.summa.com/>

WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/

More information about the wix-users mailing list