[wix-users] Error code 2819

Bob rkamarowski at yahoo.com
Wed Feb 17 11:20:36 PST 2016


Thank you!

Sent from Mail for Windows 10

From: Hoover, Jacob
Sent: Wednesday, February 17, 2016 2:06 PM
To: WiX Toolset Users Mailing List
Subject: Re: [wix-users] Error code 2819

http://stackoverflow.com/questions/24437801/wix-installer-failing-error-code-2819

http://stackoverflow.com/questions/7349837/wix-installer-fails-with-error-code-2819

https://msdn.microsoft.com/en-us/library/windows/desktop/aa372835(v=vs.85).aspx - Control [3] on dialog [2] needs a property linked to it.

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Bob
Sent: Wednesday, February 17, 2016 1:02 PM
To: wix-users at lists.wixtoolset.org
Subject: [wix-users] Error code 2819

I received the following error when running an installer I have created:

The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2819.

Not the most helpful error message 😊

The error occurred when I changed the UIRef to ‘WixUI_InstallDir’. I have the INSTALLDIR defined as recommended. Any help would be appreciated.

XML:

<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
                <Product Id="*" 
    Name="EES Photography" 
    Language="1033" 
    Version="1.0.0.0" 
    Manufacturer="!(loc.ManufactureNameComplete)" 
    UpgradeCode="23d3ea46-fe06-425d-8109-82b87a2a69a3">
    
                                <Package 
      InstallerVersion="200" 
      Compressed="yes" 
      InstallScope="perMachine"
      Description="Install EES - Photography" 
      Keywords="Install, EES, Elephant Ear Software, Photography, MSI"
      Manufacturer="!(loc.ManufactureNameComplete)"/>

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

    <!--launch conditions-->
     <!--.net 4.5-->
    <PropertyRef Id="NETFRAMEWORK45"/>
    <Condition Message=".NET 4.5 or higher must be installed.">
      <![CDATA[Installed OR NETFRAMEWORK45]]>
    </Condition>

    <!--<PropertyRef Id="AlreadInstalled"/>-->
    <PropertyRef Id="OSBits"/>
    <PropertyRef Id="OSVersion"/>
    
                                <Feature Id="ProductFeatures" Title="EES Photography" Level="1">
      <ComponentRef Id="CMP_BackupFolder"/>
      <ComponentRef Id="CMP_PhotographyDatabase"/>
      <ComponentRef Id="CMP_PhotographyShortcut"/>
      <ComponentGroupRef Id="CMP_InstallFiles" />
    </Feature>
    
    <!--check for data file-->
    <Property Id="PATH_DATAFILE">
      <DirectorySearch Path="CommonAppDataFolder" 
                       Id="ProgramDataFolder" 
                       AssignToProperty="no" 
                       Depth="0">
        <DirectorySearch Path="DatabaseSubDir" 
                         Id="ProgramDataSubFolder" 
                         AssignToProperty="no" 
                         Depth="0">
          <DirectorySearch Path="DatabaseInstallDir" 
                           Id="ApplicationDataFolder" 
                           AssignToProperty="no" 
                           Depth="0">
            <FileSearch Name="eesData.db" 
                        Id="eesDataFile"/>
          </DirectorySearch>
        </DirectorySearch>
      </DirectorySearch>
    </Property>
     
    <UIRef Id="WixUI_InstallDir"/>

    <!--directory structure-->
    <Directory Id="TARGETDIR"
                 Name="SourceDir">
      <Directory Id="ProgramFiles64Folder">
        <Directory Id="INSTALLMAINDIR" Name="!(loc.ManufacturerName)">


Sent from Mail for Windows 10


____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/



More information about the wix-users mailing list