William_Martin
Mon, 16 Jun 2008 00:03:09 -0700
According to the documentation, you should be setting the value attribute
to Null, not 0. 0 will just determine the order the sequence steps get
executed in. Try value="" instead.
If that doesn't work, there are two other ways of doing this that I can
think of:
1) Do what I did and create your own template without the dialogs. You
can copy the template that ships with the <msi> task and edit in Orca
(Note that's the Microsoft msi editor, NOT Orcas, the VS Beta!) to remove
the dialogs and associated sequences from the database. You can then set
this file as the base template with the template attribute on your <msi>
task.
2) Disable the sequence steps you don't want by setting the condition
attribute to something that always evaluates to False, such as 1=0. This
will cause the sequence step to be skipped when the msi is executed.
HTH,
Bill
-----Original Message-----
From: [EMAIL PROTECTED]
[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: 15 June 2008 14:38
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] How do I remove a standard dialog/sequence with MSI
Task?
It looks like I should set the sequence value to 0 (null) like so:
<sequence type="installui" action="WelcomeDlg" value="0" />
<sequence type="adminui" action="AdminWelcomeDlg" value="0" />
But this is not working. I get the error:
Unable to build Installer database 'vip.svmotion-bin-0.9.23.18.msi'.
Modify,Mode,Record
Basically I want the installer to just install the files. I don't care
about the license, the welcome, the dir location. How do I strip out
those standard dialogs?
--
-a
"condensing fact from the vapor of nuance"
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
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.
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users