Joe,
My setup has INSTALLDIR property inside the UI section itself rather
than on own, like this....
<UI>
...
<Property Id="WIXUI_INSTALLDIR" Value="INSTALLDIR" />
...
<\UI>
And this works fine for me. Can't hurt to try it.
Chris
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?
>
> Thanks
> _____________________________________
>
> Joe Tilley
>
> FW Murphy
>
> Software Engineer
>
> Office
>
> (918) 317-4130
>
> Email
>
> [email protected]
>
>
>
>
>
>
>
> “This message and any attachments may contain FW Murphy information
> that is highly confidential, privileged, and exempt from
> disclosure. Any recipient other than the intended recipient is
> advised that dissemination, distribution, copying, or other use of
> this message is strictly prohibited. If you have received this
> message in error, please notify the sender immediately, plus delete
> the message and any backups.”
> ------------------------------------------------------------------------------
> 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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wix-users
------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users