Hi,

I am not able include a dialog box ,that should come second during
installation and have five combo boxes ,namely A B C D E

Here's my wix code:

<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"; xmlns:util='
http://schemas.microsoft.com/wix/UtilExtension'>

  <?if $(var.Platform) = "x64"?>
  <?define PlatformString = "64-bit"?>
  <?define Win64 ?>
  <?else?>
  <?define PlatformString = "32-bit"?>
  <?endif?>

  <Product Id="*" Name="MyExampleProject" Language="1033" Version="1.0.0.0"
Manufacturer="Magnaquest"
UpgradeCode="08bd3c48-deef-4370-ab94-f8b4d49406e3">
        <Package InstallerVersion="200" Compressed="yes"
InstallScope="perMachine" InstallPrivileges="elevated"/>

        <MajorUpgrade DowngradeErrorMessage="A newer version of
[ProductName] is already installed." />
        <MediaTemplate />


<!--System Configuration Condition - Installation install only above
Windows XP-->

    <Condition Message="This application is only supported on Windows XP,
or higher.">
      <![CDATA[Installed OR (VersionNT >= 501)]]>
    </Condition>

    <Directory Id='TARGETDIR' Name='SourceDir'>
      <Directory Id='ProgramFilesFolder' Name='PFiles'>
          <Directory Id='INSTALLDIR' Name='AgentFramework'>
            <Directory Id='INSTALLBIN' Name='bin'/>
              <Directory Id='INSTALLCGI' Name='cgi-bin'/>
                <Directory Id='INSTALLCONF' Name='conf'/>
            <Directory Id='INSTALLHTDOCS' Name='htdocs'/>
            <Directory Id='INSTALLMODULES' Name='modules'/>
            <Directory Id='INSTALLLOGS' Name='logs'/>
            </Directory>
        </Directory>
      </Directory>


    <Feature
     Id = "ProductFeature1"
     Title  = "AgentFramework"
     Level  = "1"
     Absent="allow">

      <ComponentRef Id='libapr_dll'/>
      <ComponentRef Id='libapriconv_dll'/>
      <ComponentRef Id='libaprutil_dll'/>
      <ComponentRef Id='libhttpd_dll'/>
      <ComponentRef Id='Pcre_dll'/>
      <ComponentRef Id='PrintEnv'/>
      <ComponentRef Id='Index'/>
      <ComponentRef Id='Configurationfile'/>
      <ComponentRef Id='Charset'/>
      <ComponentRef Id='Magicfile'/>
      <ComponentRef Id='mimetypesfile'/>
      <ComponentRef Id='Authzmodule'/>
      <ComponentRef Id='Dirmodule'/>
      <ComponentRef Id='Error'/>
      <ComponentRef Id='Access'/>
      <ComponentRef Id='Install'/>
      <ComponentRef Id='ServiceComponent'/>
    </Feature>


    <DirectoryRef Id='INSTALLCGI'>
      <Component Id='PrintEnv' Guid='08BC28FA-BC92-4FCE-953C-B043C0656835'>
        <File Id='PrintEnv' Name='printenv.pl' DiskId='1'
Source='$(sys.CURRENTDIR)\printenv.pl' KeyPath='yes'>
        </File>
      </Component>
    </DirectoryRef>
    <DirectoryRef Id='INSTALLHTDOCS'>
      <Component Id='Index' Guid='FB9C9D88-F2D0-41F7-AA36-A2A61D487696'>
        <File Id='Index' Name='index.html' DiskId='1'
Source='$(sys.CURRENTDIR)\index.html' KeyPath='yes'>
        </File>
      </Component>
    </DirectoryRef>
    <DirectoryRef Id='INSTALLCONF'>
      <Component Id='Configurationfile'
Guid='2E0D2957-10EB-463A-A4FC-62B9062FE8A3'>
        <File Id='Configurationfile' Name='httpd.conf' DiskId='1'
Source='$(sys.CURRENTDIR)\httpd.conf' KeyPath='yes'>
        </File>
      </Component>
          <Component Id='Magicfile'
Guid='F32A12E4-7DFC-4059-A666-C6D5AD0461E8'>
            <File Id='Magicfile' Name='magic' DiskId='1'
Source='$(sys.CURRENTDIR)\magic' KeyPath='yes'>
            </File>
          </Component>
            <Component Id='mimetypesfile'
Guid='2A73F6E0-8ECE-4D5B-A0AC-D283E4C8F408'>
              <File Id='mimetypesfile' Name='mime.types' DiskId='1'
Source='$(sys.CURRENTDIR)\mime.types' KeyPath='yes'>
              </File>
            </Component>
            <Component Id='Charset'
Guid='197AB539-BE03-4051-9366-887B26581E98'>
              <File Id='Charset' Name='charset.conv' DiskId='1'
Source='$(sys.CURRENTDIR)\charset.conv' KeyPath='yes'>
              </File>
      </Component>
    </DirectoryRef>
    <DirectoryRef Id='INSTALLMODULES'>
      <Component Id='Authzmodule'
Guid='62AA97B6-7821-4CB4-9F89-B2A8FF0CC6BD'>
        <File Id='Authzmodule' Name='mod_authz_core.so' DiskId='1'
