This should happen by default.
 
If your INSTALLDIR/TARGETDIR is all uppercase, it's a public MSI property.
 
Any command line parameters will override its value. No CA required.
 
Cheers,

David.

  _____  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ravikumar
Gopinath
Sent: Monday, 6 August 2007 3:37 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Setting default targetdir...


In our msi, i want to set the targetdir to a default value, and allow the
user to override it if a property value is passed in. The setup has no UI,
and the user can set a property through command line to override the install
location. How can I override the targetdir only if it is passed in through
command line?
 
I was thinking of setting a custom property and check if the property is
present and if not, set targetdir to default value. If it is present, then
to use a custom action to set the target dir. Is there some other easier way
of doing it?
 
Thanks
Ravi

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to