Hello,

[Please include me directly in your responses, as I'm not on this list.]

I am using Wix version 3.0.2420.0

I'm using WIXUI_INSTALLDIR to prompt the user to enter an altnernate
install location for the product. I am following the example outlined in
the help for the WIXUI_INSTALLDIR dalog set. I set the value of
WIXUI_INSTALLDIR to the Directory Id of the default location, and this
shows up in the dialog correctly. But If I change this location via the
dialog (to c:\OtherFolder), the components are still copied to the
default location. From the log, it looks like The application folder
property (property representing my Directory ID) is being set after the
files have been copied:

InstallFiles: File: VirtualProduct.exe,  Directory: C:\Program
Files\Windows Product\application\,  Size: 69120
Property(S): applicationFolder = C:\Program Files\Windows
Product\application\
Property(S): WIXUI_INSTALLDIR = applicationFolder
Property(C): applicationFolder = C:\OtherFolder\
Property(C): WIXUI_INSTALLDIR = applicationFolder

My directory structure looks like this:

    <Directory Id="TARGETDIR" Name="SourceDir">
      <Directory Id="ProgramFilesFolder" Name="pfiles">
        <Directory Id="productFolder" Name="Windows Product">
          <Directory Id="applicationFolder" Name="application">
            // components go here
          </Directory>
        </Directory>
      </Directory>
    <Directory Id="ProgramMenuFolder" Name="PMF">
      <Directory Id="ProductMenuFolder" Name="Windows Product"/>
      </Directory>
    </Directory>
  <UIRef Id="WixUI_InstallDir" />
  <Property Id="WIXUI_INSTALLDIR" Value="applicationFolder"/>

Am I missing something? Do I need to somehow add WIXUI_InSTALLDIR to my
directory tree? Thanks for your time.
--Doug
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to