The MSI is written by a third party and it is explicitly written to only setup 
the service if the MSI is installed per-machine. When the MSI is installed 
per-user, it suppresses the "setup" and "launch" service steps (probably 
because there is no elevation available). They also wrote it such that Burn's 
detection code identifies it as a per-user MSI, which appears to have been 
their intent.
 
The UI phase of the MSI detects the possibility of installing per-machine and 
sets that for the user, that code is not duplicated in the install phase (and 
I'm not sure if it would work if it were). I felt it would be easier on Burn if 
Hendryk set ForcePerMachine instead of adding <MsiVariable Id="ALLUSERS" 
Value="1"/>
 
> From: r...@robmensching.com
> Date: Wed, 7 Aug 2013 07:05:22 -0700
> To: wix-users@lists.sourceforge.net
> Subject: Re: [WiX-users] [BURN] Install external MSI including a service -    
> solved
> 
> Even better would be to get the MSI fixed. Sounds like there are a couple
> issues there. Everything should "Just Work" without forcing anything.
> 
> 
> On Wed, Aug 7, 2013 at 2:10 AM, Hendryk Irmischer 
> <irmisc...@macnetix.de>wrote:
> 
> > Yep, ForcePerMachine="yes" did the trick.
> >
> > First I tried to copy the missing CustomActions from
> > InstallExecuteSequence to AdminExecuteSequence. This worked too for me, but
> > your solution is clearly the better one.
> >
> >
> >
> > Many thanks for the fast response.
> >
> >
> >
> > Greetings
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > Looking inside of the MSI I would guess that when running the UI it sets
> > ALLUSERS to 1 for you, but when you run it in burn (without the MSI's own
> > UI) that isn't being set (since the MSI contains conditions/components that
> > intend it to be "dual-mode").
> >
> > I would try adding the ForcePerMachine="yes" attribute to your MsiPackage
> > element and see if that fixes it for you.
> >
> > e.g.
> >
> > >             <MsiPackage Id="PG_APACHE"
> >  Cache="no"                                  Compressed="yes"
> >
> > >                         Permanent="yes"
> > Vital="yes" ForcePerMachine="yes"
> >
> > >                         Name="$(var.APACHE_MSI)"
> >  SourceFile="$(var.APACHE_MSI)" >
> >
> > Blair
> >
> > > From: irmisc...@macnetix.de<mailto:irmisc...@macnetix.de>
> >
> > > To: wix-users@lists.sourceforge.net<mailto:
> > wix-users@lists.sourceforge.net>
> >
> > > Date: Mon, 5 Aug 2013 15:11:37 +0000
> >
> > > Subject: [WiX-users] [BURN] Install external MSI including a service
> >
> > >
> >
> > > Hey folks,
> >
> > >
> >
> > > I'm having a problem here. We are currently building an installer for
> > our software. But before installing our software, we need to install a web
> > server (in our case it's an apache).
> >
> > > When installing apache via the msi-package (from
> > http://mirror.softaculous.com/apache//httpd/binaries/win32/<
> > http://mirror.softaculous.com/apache/httpd/binaries/win32/<
> > http://mirror.softaculous.com/apache/httpd/binaries/win32/%3chttp:/mirror.softaculous.com/apache/httpd/binaries/win32/>>)
> > everything works fine:
> >
> > >
> >
> > > -          Apache is being installed
> >
> > >
> >
> > > -          Apache service is being installed
> >
> > >
> >
> > > -          Apache service is being started
> >
> > >
> >
> > > What I want to do now, is to include the apache msi package in our
> > installer. Therefore I created a new WiX-Bootstrap Project.
> >
> > >
> >
> > > <Bundle Name="EditIT Server Bootstrapper"
> >
> > >             Version="1.0.0.0"
> >
> > >             Manufacturer="MyCompany"
> >
> > >             UpgradeCode="UPGRADE-GUID-HERE">
> >
> > >
> >
> > >             <BootstrapperApplicationRef
> > Id="WixStandardBootstrapperApplication.RtfLicense" />
> >
> > >             <Chain>
> >
> > >             <PackageGroupRef Id="PG_APACHE" />
> >
> > >             </Chain>
> >
> > >       </Bundle>
> >
> > >
> >
> > > <Fragment>
> >
> > >         <PackageGroup Id="PG_APACHE">
> >
> > >             <MsiPackage Id="PG_APACHE"
> >  Cache="no"                                  Compressed="yes"
> >
> > >                         Permanent="yes"
> > Vital="yes"
> >
> > >                         Name="$(var.APACHE_MSI)"
> >  SourceFile="$(var.APACHE_MSI)" >
> >
> > >                 <MsiProperty Name="SERVERADMIN"
> > Value="$(var.APACHE_SERVER_ADMIN)" />
> >
> > >                 <MsiProperty Name="SERVERDOMAIN"
> > Value="$(var.APACHE_DOMAIN_NAME)" />
> >
> > >                 <MsiProperty Name="SERVERNAME"
> > Value="$(var.APACHE_HOST_NAME)" />
> >
> > >             </MsiPackage>
> >
> > >         </PackageGroup>
> >
> > > </Fragment>
> >
> > >
> >
> > >
> >
> > > Apache itself installs without errors. But there are 2 steps missing now:
> >
> > >
> >
> > > -          The apache service is NOT being installed
> >
> > >
> >
> > > -          The apache service is NOT being started
> >
> > >
> >
> > > My question now is: What do I have to change to make WiX execute those 2
> > final steps (service install and service start) ?
> >
> > >
> >
> > >
> >
> > > Info:
> >
> > > IDE = VS2008
> >
> > > OS = Win7
> >
> > > WiX Version = 3.8
> >
> > > Minimum Target Environment = WinXP
> >
> > >
> >
> > > ----------------------------------------------------------------------
> >
> > > -------- Get your SQL database under version control now!
> >
> > > Version control is standard for application code, but databases havent
> >
> > > caught up. So what steps can you take to put your SQL databases under
> >
> > > version control? Why should you start doing it? Read more to find out.
> >
> > > http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.c
> >
> > > lktrk _______________________________________________
> >
> > > WiX-users mailing list
> >
> > > WiX-users@lists.sourceforge.net<mailto:WiX-users@lists.sourceforge.net>
> >
> > > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
> >
> >
> >
> > ------------------------------------------------------------------------------
> >
> > Get 100% visibility into Java/.NET code with AppDynamics Lite!
> >
> > It's a free troubleshooting tool designed for production.
> >
> > Get down to code-level detail for bottlenecks, with <2% overhead.
> >
> > Download for free and get started troubleshooting in minutes.
> >
> > http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
> >
> > _______________________________________________
> >
> > WiX-users mailing list
> >
> > WiX-users@lists.sourceforge.net<mailto:WiX-users@lists.sourceforge.net>
> >
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
> >
> > ------------------------------------------------------------------------------
> > Get 100% visibility into Java/.NET code with AppDynamics Lite!
> > It's a free troubleshooting tool designed for production.
> > Get down to code-level detail for bottlenecks, with <2% overhead.
> > Download for free and get started troubleshooting in minutes.
> > http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
> > _______________________________________________
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
> >
> ------------------------------------------------------------------------------
> Get 100% visibility into Java/.NET code with AppDynamics Lite!
> It's a free troubleshooting tool designed for production.
> Get down to code-level detail for bottlenecks, with <2% overhead. 
> Download for free and get started troubleshooting in minutes. 
> http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
                                          
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to