I have added actions to the PushButtons. But i am receicving following errors:

ICE17: ICE Internal Error 105. API Returned: 1615.
ICE17: Error 2228: C:\Dokumente und Einstellungen\Thomas Bahn\Lokale 
Einstellungen\Temp\v5eyv_-k\Cic.P000004.WiXSetup.msi, ControlCondition, SELECT 
`Dialog_`,`Control_` FROM `ControlCondition` WHERE `Dialog_`=? AND `Control_`=? 
AND `Action`= 'Enable'
ICE20: Required PushButtons not found for the FilesInUseDialog.
ICE20: Specified ErrorDialog: 'ErrorDlg' not found in Dialog table (or its 
Control_First control is not 'ErrorText').

What PushButtons i need in FilesInUseDialog?

I have following PushButtons: Retry,  Ignore and Exit
The other errors i cant understand, so i hope you can help me.

In addition here the (rather long) Code for the errors, i have added Publish 
tags as suggested, or have i misunderstand your suggestion?

<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi";>
  <Fragment>
    <UI Id="UIWebProject">

      <!-- Sure to cancel? -->
      <Dialog Id="CancelDlg" Width="260" Height="85" Title="[ProductName] 
Setup" NoMinimize="yes">
        <Control Id="Text" Type="Text" X="48" Y="15" Width="194" Height="30"
                 Text="Are you sure you want to cancel [ProductName] 
installation?" />
        <Control Id="Icon" Type="Icon" X="15" Y="15" Width="24" Height="24" 
Text="UIIcoInfo" />
        <Control Id="No" Type="PushButton" X="132" Y="57" Width="56" 
Height="17" Text="&amp;No">
          <!-- Return to normal sequence -->
          <Publish Event="EndDialog" Value="Return">1</Publish>
        </Control>
        <Control Id="Yes" Type="PushButton" X="72" Y="57" Width="56" 
Height="17" Text="&amp;Yes">
          <!-- Exit the installer -->
          <Publish Event="EndDialog" Value="Exit">1</Publish>
        </Control>
      </Dialog>

      <!-- Dialog for succesful installation -->
      <Dialog Id="ExitDialog" Width="370" Height="270" Title="[ProductName] 
Setup" NoMinimize="yes">
        <Control Id="Description" Type="Text" X="135" Y="70" Width="220" 
Height="40"
                Text="Click the Finish button to exit the Setup Wizard." />
        <Control Id="Title" Type="Text" X="135" Y="20" Width="220" Height="60"
                 Text="{\UIFontBigger}Completed the [ProductName] Setup Wizard" 
/>
        <Control Id="BannerBitmap" Type="Bitmap" X="0" Y="0" Width="370" 
Height="44" Text="UIBannerBmp" />
        <Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" 
Height="0" />
        <Control Id="Finish" Type="PushButton" X="236" Y="243" Width="56" 
Height="17" Text="&amp;Finish">
          <!-- Exit installation succesfully -->
          <Publish Event="EndDialog" Value="Return">1</Publish>
        </Control>
        <Control Id="Cancel" Type="PushButton" X="304" Y="243" Width="56" 
Height="17" Text="Cancel">
          <!-- Displays the CancelDlg for verification of cancelling -->
          <Publish Event="SpawnDialog" Value="CancelDlg">1</Publish>
        </Control>
        <Control Id="Back" Type="PushButton" X="180" Y="243" Width="56" 
Height="17" Text="&amp;Back"
                 Disabled="yes"/>
      </Dialog>
      
      <Dialog Id="FatalError" Width="370" Height="270" Title="[ProductName] 
Setup" NoMinimize="yes">
        <Control Id="Descrption" Type="Text" X="135" Y="70" Width="220" 
Height="80"
                 Text="[ProductName] Setup Wizard ended prematurely because of 
an error. 
                 Your system has not been modified. To install this program at 
a later time,
                 run Setup Wizard again. Click the Finish button to exit the 
Setup Wizard." />
        <Control Id="Title" Type="Text" X="135" Y="20" Width="220" Height="60"
                 Text="{\UIFontBigger}[ProductName] Setup Wizard ended 
prematurely" />
        <Control Id="BannerBitmap" Type="Bitmap" X="0" Y="0" Width="370" 
Height="44" Text="UIBannerBmp" />
        <Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" 
Height="0" />
        <Control Id="Cancel" Type="PushButton" X="304" Y="243" Width="56" 
Height="17" Text="Cancel"
                 Disabled="yes" />
        <Control Id="Finish" Type="PushButton" X="236" Y="243" Width="56" 
