Your code snippets look perfectly fine to me. I use code which is identical to 
all intents & purposes which works fine.
However I would check a verbose log to see what's actually happening. Are you 
trying to install an x86 MSI to an X64 location (as in "Program Files" rather 
than "Program Files (x86)")?

Palbinder Sandher 
Software Deployment Engineer
T: +44 (0) 141 945 8500 
F: +44 (0) 141 945 8501 

http://www.iesve.com 
**Design, Simulate + Innovate with the <Virtual Environment>**
Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456 
Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 
0SP
Email Disclaimer

-----Original Message-----
From: Joe Tilley [mailto:jtil...@fwmurphy.com] 
Sent: 04 August 2011 16:05
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] WixUI_InstallDir always installs to the same directory

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

jtil...@fwmurphy.com







“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&reg; 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


------------------------------------------------------------------------------
BlackBerry&reg; 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

Reply via email to