After doing a lot more fiddling, I don't believe it's a problem with my
INSTALLDIR at all (the property is correct when I call my CustomAction
at the end of the install so it appears to be setting correctly).  My
question:  My files are not installing where I'm trying to put them.  My
code looks like this:

<Directory Id="TARGETDIR" Name="SourceDir">
      <Directory Id="INSTALLDIR" Name="RDPath">
        <Component Id="RDPath"
Guid="77AFCE9A-57B1-4E72-9EA5-927CECFE4064">
          <File Id="Accoun0.svc" Name="Accoun0.svc"
LongName="AccountCodeService.svc"
Source="c:\CabFilesInstaller\ReferenceDataCAB.CAB\" KeyPath="yes"
Vital="yes" DiskId="1" />

When I install this it always installs to c:\Referenc.CAB.  How can I
make it install to INSTALLDIR\RDPath?
          

-----Original Message-----
From: Bob Arnson [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 13, 2007 1:07 PM
To: Alex Steen
Cc: Chris Bardon; [EMAIL PROTECTED]
Subject: Re: [WiX-users] Changing the value of TargetDir?

Alex Steen wrote:
> Ok, I've poked around some more and I think I have a little bit better
> understanding of what exactly is going on.  It appears that my UI
> SelectFolderDialog that sets INSTALLDIR (if the user changes the box)
> does not work in time to influence the Directory structure.  

How are you setting it? Take a look at how WixUI does it 
(src\ext\UIExtension\wixlib).

-- 
sig://boB
http://bobs.org



-------------------------------------------------------------------------
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
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to