Height="17" Text="&amp;Finish">
          <Publish Event="EndDialog" Value="Exit">1</Publish>
        </Control>
        <Control Id="Back" Type="PushButton" X="180" Y="243" Width="56" 
Height="17" Text="&amp;Back"
                 Disabled="yes" />
      </Dialog>
      
      <Dialog Id="ErrorDlg" Width="270" Height="105" Title="[ProductName] Setup"
              ErrorDialog="no" NoMinimize="yes" >
        <Control Id="ErrorText" Type="Text" X="48" Y="15" Width="205" 
Height="60" Text="Information text" />
        <Control Id="ErrorIcon" Type="Icon" X="15" Y="15" Width="24" 
Height="24" Text="UIIcoInfo" />
        <Control Id="N" Type="PushButton" X="100" Y="80" Width="56" Height="17" 
Text="&amp;No">
        <Publish Event="EndDialog" Value="ErrorNo">1</Publish>
        </Control>
        <Control Id="Y" Type="PushButton" X="100" Y="80" Width="56" Height="17" 
Text="&amp;Yes">
          <Publish Event="EndDialog" Value="ErrorYes">1</Publish>
        </Control>
        <Control Id="A" Type="PushButton" X="100" Y="80" Width="56" Height="17" 
Text="Cancel">
          <Publish Event="EndDialog" Value="ErrorAbort">1</Publish>
        </Control>
        <Control Id="C" Type="PushButton" X="100" Y="80" Width="56" Height="17" 
Text="Cancel">
          <Publish Event="EndDialog" Value="ErrorCancel">1</Publish>
        </Control>
        <Control Id="I" Type="PushButton" X="100" Y="80" Width="56" Height="17" 
Text="&amp;Ingore">
          <Publish Event="EndDialog" Value="ErrorIngore">1</Publish>
        </Control>
        <Control Id="O" Type="PushButton" X="100" Y="80" Width="56" Height="17" 
Text="OK">
          <Publish Event="EndDialog" Value="ErrorOk">1</Publish>
        </Control>
        <Control Id="R" Type="PushButton" X="100" Y="80" Width="56" Height="17" 
Text="&amp;Retry">
          <Publish Event="EndDialog" Value="ErrorRetry">1</Publish>
        </Control>
      </Dialog>
      <Property Id="ErrorDialog" Value="ErrorDlg" />
      
      <!-- Is displayes when user aborts installation -->
      <Dialog Id="UserExit" Width="370" Height="270" Title="[ProductName] 
Setup" NoMinimize="yes">
        <Control Id="Description" Type="Text" X="135" Y="80" Width="220" 
Height="80">
          <Text>[ProductName] setup was interrupted. Your system has not been 
modified. 
          To install this program at a later time, please run the installation 
again. 
          Click the Finish button to exit the Setup Wizard.</Text>
        </Control>
        <Control Id="Title" Type="Text" X="135" Y="20" Width="220" Height="60">
          <Text>{\UIFontBigger}[ProductName] Setup Wizard was interrupted</Text>
        </Control>
        <Control Id="BannerBitmap" Type="Bitmap" X="0" Y="0" Width="370" 
Height="44" Text="UIBannerBmp" />
        <Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" 
Height="0" />
        <Control Id="Finish" Type="PushButton" X="236" Y="243" Width="56" 
Height="17" Text="&amp;Finish">
          <Publish Event="EndDialog" Value="Exit">1</Publish>
        </Control>
        <Control Id="Back" Type="PushButton" X="180" Y="243" Width="56" 
Height="17" Text="&amp;Back"
                 Disabled="yes" />
        <Control Id="Cancel" Type="PushButton" X="304" Y="243" Width="56" 
Height="17" Text="Cancel"
                 Disabled ="yes" />
        
      </Dialog>

      <!-- Standart dialog for files in use-->
      <Dialog Id="FilesInUse" Width="370" Height="270" Title="[ProductName] 
Setup" NoMinimize="yes">
        <Control Id="Description" Type="Text" X="20" Y="23" Width="280" 
Height="20"
                 Text="Some files that need to be updated are currently in 
use." />
        <Control Id="Text" Type="Text" X="20" Y="55" Width="330" Height="30"
                 Text="The following applications are using files that need to 
be updated by this setup.
                 Close these applications and then click &amp;Retry to continue 
the installation
                 or Exit to exit it." />
        <Control Id="Title" Type="Text" X="15" Y="6" Width="200" Height="15" 
Text="{\UIFontTitle}Files in Use" />
        <Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" 
