Error Code 2228 is according to MSDN " Database: [2]. Unknown table
'[3]' in SQL query: [4]." ->
http://msdn.microsoft.com/en-us/library/aa372835.aspx

The only difference I can see between your PathEdit control & the one in
the WiX UI source for InstallDirDlg is the WiX UI source has
Indirect="yes". I would see if adding that makes any difference. If you
still have problems I would try getting it to work using
WiXUI_InstallDir rather than your own UI first just to be sure that the
UI is the issue here.

Palbinder Sandher 
Software Deployment Engineer
T: +44 (0) 141 945 8500 
F: +44 (0) 141 945 8501 

http://www.iesve.com 
**Design, Simulate + Innovate with the <Virtual Environment>**
Integrated Environmental Solutions Limited. Registered in Scotland No.
SC151456 
Registered Office - Helix Building, West Of Scotland Science Park,
Glasgow G20 0SP
Email Disclaimer

-----Original Message-----
From: Roy Clemmons [mailto:roy_clemm...@hotmail.com] 
Sent: 27 June 2011 17:32
To: 'General discussion for Windows Installer XML toolset.'
Subject: [WiX-users] PathEdit Help

Greetings,

Please help me determine what I'm lacking or doing incorrectly in the
code
below. It seems very simple, yet, it generates the following error:

"The installer has encountered an unexpected error installing this
package,
The may indicate a problem with this package. The error code is 2228."

Additionally, the error log contains the following:

The error code is 2228. The arguments are: , ControlEvent, SELECT
`Event`,
`Argument`, `Condition` FROM `ControlEvent` WHERE `Dialog_`=? AND
`Control_`=? ORDER BY `Ordering`, (NULL), (NULL), (NULL), (NULL), ,


<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi";>
  <Product Id="5FFFCA1A-E20B-4B76-924A-A915F3124A11"
           Name="UnifiDatabaseCustomizationsForCompanyXXX"
           Language="1033"
           Version="1.0.0.0"
           Manufacturer="Aquire">
    <Package Id='*'
             Keywords='UDSCU'
             Description="Unfi Database Script Creation Utility"
             InstallerVersion="200" Compressed="yes" Languages='1033'
SummaryCodepage='1252' Manufacturer='Aquire, Corp.' />
    <Media Id="1" Cabinet="CompanyXXX.cab" EmbedCab="yes" />
    <Property Id="DefaultUIFont" Value="Tahoma_Regular" />
    <Directory Id="TARGETDIR" Name="SourceDir">
      <Directory Id="ProgramFilesFolder">
        <Directory Id="INSTALLLOCATION" Name="Amazing Software">
        </Directory>
      </Directory>
    </Directory>
    <UI>
       <TextStyle Id="Tahoma_Regular" FaceName="Tahoma" Size="8" />

      <Dialog Id="DestinationFolderDlg" Width="325" Height="270">
        <Control Id="myPathEdit" Type="PathEdit" Width="232" Height="15"
X="8" Y="11" Property="INSTALLLOCATION" />
<Control Id="Folder" Type="PathEdit" X="20" Y="100" Width="320"
Height="18" Property="WIXUI_INSTALLDIR" Indirect="yes" />
        <Control Type="PushButton" Id="OK" Text="OK" Width="56"
Height="17"
X="255" Y="11" />
      </Dialog>

      <InstallUISequence>
        <Show Dialog="DestinationFolderDlg" Before="ExecuteAction" />
      </InstallUISequence>
    </UI>
  </Product>
</Wix>

Thank you!


------------------------------------------------------------------------
------
All of the data generated in your IT infrastructure is seriously
valuable.
Why? It contains a definitive record of application performance,
security 
threats, fraudulent activity, and more. Splunk takes this data and makes

sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to