Hi Tom,

To include a license file, all you need to do is (as you have done) set the license attribute on the <msi> task and point it to an RTF file.  If this doesn't work, check that the location pointed to by ${license.rtf} is definately valid.  Try ssomething like <echo message="${path::get-full-path(license.rtf)}" /> to print out where the script thinks the file is.

Also, check that you are using the correct template.  By default, if you don't specify a template, it should use the one that ships with the task, and this includes a license screen.  

Are you getting a license screen without the text, or no license screen at all?  If it's a screen without text, then it's probably just not pointing to the righ tlocation for the rtf file.  If there's no screen at all, then you don't have the correct template.

Cheers,

Bill

P.S. For information, if you are using the standard msi template from NAnt, you use Orca to view the created msi, and the license text should be in the control table.  There is a control called AgreementText on the LicenseAgreementDlg dialog.  The Text column for this control should be set to the license text.







From "Thomas Schroedter" <[EMAIL PROTECTED]>@lists.sourceforge.net
Sent by: [EMAIL PROTECTED]

03/04/2006 00:15


To
<nant-users@lists.sourceforge.net>
cc
Subject
[NAnt-users] MSI Task: License Text not displayed!






Hi,

I want to display a license agreement text during a setup. But when I ran my setup nothing is displayed in the license aggreement dialog.

My msi task looks like that:

"...
<msi

sourcedir       = "${release.dir}"

output          = "${output.dir}${ProductNameShort}.msi"

license         = "${license.rtf}"

debug           = "true"

verbose         = "true">

..."

I don't get any error messages when I create the MSI file. I'm sure the file exists and I point to the correct file!

Do I have to include the license file somewhere else in the <msi> task, e.g. as <binaries> or so?

Thanks for your help,
Tom

PS: NAnt Wiki is still down, so I can't search there.



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

Reply via email to