Height="0" />
        <Control Id="BannerBitmap" Type="Bitmap" X="0" Y="0" Width="370" 
Height="44" Text="UIBannerBmp" />
        <Control Id="BannerLine" Type="Line" X="0" Y="44" Width="370" 
Height="0" />
        <Control Id="List" Type="ListBox" X="20" Y="87" Width="330" 
Height="130" Property="FileInUseProcess" />
        <Control Id="Retry" Type="PushButton" X="304" Y="243" Width="56" 
Height="17" Text="&amp;Retry">
          <Publish Event="EndDialog" Value="Retry">1</Publish>
        </Control>
        <Control Id="Ignore" Type="PushButton" X="235" Y="243" Width="56" 
Height="17" Text="&amp;Ingore">
          <Publish Event="EndDialog" Value="Ingore">1</Publish>
        </Control>
        <Control Id="Exit" Type="PushButton" X="166" Y="243" Width="56" 
Height="17" Text="E&amp;xit">
          <Publish Event="EndDialog" Value="Exit">1</Publish>
        </Control>
      </Dialog>
      
      <!-- The welcome dialog -->
      <Dialog Id="WelcomeDlg" Width="370" Height="270" Title="[ProductName] 
Setup" NoMinimize="yes">
        <Control Id="BannerBitmap" Type="Bitmap" X="0" Y="0" Width="370" 
Height="44" Text="UIBannerBmp" />
        <Control Id="BannerLine" Type="Line" X="0" Y="44" Width="370" 
Height="0" />
        <Control Id="InstallTitle" Type="Text" X="15" Y="15" Width="300" 
Height="15">
          <Text>{\UIFontBigger}Welcome to the [ProductName] Setup Wizard</Text>
        </Control>
        <Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" 
Height="0" />
        <Control Id="InstallText" Type="Text" X="25" Y="70" Width="320" 
Height="80">
          <Text>The Setup Wizard will install [ProductName] on your computer.
          Click Next to continue or Cancel to exit the Setup Wizard.</Text>
        </Control>
        <Control Id="Install" Type="PushButton" X="212" Y="243" Width="80" 
Height="17" Text="&amp;Install">
          <Publish Event="EndDialog" Value="Return">1</Publish>
        </Control>
        <Control Id="Cancel" Type="PushButton" X="304" Y="243" Width="56" 
Height="17" Text="Cancel">
          <Publish Event="SpawnDialog" Value="CancelDlg">1</Publish>
        </Control>
      </Dialog>

      <!-- Font styles for use in text -->
      <Property Id="DefaultUIFont" Value="UIFontNormal" />
      <TextStyle Id="UIFontNormal" FaceName="Tahoma" Size="8" />
      <TextStyle Id="UIFontBigger" FaceName="Tahoma" Size="12" />
      <TextStyle Id="UIFontTitle" FaceName="Tahoma" Size="9" />
    </UI>

    <AdminUISequence>
      <Show Dialog="FatalError" OnExit="error" />
      <Show Dialog="UserExit" OnExit="cancel" />
      <Show Dialog="ExitDialog" OnExit="success" />
      <CostInitialize Sequence="800" />
      <FileCost Sequence="900" />
      <CostFinalize Sequence="1000" />
      <ExecuteAction Sequence="1300" />
    </AdminUISequence>

    <InstallUISequence>
      <Show Dialog="FatalError" OnExit="error" />
      <Show Dialog="UserExit" OnExit="cancel" />
      <Show Dialog="ExitDialog" OnExit="success" />
      <Show Dialog="WelcomeDlg" Sequence="49" />
      <AppSearch Sequence="50" />
      <LaunchConditions Sequence="100" />
      <ValidateProductID Sequence="700" />
      <CostInitialize Sequence="800" />
      <FileCost Sequence="900" />
      <CostFinalize Sequence="1000" />
      <ExecuteAction Sequence="1300" />
    </InstallUISequence>

    <InstallExecuteSequence />
    <AdminExecuteSequence />
    
  </Fragment>
</Wix>
________________________________________
Von: Bob Arnson [...@joyofsetup.com]
Gesendet: Dienstag, 10. März 2009 17:50
An: General discussion for Windows Installer XML toolset.
Betreff: Re: [WiX-users] Own UI-File

Bahn Thomas wrote:
> Einstellungen\Temp\-n39ut1b\Cic.P000004.WiXSetup.msi, ControlEvent, SELECT

The problem is that your UI is just the controls with no actions; the
ErrorDialog dialog must have implementation behind it.

--
sig://boB
http://joyofsetup.com/



------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to