Quantcast

Error 2819

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Error 2819

Alexander Reifinger-2
Hi everybody,

I try to build a installer where the user is able to select the install
directory. I got myself the sources of the wixui_mondo wixlib and
modified the WixUI_Mondo.wxs and the BrowseDlg.wxs (see end of posting).

Welcome and License Agreement work as expected, but when I click next to
see the browse dialog the error message 2819 is thrown:

DEBUG: Error 2819:  Control Tail on dialog BrowseDlg needs a property
linked to it
The installer has encountered an unexpected error installing this
package. This may indicate a problem with this package. The error code
is 2819. The arguments are: BrowseDlg, Tail,
MSI (c) (3C:2C) [12:36:29:380]: Product: AssessmentGuide -- The
installer has encountered an unexpected error installing this package.
This may indicate a problem with this package. The error code is 2819.
The arguments are: BrowseDlg, Tail,

Action ended 12:36:29: WelcomeDlg. Return value 3.
Action 12:36:29: FatalError.
Action start 12:36:29: FatalError.

Am I blind or is there no Control "Tail" on dialog BrowseDlg.

Can anyone point me to what I am doing wrong?

And, another question, are there any open source products using WIX as I
would like to see some WIX scripts to learn from them. I did not find
anything by googling, but maybe I was just using the wrong search terms...

--
Thanks in advance,
Alexander


WixUI_Mondo:
<Wix xmlns="http://schemas.microsoft.com/wix/2003/01/wi">
   <Fragment>
     <UI Id="WixUI">
       <TextStyle Id="WixUI_Font_Normal" FaceName="Tahoma" Size="8" />
       <TextStyle Id="WixUI_Font_Bigger" FaceName="Tahoma" Size="12" />
       <TextStyle Id="WixUI_Font_Title" FaceName="Tahoma" Size="9"
Bold="yes" />

       <Property Id="DefaultUIFont" Value="WixUI_Font_Normal" />
       <Property Id="WixUI_Wizard_Name" Value="WiX Setup Wizard" />
       <Property Id="WixUI_Mode" Value="Mondo" />

       <DialogRef Id="LicenseAgreementDlg" />
       <DialogRef Id="BrowseDlg" />
       <DialogRef Id="VerifyReadyDlg" />
       <DialogRef Id="MaintenanceTypeDlg" />
       <DialogRef Id="VerifyRepairDlg" />
       <DialogRef Id="VerifyRemoveDlg" />

       <Property Id="WixUI_WelcomeDlg_Next" Value="LicenseAgreementDlg" />

       <Property Id="WixUI_LicenseAgreementDlg_Back" Value="WelcomeDlg" />
       <Property Id="WixUI_LicenseAgreementDlg_Next" Value="BrowseDlg" />

       <Property Id="WixUI_BrowseDlg_Back" Value="LicenseAgreementDlg" />
       <Property Id="WixUI_BrowseDlg_Next" Value="VerifyReadyDlg" />

       <Property Id="WixUI_VerifyReadyDlg_BackCustom" Value="BrowseDlg" />
       <Property Id="WixUI_VerifyReadyDlg_BackChange" Value="BrowseDlg" />
       <Property Id="WixUI_VerifyReadyDlg_BackRepair"
Value="MaintenanceTypeDlg" />
       <Property Id="WixUI_VerifyReadyDlg_BackTypical"
Value="MaintenanceTypeDlg" />
       <Property Id="WixUI_VerifyReadyDlg_BackComplete"
Value="MaintenanceTypeDlg" />

       <Property Id="WixUI_MaintenanceWelcomeDlg_Next"
Value="MaintenanceTypeDlg" />

       <Property Id="WixUI_MaintenanceTypeDlg_Change"
Value="MaintenanceTypeDlg" />
       <Property Id="WixUI_MaintenanceTypeDlg_Repair"
Value="VerifyRepairDlg" />
       <Property Id="WixUI_MaintenanceTypeDlg_Remove"
Value="VerifyRemoveDlg" />
       <Property Id="WixUI_MaintenanceTypeDlg_Back"
Value="MaintenanceWelcomeDlg" />

       <Property Id="WixUI_VerifyRemoveDlg_Back"
Value="MaintenanceTypeDlg" />
       <Property Id="WixUI_VerifyRepairDlg_Back"
Value="MaintenanceTypeDlg" />

       <InstallUISequence>
         <Show Dialog="WelcomeDlg" After="MigrateFeatureStates">NOT
Installed</Show>
         <Show Dialog="ResumeDlg" After="WelcomeDlg">Installed AND
(RESUME OR Preselected)</Show>
         <Show Dialog="MaintenanceWelcomeDlg"
