Tom,
Try adding a Custom Action to set the TARGETDIR property. Something like:
<customactions>
<!-- Sets the default installation directory -->
<customaction action="" type="51" source="TARGETDIR" target="[ProgramFilesFolder]\[Manufacturer]\[ProductName]" />
</customactions>
<sequences>
<sequence type="installexecute" action="" condition="NOT TARGETDIR" value="120" />
<sequence type="installui" action="" condition="NOT TARGETDIR" value="120" />
</sequences>
Cheers,
Bill
From "Thomas Schroedter" <[EMAIL PROTECTED]>@lists.sourceforge.net Sent by: [EMAIL PROTECTED] 20/03/2006 02:56 |
|
Hi,
I try to change the default installation location. At the moment it points to
"D:\", but it should point to something like C:\Program
Files\<Manufacture>\<ProductName>.
How can I change the default location of a setup?
Thanks,
Tom
****** IMPORTANT ******
This email and any attachments transmitted with it are confidential. If you are not the intended recipient or person responsible for delivering the email to the intended recipient, you are prohibited from disclosing, copying or using the information contained in it. If you have received this email in error, contact us by replying to this email and delete all copies of the message and attachments from your system.
Before opening or using attachments, check them for viruses and defects. We accept no responsibility for any damage caused by any computer viruses or other defects or conditions which may damage or interfere with data, hardware or software with which it might be used. This email and any attachment may have been modified or otherwise interfered with in the course of its transmission. We give no warranty that the integrity of this email has been maintained.
Fiducian Portfolio Services Limited ABN 13 073 845 931 AFS Licence 231101. Email: [EMAIL PROTECTED]
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
IMPORTANT
The information contained in this e-mail and any attachments is intended for the addressee only
and may contain legally privileged or confidential information. If you are not the intended
recipient you must not use, disclose, copy, distribute, alter, or take any action in reliance
on the information and Avon Insurance plc will not accept liability for any loss or damage howsoever
arising, directly or indirectly in reliance on it and gives no warranty or representation as to its
accuracy or reliability. If you are not the addressee, please notify us immediately on 01789 202121*
and delete the material from your computer and destroy any copies.
Avon Insurance plc reserves the right to monitor and record incoming and outgoing email messages for
the purposes of investigating or detecting unauthorised use of its system and ensuring its effective operation.
Avon Insurance plc will not accept liability for any loss or damage as a result of any virus being passed on.
Avon Insurance plc (No. 209606).
Registered in England. Registered Office: Arden Street, Stratford upon Avon, Warwickshire CV37 6WA.
Authorised and regulated by the Financial Services Authority.
A member of the NFU Mutual group of companies and the Association of British Insurers.
*For security and training purposes, telephone calls may be recorded and monitored.