From: SourceForge.net <no...@so...> - 2006-09-30 03:56:25
|
Bugs item #1506008, was opened at 2006-06-14 12:41 Message generated for change (Comment added) made by barnson You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1506008&group_id=105970 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: wixui Group: v3.0 Status: Closed Resolution: Invalid Priority: 5 Submitted By: Matthijs van der Vleuten (zr40) Assigned to: Bob Arnson (barnson) Summary: WixUI_InstallDir generates error 2819 Initial Comment: When using WixUI_InstallDir, clicking Change on the Destination Folder dialog generates 'an unexpected error' with error code 2819. This does not happen with WixUI_Mondo. ---------------------------------------------------------------------- >Comment By: Bob Arnson (barnson) Date: 2006-09-30 03:56 Message: Logged In: YES user_id=26581 WIXUI_INSTALLDIR is a simple property whose value is the name of an all-uppercase directory. No custom action required. (WixUI_Advanced is another dialog set that's currently still in development.) Which version of WiX are you using? Recent builds have a PropertyRef so you get an error if you don't define it. ---------------------------------------------------------------------- Comment By: Terry Denham (terrydenham) Date: 2006-09-29 23:30 Message: Logged In: YES user_id=1014678 Doing some reading it seemed like I needed to define the WIXUI_INSTALLDIR property. I went this route by adding the property and setting up a custom action, but this still failed. Next I did a search for WIXUI_INSTALLDIR in the wixlib directory and see that in WixUI_Advanced.wxs there is the property definition with a value of APPLICATIONFOLDER but I was using INSTALLDIR as my application root directory. So I changed my directory id to APPLICATIONFOLDER and compiled and run again but I get the same 2819 error. I'm using Votive 3.0/ VS2005 if that has any bearing. ---------------------------------------------------------------------- Comment By: Terry Denham (terrydenham) Date: 2006-09-29 22:47 Message: Logged In: YES user_id=1014678 I've been able to reproduce this error. I've created a simple single file install and tried to use the WixUI_InstallDir element <UIRef Id="WixUI_InstallDir" /> <UIRef Id="WixUI_ErrorProgressText" /> It builds fine, but when I run it I get an error The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2819. If I change the package to use WixUI_Mondo it runs without error. I changed it back to WixUI_InstallDir and ran the installer using msiexec with the log option. This reports the following error condition: Action 17:25:50: LicenseAgreementDlg. Dialog created DEBUG: Error 2819: Control Folder on dialog InstallDirDlg 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: InstallDirDlg, Folder, MSI (c) (98:B4) [17:25:55:860]: Product: Telligent Patch Generation Tool (SQLPatch) -- 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: InstallDirDlg, Folder, Opening the InstallDirDlg.wxs file the Folder control looks like this : <Control Id="Folder" Type="PathEdit" X="20" Y="100" Width="320" Height="18" Property="WIXUI_INSTALLDIR" Indirect="yes" /> ---------------------------------------------------------------------- Comment By: Bob Arnson (barnson) Date: 2006-06-21 02:26 Message: Logged In: YES user_id=26581 Feel free to reactive the bug if you run into problems with 2.0.4221.0 or 3.0.1821.0 or later. ---------------------------------------------------------------------- Comment By: The Mad Butcher (mad_burcher) Date: 2006-06-16 08:35 Message: Logged In: YES user_id=295880 In WiX.chm do a search for WIXUI_INSTALLDIR. I took me also some time before i found it in the chm file :-) ---------------------------------------------------------------------- Comment By: Bob Arnson (barnson) Date: 2006-06-15 14:17 Message: Logged In: YES user_id=26581 WIXUI_INSTALLDIR must be a property, not a directory. See WiX.chm for details. So it looks like: <Directory Id="TARGETDIR" Name="SourceDir"> <Directory Id="ProgramFilesFolder" Name="PFiles"> <Directory Id="TESTFILEPRODUCTDIR" Name="WIXTEST" LongName="Test File"> <Component ...> </Component> </Directory> </Directory> </Directory> <Property Id="WIXUI_INSTALLDIR" Value="TESTFILEPRODUCTDIR" /> <UIRef Id="WixUI_InstallDir" /> ---------------------------------------------------------------------- Comment By: Matthijs van der Vleuten (zr40) Date: 2006-06-15 07:32 Message: Logged In: YES user_id=832662 No, I was using INSTALLDIR, as recommended by the WiX Tutorial. Setting it to WIXUI_INSTALLDIR generates an error: error LGHT0205 : ICE18: KeyPath for Component: 'Environment' is Directory: 'WIXUI_INSTALLDIR'. The Directory/Component pair must be listed in the CreateFolders table. By the way, where is WIXUI_INSTALLDIR documented? ---------------------------------------------------------------------- Comment By: Bob Arnson (barnson) Date: 2006-06-14 17:29 Message: Logged In: YES user_id=26581 Have you set WIXUI_INSTALLDIR to the directory you want the dialog to control? If not, you need to do so. If so, please attach a verbose log because I can't reproduce it with the current WiX build. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1506008&group_id=105970 |