There is something seriously wrong with my installer.  I tried the code
you sent and it doesn't change anything.  It still installs my code to
c:\Refrenc.CAB which doesn't even exist in code anymore.  I don't know
what's going on.

-----Original Message-----
From: Chris Bardon [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 12, 2007 1:53 PM
To: Alex Steen; [EMAIL PROTECTED]
Subject: RE: [WiX-users] Changing the value of TargetDir?

You're not actually referring to INSTALLDIR though.  Try this:

<Property Id="INSTALLDIR">c:\Program Files\Test</Property>
 
<Directory Id="TARGETDIR" Name="SourceDir">     
   <Directory Id='INSTALLDIR' Name='RDPath'>
        ...
   </Directory>
</Directory>

<Feature Id='RDPath' Title='ReferenceData' Description='Descrip of
ReferenceDataCAB' Display='expand' Level='1'
ConfigurableDirectory="INSTALLDIR">

That should install to c:\Program Files\Test.  That's pretty much what I
have working now.

-----Original Message-----
From: Alex Steen [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 12, 2007 2:48 PM
To: Chris Bardon; [EMAIL PROTECTED]
Subject: RE: [WiX-users] Changing the value of TargetDir?

Is something like this what you mean?

<Feature Id='RDPath' Title='ReferenceData' Description='Descrip of
ReferenceDataCAB' Display='expand' Level='1'
ConfigurableDirectory="INSTALLDIR">

I'm really at a loss here,
My directory structure:
<Directory Id="TARGETDIR" Name="SourceDir">     
   <Directory Id='RDPath' Name='RDPath'>

My CustomAction to set INSTALLDIR:
<CustomAction Id="SET_INSTALLDIR" Property="INSTALLDIR"
Value="c:\Program Files\Test" Execute="firstSequence" />

I've obviously lost my way somewhere, but for the life of me I can't
seem to spot it.

-----Original Message-----
From: Chris Bardon [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 12, 2007 1:41 PM
To: Alex Steen; [EMAIL PROTECTED]
Subject: RE: [WiX-users] Changing the value of TargetDir?

Did you set your main feature up with the
ConfigurableDirectory="INSTALLDIR" attribute?   

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of JCWrs
Sent: Thursday, April 12, 2007 1:56 PM
To: [EMAIL PROTECTED]
Subject: [WiX-users] Changing the value of TargetDir?


Hello all,

In my installer I have the user set the folder to which they wish to
install the app.  I get this value in the INSTALLDIR property and that
works just fine.  However, I am having trouble figuring out how to get
my files to install to the INSTALLDIR directory.  How do I make
TARGETDIR equal INSTALLDIR (or am I approaching this wrong)?
--
View this message in context:
http://www.nabble.com/Changing-the-value-of-TargetDir--tf3567207.html#a9
964890
Sent from the wix-users mailing list archive at Nabble.com.


------------------------------------------------------------------------
-
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=DEVDE
V
_______________________________________________
WiX-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/wix-users

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