Can you share out information from the verbose log file about the error.  I 
don't immediately see anything wrong below.

-----Original Message-----
From: Jonason [mailto:lei.zhan...@hp.com] 
Sent: Sunday, February 08, 2009 01:59
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Error code 2189 for WixUI_InstallDir


I have a question need your help, I added the <UIRef Id="WixUI_InstallDir" />
to my wix project, wen I run the install msi, I met the issue "Error code
2189", could anyone help me on that, thanks a lot.

My Wix version is 3.0.4805.0, I use Votive in Visual studio.

 

The source code:
<?xml version='1.0' encoding='windows-1252'?>
<Wix xmlns='http://schemas.microsoft.com/wix/2006/wi'>
  <Product Name='Foobar 1.0' Id='20320b02-f2b4-44a5-ae7a-7e6988a7d429'
    Language='1031' Codepage='1252' Version='1.0.0' Manufacturer='Acme
Ltd.'>

    <Package Id='8989b9b4-a935-41a4-9d4b-baff36dc6496' Keywords='Installer'
      Description="Acme's Foobar 1.0 Installer"
      Comments='Foobar is a registered trademark of Acme Ltd.'
Manufacturer='Acme Ltd.'
      InstallerVersion='100' Languages='1031' Compressed='yes'
SummaryCodepage='1252' />

    <Media Id='1' Cabinet='Sample.cab' EmbedCab='yes' DiskPrompt="CD-ROM #1"
/>
    <Property Id='DiskPrompt' Value="Acme's Foobar 1.0 Installation [1]" />

    <Directory Id='TARGETDIR' Name='SourceDir'>
      <Directory Id='ProgramFilesFolder' Name='PFiles'>
        <Directory Id='Acme' Name='Acme'>
          <Directory Id='INSTALLDIR' Name='Foobar 1.0'>

            <Component Id='MainExecutable'
Guid='3eb6a876-2483-4b52-b8a9-f511f92bd474'>
              <File Id='FoobarEXE' Name='FoobarAppl10.exe' DiskId='1'
                Source='FoobarAppl10.exe' Vital='yes'>
                <Shortcut Id="startmenuFoobar10" Directory="ProgramMenuDir"
Name="Foobar10" 
                  LongName="Foobar 1.0" WorkingDirectory='INSTALLDIR'
Icon="Foobar10.exe" IconIndex="0" />
                <Shortcut Id="desktopFoobar10" Directory="DesktopFolder"
Name="Foobar10"
                  LongName="Foobar 1.0" WorkingDirectory='INSTALLDIR'
Icon="Foobar10.exe" IconIndex="0" />
              </File>
            </Component>

            <Component Id='HelperLibrary'
Guid='b351045c-3da9-4d15-9b65-06f04dcb412a'>
              <File Id='HelperDLL' Name='Helper.dll' DiskId='1'
Source='Helper.dll' Vital='yes' />
            </Component>

            <Component Id='Manual'
Guid='38c2ee60-7bad-4803-b27d-339b4dc231cc'>
              <File Id='Manual' Name='Manual.pdf' DiskId='1'
Source='Manual.pdf'>
                <Shortcut Id="startmenuManual" Directory="ProgramMenuDir"
Name="Manual" LongName="Instruction Manual" />
              </File>
            </Component>

          </Directory>
        </Directory>
      </Directory>

      <Directory Id="ProgramMenuFolder" Name="Programs" >
        <Directory Id="ProgramMenuDir" Name='Foobar 1.0'/>
      </Directory>

      <Directory Id="DesktopFolder" Name="Desktop" />
    </Directory>

    <Feature Id='Complete' Title='Foobar 1.0' Description='The complete
package.'
      Display='expand' Level='1' ConfigurableDirectory='INSTALLDIR'>
      <Feature Id='MainProgram' Title='Program' Description='The main
executable.' Level='1'>
        <ComponentRef Id='MainExecutable' />
        <ComponentRef Id='HelperLibrary' />
      </Feature>

      <Feature Id='Documentation' Title='Description' Description='The
instruction manual.' Level='1000'>
        <ComponentRef Id='Manual' />
      </Feature>
    </Feature>

    <UIRef Id="WixUI_InstallDir" />
    <UIRef Id="WixUI_ErrorProgressText" />

    <Icon Id="Foobar10.exe" SourceFile="FoobarAppl10.exe" />
  </Product>
</Wix>


-- 
View this message in context: 
http://n2.nabble.com/Error-code-2189-for-WixUI_InstallDir-tp2292262p2292262.html
Sent from the wix-users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to