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

Reply via email to