ProgramFilesFolder is a special folder where PROGRAMFILESFOLDER is your own 
custom thing.

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Thomas Svare
Sent: Thursday, December 07, 2006 13:17
To: Don Tasanasanta; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Directory reassignment problem

Don,

I had this problem with a 32 bit component in a 64 bit merge module.  The 32 
bit component needed to go in

Program Files (x86)\MyCompany\MyProduct

I've never fully understood why I had this problem but the issue was happening 
because I was using all uppercase Directory Id's.  Once I switched to a mixed 
case Directory Id's the files installed fine.  I stumbled upon the problem 
looking at a verbose log.  I believe it has something to do when properties are 
evaluated during the InstallUI and InstallExecute sequences.

I'll be interested to hear other thoughts and explanations.

Tom

________________________________
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Don Tasanasanta
Sent: Thursday, December 07, 2006 3:48 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Directory reassignment problem

My install has a very large directory structure in which the root folder is 
defined by the user. If the user doesn't change the default root directory then 
everything works fine but if the default is changed then the install creates a 
root folder in the new location but only the files directly under the root 
folder are installed there; all the folders under the root end up installed in 
the default location.

    <Directory Id="TARGETDIR" Name="SourceDir">
      <Directory Id="WWWROOT" Name="wwwroot" >
        <Directory Id="WEBSITE" Name="WEBSITE" >
        </Directory>
      </Directory> <!-- WWWROOT -->
    </Directory> <!-- TARGETDIR -->

(in another wxs file)

<DirectoryRef Id="WEBSITE">

  <Directory Id="DIR1" Name="Dir1">
  </Direcotry>

(and series of other directory Id's)

</DirectoryRef>

In the UI the value of WEBSITE is changed to somewhere else but DIR1, and all 
other folders declared under the WEBSITE DirectoryRef, still reflect the 
default location.

Is this the expected behavior? And if so... how might I all the subsequent 
directories to follow WEBSITE to what ever value it contains?

____________________________

Don Tasanasanta
VIACK Corporation
Redmond Washington
425-605-7423

-------------------------------------------------------------------------
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