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
> To: 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/>)
> 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.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