Source='$(sys.CURRENTDIR)\mod_authz_core.so' KeyPath='yes'>
        </File>
      </Component>
      <Component Id='Dirmodule' Guid='9966BB3B-8296-43B9-A6DC-712561303329'>
        <File Id='Dirmodule' Name='mod_dir.so' DiskId='1'
Source='$(sys.CURRENTDIR)\mod_dir.so' KeyPath='yes'>
        </File>
      </Component>
    </DirectoryRef>
    <DirectoryRef Id='INSTALLLOGS'>
      <Component Id='Error' Guid='4045BC35-4366-48E2-84CB-8C751F7FFD0B'>
        <File Id='Error' Name='error.log' DiskId='1'
Source='$(sys.CURRENTDIR)\error.log' KeyPath='yes'>
        </File>
      </Component>
      <Component Id='Access' Guid='C58A46BA-1F2B-41E7-9364-424D29131E10'>
        <File Id='Access' Name='access.log' DiskId='1'
Source='$(sys.CURRENTDIR)\access.log' KeyPath='yes'>
        </File>
      </Component>
      <Component Id='Install' Guid='AFBA29AC-8145-42C0-BC63-5E40F147A817'>
        <File Id='Install' Name='install.log' DiskId='1'
Source='$(sys.CURRENTDIR)\install.log' KeyPath='yes'>
        </File>
      </Component>
    </DirectoryRef>
    <DirectoryRef Id='INSTALLBIN'>
      <Component Id='libapr_dll'
Guid='FB82D093-0B32-465B-8D8B-08B3127EB414'>
        <File Id='libapr_dll' Name='libapr-1.dll' DiskId='1'
Source='$(sys.CURRENTDIR)\libapr-1.dll' KeyPath='yes'>
        </File>
      </Component>
      <Component Id='libapriconv_dll'
Guid='667D6D5B-6FE4-4A6B-827F-C496239628E2'>
        <File Id='libapriconv_dll' Name='libapriconv-1.dll' DiskId='1'
Source='$(sys.CURRENTDIR)\libapriconv-1.dll' KeyPath='yes'>
        </File>
      </Component>
      <Component Id='libaprutil_dll'
Guid='72C688D2-8E25-49D9-9E76-F6BDBC33D394'>
        <File Id='libaprutil_dll' Name='libaprutil-1.dll' DiskId='1'
Source='$(sys.CURRENTDIR)\libaprutil-1.dll' KeyPath='yes'>
        </File>
      </Component>
      <Component Id='libhttpd_dll'
Guid='8946D5B1-0EA2-443E-8C20-CD8D877ACF75'>
        <File Id='libhttpd_dll' Name='libhttpd.dll' DiskId='1'
Source='$(sys.CURRENTDIR)\libhttpd.dll' KeyPath='yes'>
        </File>
      </Component>
      <Component Id='Pcre_dll' Guid='0466BB2A-137C-4A95-A510-43E7A274F834'>
        <File Id='Pcre_dll' Name='pcre.dll' DiskId='1'
Source='$(sys.CURRENTDIR)\pcre.dll' KeyPath='yes'>
        </File>
      </Component>

      <Component Id ="ServiceComponent"
Guid="8A1BF3F0-8A84-456E-816A-5907B40B2DDB" >
        <File Id='Applicationfile' Name='httpd.exe' DiskId='1'
Source='$(sys.CURRENTDIR)\httpd.exe' KeyPath='yes'>
        </File>
        <ServiceInstall Id="ServiceComponent" Type="ownProcess"
Name="Apache2.4"
                        DisplayName="Apache2.4" Description="Service"
                        Arguments="-k runservice" Start="auto"
Account="LocalSystem" ErrorControl="normal"
                        Vital="yes" >
          <util:PermissionEx  User="Everyone" ServicePauseContinue="yes"
ServiceQueryStatus="yes"
                              ServiceStart="yes" ServiceStop="yes"
ServiceUserDefinedControl="yes" /> </ServiceInstall>


        <ServiceControl Id="ServiceComponent" Start="install" Stop="both"
                                Remove="uninstall" Name="Apache2.4"
Wait="yes" />
      </Component>
    </DirectoryRef>
    <Property Id="WIXUI_EXITDIALOGOPTIONALCHECKBOXTEXT" Value="Launch My
Application Name" />
    <!--<UI>
      <Dialog Id="InstallDlg" Width="370" Height="270" Title="[ProductName]
Setup" NoMinimize="yes">
        <Control Id="Title" Type="Text" X="15" Y="6" Width="200"
Height="15" Transparent="yes" NoPrefix="yes">
          <Text>{\DlgTitleFont}Ready to Install</Text>
        </Control>
        <Control Id="Install" Type="PushButton" X="304" Y="243" Width="56"
Height="17"
    Default="yes" Text="Install">
          <Publish Event="EndDialog" Value="Return" />
        </Control>
      </Dialog>
      <InstallUISequence>
        <Show Dialog="InstallDlg" After="ExecuteAction" />
      </InstallUISequence>
    </UI>-->
    <UIRef Id="WixUI_Mondo" />

    <WixVariable Id="WixUIBannerBmp" Value="C:\Image\style39_banner.bmp" />
    <WixVariable Id="WixUIDialogBmp" Value="C:\Image\style39_dialog.bmp" />
    </Product>
</Wix>
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to