[wix-users] How do I package VS2015 Redistributables?

Jon Earle earlej at hotmail.com
Fri May 13 09:34:29 PDT 2016


I want to keep it really simple. Ideally, I would like the ui to look identical to the ui for the msi in terms of flow and appearance - same welcome screen and general appearance.

Honestly, I don't even need the licence page or install path prompt here, just run the exe, which will install the vcredist packages (maybe pop up a info dialog, or show a message, so the user doesn't freak out that it's taking too long) and then launch the real msi, which has the licence and install path prompts.

Cheers!
Jon

> From: Jacob.Hoover at greenheck.com
> To: wix-users at lists.wixtoolset.org
> Date: Fri, 13 May 2016 16:28:11 +0000
> Subject: Re: [wix-users] How do I package VS2015 Redistributables?
> 
> Depending on how much custom UI you need, you might be able to get away with just resizing and adding controls to WixStdBA, via a custom theme.  You can't add pages or change the flow, but if you just need a banner/side image, and a custom size, it is doable.
> 
> You could take a look at: https://github.com/wixtoolset/wix3/blob/develop/src/ext/BalExtension/wixstdba/Resources/RtfTheme.xml and the other *Theme.xml files in that folder.
> 
> -----Original Message-----
> From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of John Cooper
> Sent: Friday, May 13, 2016 10:58 AM
> To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
> Subject: Re: [wix-users] How do I package VS2015 Redistributables?
> 
> No, the Burn engine provides the support for the runtime and MSI install.  You author the UI and any custom behavior.
> 
> --
> John Merryweather Cooper
> Senior Software Engineer | Integration Development Group | Enterprise Notification Service Jack Henry & Associates, Inc.® | Lenexa, KS  66214 | Ext:  431050 |JoCooper at jackhenry.com
> 
> 
> 
> 
> -----Original Message-----
> From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Jon Earle
> Sent: Friday, May 13, 2016 10:48 AM
> To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
> Subject: Re: [wix-users] How do I package VS2015 Redistributables?
> 
> The e-mail below is from an external source.  Please do not open attachments or click links from an unknown or suspicious origin.
> 
> If I understand correctly, this means I will need to create a gui library to install the runtimes and launch the msi, correct?
> 
> That (the time to do so) will not fly with PLM... nor should it, nor am I remotely interested in learning to design and write a proper gui (my gui's tend to resemble command lines - LOL), I have too many other tasks of higher priority.
> 
> Is there a framework or something which I can simply configure, ala the standard msi Product.wxs file, that will accomplish this goal?
> 
> Other options?
> 
> Cheers!
> Jon
> 
> > From: JoCooper at jackhenry.com
> > To: wix-users at lists.wixtoolset.org
> > Date: Fri, 13 May 2016 14:31:06 +0000
> > Subject: Re: [wix-users] How do I package VS2015 Redistributables?
> > 
> > Although you can customize the logo and the sidebar (if you're using an appropriate theme) on the standard bootstrapper, you can do anything you like with a BootstrapperApplication or ManagedBootstrapperApplication.  If the interface is important, then a BA is the was to go.
> > 
> > --
> > John Merryweather Cooper
> > Senior Software Engineer | Integration Development Group | Enterprise 
> > Notification Service Jack Henry & Associates, Inc.® | Lenexa, KS
> > 66214 | Ext:  431050 |JoCooper at jackhenry.com
> > 
> > 
> > 
> > -----Original Message-----
> > From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On 
> > Behalf Of Jon Earle
> > Sent: Friday, May 13, 2016 9:06 AM
> > To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
> > Subject: Re: [wix-users] How do I package VS2015 Redistributables?
> > 
> > The e-mail below is from an external source.  Please do not open attachments or click links from an unknown or suspicious origin.
> > 
> > This would up in my spam folder, so forgive the late response, and thank you for the guidance.
> > 
> > So, I did make a new project in my setup solution.  I pasted in the snippet below and fiddled with it a bit to get it going.  Found that fragment couldn't be inside a bundle tag and so on.  Also, I had to double up the snip contents because our app contains both 32 and 64 bit components, so both runtime redistributables are required.  Ugh!!
> > 
> > I have an EXE installer now, but, the gui is not at all what I expected.  I guess I'd expected the gui to be the same as my original MSI, but rethinking it, I guess it makes sense that it's not (since it's a wrapper).
> > 
> > So, how do I fix this - make the wrapper GUI use the banner and welcome logo, licence text, install path, etc as the original MSI?  If it cannot be made to look the same, PLM will not accept it (and I agree with them - they want the customer experience to remain unchanged).
> > 
> > Is there an alternate approach - perhaps using custom actions to check and install?  I'm handy enough with C#, just don't know if that's a viable option and looking for guidance before spending time exploring that.
> > 
> > Alternatively, I could even propose downgrading to VS 2013 to return to the easy merge module method of distributing the runtime, but, I'd like to stay current if it's possible (and relatively painless) to do so.
> > 
> > Thanks!
> > Jon
> > 
> > 
> > > Date: Wed, 4 May 2016 14:35:08 +0530
> > > From: shashank.s.khadse at gmail.com
> > > To: wix-users at lists.wixtoolset.org
> > > Subject: Re: [wix-users] How do I package VS2015 Redistributables?
> > > 
> > > Use Wix bundle for packaging the pre-reqs.
> > > 
> > > You can refer following snippet of Bundle.wxs in my case for adding 
> > > pre-req of 2010
> > > 
> > > 
> > >    <Chain>
> > > 
> > >       <PackageGroupRef Id="VC10_Redist_x64" />
> > > 
> > >       <MsiPackage SourceFile="$(var.MyInstaller.TargetDir)MyInstaller.msi"
> > >                   Compressed="yes"
> > >                   ForcePerMachine="yes"
> > >                   DisplayInternalUI="yes"
> > >                   Visible="no"
> > >                   Vital="yes"
> > >                   DisplayName="Display Name"
> > >                   Id="MyMsi"
> > >                   LogPathVariable="LOGPATH_PROP" />
> > >     </Chain>
> > > 
> > >      <Fragment>
> > >     <util:RegistrySearch
> > >            Id="VC2010_Redist_x64_Search"
> > >            Variable="VC2010_Redist_x64_Installed"     <==== Variable to
> > > check if already installed on m/c
> > >            Result="exists"
> > >            Root="HKLM"
> > > 
> > > Key="SOFTWARE\Wow6432Node\Microsoft\VisualStudio\10.0\VC\VCRedist\x64"
> > >            Win64="yes" />
> > > 
> > >     <PackageGroup Id="VC10_Redist_x64">
> > >       <ExePackage Id="vcredist2010x64"
> > > 
> > > SourceFile="$(var.SolutionDir)..\Installer\MyProj\PreRequisites\VCRedist\vcredist_2010_x64.exe"
> > >                   Cache="yes"
> > >                   PerMachine="yes"
> > >                   Vital="yes"
> > >                   Compressed="yes"
> > >                   InstallCommand="/quiet /norestart"
> > >                   DetectCondition="VC2010_Redist_x64_Installed"    <====
> > > Variable defined in the RegistrySearch
> > >                   Permanent="yes" />
> > >     </PackageGroup>
> > > 
> > >   </Fragment>
> > > 
> > > First check if the redist is already installed by registry search 
> > > and if not then the vcredist package will be installed.
> > > 
> > > Let me know if it works in ur case.
> > > 
> > > 
> > > 
> > > On Mon, May 2, 2016 at 8:00 PM, Jon Earle <earlej at hotmail.com> wrote:
> > > 
> > > > I have rebuilt our client using VS2015 (update from VS2005).  It 
> > > > now, obviously, has a dependency on the VC2015 runtime libs.  I 
> > > > tried to add the CRT merge module, but that was insufficient to 
> > > > allow the app to work.  I then read that MS has made a new runtime
> > > > - a "universal" crt... and they won't make a merge module for it.
> > > >
> > > > Clearly, this is a big problem!  Product managers don't wish to 
> > > > force customers to download and install a separate 14MB 
> > > > vcredist.exe package, nor do I consider it very acceptable to embed that into the installer.
> > > >
> > > > What are people doing then, to accommodate the new requirements of 
> > > > VC2015?  Is it possible any longer, to create one MSI that 
> > > > installs the client (all of the various apps) and the runtimes to 
> > > > satisfy the dependencies?
> > > >
> > > > Cheers!
> > > >
> > > >
> > > > __________________________________________________________________
> > > > __ WiX Toolset Users Mailing List provided by FireGiant 
> > > > http://www.firegiant.com/
> > > >
> > > 
> > > ____________________________________________________________________
> > > WiX Toolset Users Mailing List provided by FireGiant 
> > > http://www.firegiant.com/
> >  		 	   		  
> > 
> > ____________________________________________________________________
> > WiX Toolset Users Mailing List provided by FireGiant 
> > http://www.firegiant.com/
> > 
> > NOTICE: This electronic mail message and any files transmitted with it 
> > are intended exclusively for the individual or entity to which it is 
> > addressed. The message, together with any attachment, may contain confidential and/or privileged information.
> > Any unauthorized review, use, printing, saving, copying, disclosure or 
> > distribution is strictly prohibited. If you have received this message 
> > in error, please immediately advise the sender by reply email and delete all copies.
> > 
> > 
> > ____________________________________________________________________
> > WiX Toolset Users Mailing List provided by FireGiant 
> > http://www.firegiant.com/
>  		 	   		  
> 
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/
> 
> NOTICE: This electronic mail message and any files transmitted with it are intended exclusively for the individual or entity to which it is addressed. The message, together with any attachment, may contain confidential and/or privileged information.
> Any unauthorized review, use, printing, saving, copying, disclosure or distribution is strictly prohibited. If you have received this message in error, please immediately advise the sender by reply email and delete all copies.
> 
> 
> ____________________________________________________________________
> 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