After="ResumeDlg">Installed AND NOT RESUME AND NOT Preselected</Show>
         <Show Dialog="ProgressDlg" After="MaintenanceWelcomeDlg" />
         <Show Dialog="PrepareDlg" After="LaunchConditions" />
       </InstallUISequence>
     </UI>

     <FragmentRef Id="WixUI_Common" />
   </Fragment>
</Wix>

BrowseDlg:

<Wix xmlns="http://schemas.microsoft.com/wix/2003/01/wi">
   <Fragment>
     <UI>
                        <Dialog Id="BrowseDlg" Width="370" Height="270" Title="[ProductName]
[Setup]" NoMinimize="yes">
    <Control Id="PathEdit" Type="PathEdit" X="84" Y="202" Width="261"
Height="18" Property="_BrowseProperty" Indirect="yes" />
                          <Control Id="OK" Type="PushButton" X="304" Y="243" Width="56"
Height="17" Default="yes" Text="[ButtonText_OK]">
      <Publish Event="SetTargetPath" Value="[_BrowseProperty]">1</Publish>
      <Publish Event="EndDialog" Value="Return">1</Publish>
    </Control>
                          <Control Id="Cancel" Type="PushButton" X="240" Y="243" Width="56"
Height="17" Cancel="yes" Text="[ButtonText_Cancel]">
                            <Publish Event="Reset" Value="0">1</Publish>
      <Publish Event="EndDialog" Value="Return">1</Publish>
    </Control>
                          <Control Id="ComboLabel" Type="Text" X="25" Y="58" Width="44"
Height="10" TabSkip="no" Text="&amp;Look in:" />
                          <Control Id="DirectoryCombo" Type="DirectoryCombo" X="70" Y="55"
Width="220" Height="80" Property="_BrowseProperty" Indirect="yes"
Fixed="yes" Remote="yes">
      <Subscribe Event="IgnoreChange" Attribute="IgnoreChange" />
    </Control>
                          <Control Id="Up" Type="PushButton" X="298" Y="55" Width="19"
Height="19" ToolTip="Up One Level" Icon="yes" FixedSize="yes"
IconSize="16" Text="Up">
      <Publish Event="DirectoryListUp" Value="0">1</Publish>
    </Control>
                          <Control Id="NewFolder" Type="PushButton" X="325" Y="55" Width="19"
Height="19" ToolTip="Create A New Folder" Icon="yes" FixedSize="yes"
IconSize="16" Text="New">
      <Publish Event="DirectoryListNew" Value="0">1</Publish>
    </Control>
                          <Control Id="DirectoryList" Type="DirectoryList" X="25" Y="83"
Width="320" Height="110" Property="_BrowseProperty" Sunken="yes"
Indirect="yes" TabSkip="no" />
                                <Control Id="Back" Type="PushButton" X="180" Y="243" Width="56"
Height="17" Text="[ButtonText_Back]">
    <Publish Event="NewDialog" Value="CustomizeDlg">1</Publish>
                                </Control>
                        </Dialog>
     </UI>
   </Fragment>
</Wix>


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
WiX-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/wix-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Error 2819

Tony Hoyle
Alexander Reifinger wrote:
> And, another question, are there any open source products using WIX as I
> would like to see some WIX scripts to learn from them. I did not find
> anything by googling, but maybe I was just using the wrong search terms...
>
Mysql, cvsnt, probably half a dozen others...

You won't find by googling for 'wix' as it's not really something that
gets listed as a feature - it's just plumbing.  Since it's the only free
way to create msi files (beyond the very basic stuff anyway) it's
probably a lot more popular than it looks.

Tony


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
WiX-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/wix-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Error 2819

Bob Arnson-3
In reply to this post by Alexander Reifinger-2
Alexander Reifinger wrote:
DEBUG: Error 2819:  Control Tail on dialog BrowseDlg needs a property linked to it
I suspect it's referring to the PathEdit control, which the doc says should "select the tail section of the path." You need to set the _BrowseProperty to the name of the directory Id you want to browse for.
-- 
sig://boB
http://bobs.org
------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click _______________________________________________ WiX-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/wix-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Error 2819

Bob Arnson-3
Alexander Reifinger wrote:
>> I suspect it's referring to the PathEdit control, which the doc says
>> should "select the tail section of the path." You need to set the
>> _BrowseProperty to the name of the directory Id you want to browse for.
>
> And how do I do that?
Please keep the WiX list looped in so everyone can participate in the
thread. The short answer is that you need to set the _BrowseProperty
value somewhere in your package. If you're using only one browse dialog,
you can set it with <Property>:

<Property Id="_BrowseProperty" Value="MY_DIR_ID" />



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
WiX-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/wix-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Error 2819

Alexander Reifinger-2
Bob Arnson schrieb:

> Please keep the WiX list looped in so everyone can participate in the
> thread.

