One other thing I would check for - make sure you don't
have a custom action which is overriding what you specified from the
command line. That bit me one time! :-)
Regards,
Richard From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matthew Janulewicz Sent: Thursday, September 28, 2006 19:33 To: Jeff MacDuff; wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Error setting target through command line Without seeing the code, I’d have to
guess. But I think that private properties can’t be set or changed, only public.
Public properties are always in all caps. Maybe the ProgramFilesFolder is taking
precedent because it’s initially defined in TARGETDIR? As a test, compile and
try the installer using a different variable (other than TARGETDIR) with a fixed
local path that doesn’t use a system folder. Or change TARGETDIR to not include
ProgramFilesFolder in it’s path. Then try to pass in “c:\temp” and see what
happens. -Matt From: Jeff
MacDuff [mailto:[EMAIL PROTECTED] Ok so that worked, if I
do that syntax with the “” I see in the log file where the targetdir get’s set…
however it still installs to the program files
directory. I then tried setting
the ProgramFilesFolder to c:\temp.. again the logfile shows it being set but it
still resolves the real one. Is there a trick to
making this work? From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Matthew Janulewicz Try this: TARGETDIR=”c:\temp” I can’t find any documentation to
corroborate it, but all the auto-deployment scripts I have set public properties
with quotes, even when there are no spaces or odd characters in it. I must have
done that for some reason when I wrote them months and months ago,
no? -Matt From: Jeff
MacDuff [mailto:[EMAIL PROTECTED] I am trying to the TARGETDIR through
the cmd line when running my MSI but it get’s completely ignored…. Some
customers might need to overwrite the default value so they have requested this
msiexec function to work. The syntax I am using is msiexec /I
foo.msi TARGETDIR=c:\temp Is there any trick to getting this
to work? Thanks for the
help, Jeff
* C O N F I D E N T I A L I T Y N O T I C E * ----------------------------------------------------------- The content of this e-mail is intended solely for the use of the individual or entity to whom it is addressed. If you have received this communication in error, be aware that forwarding it, copying it, or in any way disclosing its content to any other person, is strictly prohibited. Peek Traffic Corporation is neither liable for the contents, nor for the proper, complete and timely transmission of (the information contained in) this communication. If you have received this communication in error, please notify the author by replying to this e-mail immediately and delete the material from any computer. |
------------------------------------------------------------------------- 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