Have you set the ConfigurableDirectory attribute on the Feature? ... <Feature ... ConfigurableDirectory="INSTALLDIR" ...>
Dave Connet > On 08/04/2011 10:57 AM, Joe Tilley wrote: >> I'm using WixUI_InstallDir as the installer UI, and it pops up with my >> INSTALLDIR as the default directory as it should, but when I type in a >> different directory name into the text box, or browse to a different >> directory, it doesn't seem to accept it. Even though it looks like you're >> changing the install directory, it will always install to the default >> INSTALLDIR directory. >> >> Here is my directory definition: >> !--Define directory structure--> >> <Directory Id="TARGETDIR" Name="SourceDir"> >> <Directory Id="ProgramFilesFolder"> >> <Directory Id="ManufacturerDirectory" >> Name="$(var.ManufacturerDirectoryName)"> >> <Directory Id="INSTALLDIR" Name="$(var.ProductName)"> >> <Directory Id="ExtensionsDirectory" Name="Extensions" /> >> <Directory Id="MultiConfigDirectory" Name="MultiConfig" /> >> <Directory Id="UpgraderDirectory" Name="Upgrader" /> >> </Directory> >> </Directory> >> </Directory> >> >> <Directory Id="DesktopFolder" /> >> >> <Directory Id="ProgramMenuFolder" /> >> </Directory> >> >> And the UI definition: >> <!--Define a UI--> >> <UIRef Id="WixUI_InstallDir" /> >> <Property Id="WIXUI_INSTALLDIR" Value="INSTALLDIR" /> >> <WixVariable Id="WixUIBannerBmp" Value="Resources\banner.bmp" /> >> <WixVariable Id="WixUIDialogBmp" Value="Resources\dialog.bmp" /> >> >> >> It doesn't seem like there's a lot that can go wrong there. Am I missing >> something? ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users