Why doesn't this mailing list set the reply-to header to the list? Every
other mailing list I know does... But mailing lists are crap anyway,
usenet was invented for this type of conversation...

> The short answer is that you need to set the _BrowseProperty value
> somewhere in your package. If you're using only one browse dialog, you
> can set it with <Property>:
>
> <Property Id="_BrowseProperty" Value="MY_DIR_ID" />

I did this, but it did not help, still get error 2343.

        <Property Id="_BrowseProperty" Value="MyApp" />
    <UI>
            <Dialog Id="BrowseDlg" Width="370" Height="270"
Title="MyApp" NoMinimize="yes">
              <Control Id="PathEdit" Type="PathEdit" X="84" Y="202"
Width="261" Height="18" Property="_BrowseProperty" Indirect="yes" />
              <Control Id="OK" Type="PushButton" X="304" Y="243"
Width="56" Height="17" Default="yes" Text="[ButtonText_OK]">
                <Publish Event="SetTargetPath"
Value="[_BrowseProperty]">1</Publish>
                <Publish Event="EndDialog" Value="Return">1</Publish>
              </Control>
              <Control Id="Cancel" Type="PushButton" X="240" Y="243"
Width="56" Height="17" Cancel="yes" Text="[ButtonText_Cancel]">
                <Publish Event="Reset" Value="0">1</Publish>
                <Publish Event="EndDialog" Value="Return">1</Publish>
              </Control>
              <Control Id="ComboLabel" Type="Text" X="25" Y="58"
Width="44" Height="10" TabSkip="no" Text="&amp;Look in:" />
              <Control Id="DirectoryCombo" Type="DirectoryCombo" X="70"
Y="55" Width="220" Height="80" Property="_BrowseProperty" Indirect="yes"
Fixed="yes" Remote="yes">
                <Subscribe Event="IgnoreChange" Attribute="IgnoreChange" />
              </Control>
              <Control Id="Up" Type="PushButton" X="298" Y="55"
Width="19" Height="19" ToolTip="Up One Level" Icon="yes" FixedSize="yes"
IconSize="16" Text="Up">
                <Publish Event="DirectoryListUp" Value="0">1</Publish>
              </Control>
              <Control Id="NewFolder" Type="PushButton" X="325" Y="55"
Width="19" Height="19" ToolTip="Create A New Folder" Icon="yes"
FixedSize="yes" IconSize="16" Text="New">
                <Publish Event="DirectoryListNew" Value="0">1</Publish>
              </Control>
              <Control Id="DirectoryList" Type="DirectoryList" X="25"
Y="83" Width="320" Height="110" Property="_BrowseProperty" Sunken="yes"
Indirect="yes" TabSkip="no" />
                <Control Id="Back" Type="PushButton" X="180" Y="243"
Width="56" Height="17" Text="[ButtonText_Back]">
                  <Publish Event="NewDialog"
Value="LicenseAgreementDlg">1</Publish>
                </Control>
            </Dialog>
    </UI>


--
Servus,
Alexander



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
WiX-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/wix-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Error 2819

Bob Arnson-3
Alexander Reifinger wrote:
> Why doesn't this mailing list set the reply-to header to the list?
> Every other mailing list I know does... But mailing lists are crap
> anyway, usenet was invented for this type of conversation...
It's come up before...
> I did this, but it did not help, still get error 2343.
What does your <Directory/Ref> tree look like?


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
WiX-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/wix-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Error 2819

Lakshmi V
Hi
I am facing a similar problem, i.e. 2343 error. I have attached the Wxs file with it. Would appreciate any lead to the issue

Thanks
Lakshmi.


On 1/6/06, Bob Arnson <[hidden email]> wrote:
Alexander Reifinger wrote:
> Why doesn't this mailing list set the reply-to header to the list?
> Every other mailing list I know does... But mailing lists are crap
> anyway, usenet was invented for this type of conversation...
It's come up before...
> I did this, but it did not help, still get error 2343.
What does your <Directory/Ref> tree look like?


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
WiX-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/wix-users


demoUI.wxs (57K) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Error 2819

Bob Arnson-3
You're setting BROWSEPROPERTY to INSTALLDIR but the only directory in
your package is TARGETDIR.

Lakshmi V wrote:
> Hi
> I am facing a similar problem, i.e. 2343 error. I have attached the
> Wxs file with it. Would appreciate any lead to the issue



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
WiX-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/wix-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Error 2819

Lakshmi V
Thanks Bob, it worked

On 1/15/06, Bob Arnson <[hidden email]> wrote:
You're setting BROWSEPROPERTY to INSTALLDIR but the only directory in
your package is TARGETDIR.

Lakshmi V wrote:
> Hi
> I am facing a similar problem, i.e. 2343 error. I have attached the
> Wxs file with it. Would appreciate any lead to the issue


Loading...