Craig, Here is a MSM and MSI taks that we use on one of our simple .net projects. We build a msm file and then a msi, using the msm file we generated (so we can have a stand alone installation and the merge module to go in a larger one).
Hope this helps. John ----------------------------------------- <target name="msi"> <call target="msm"/> <!-- banner="..\..\banner.bmp" background="..\..\background.bmp" license="..\..\license.rtf" --> <msi sourcedir="" output="ReferenceViewer.msi" debug="true" verbose="true" > <properties> <property name="ProductName" value="Reference Viewer" /> <property name="ProductVersion" value="1.0" /> <property name="Manufacturer" value="UAI, Inc." /> <property name="ProductCode" value="{8D02D6D1-265F-41f0-9BA3-2D25BF2CC3F9}" /> <property name="UpgradeCode" value="{270A4FCD-511D-4b23-AA9F-DAAE8408A906}" /> </properties> <directories> <directory name="D__COMPANY" foldername="UAI" root="ProgramFilesFolder" > <directory name="D__Utilties" foldername="Utilities"> <directory name="D__RV" foldername="Reference Viewer" /> </directory> </directory> <!-- <directory name="D__PM_COMPANY" foldername="UAI" root="ProgramMenuFolder" > <directory name="D__PM_Utilties" foldername="Utilities" /> </directory> --> </directories> <components> <component name="C__MainFiles2" id="{8FE4E0CD-2C5F-465f-9118-FD3C3B5EC7DC}" attr="2" directory="D__RV" feature="F__DefaultFeature" > <key file="log4net.config" /> <fileset basedir="."> <include name="log4net.config" /> </fileset> </component> </components> <!-- <icons> <icon name="APPICON" value="app.ico" /> </icons> <shortcuts> <shortcut name="SC__RV" directory="D__PM_Utilties" filename="ReferenceViewer.exe" component="C__MainFiles" target="[$C__MainFiles]\ReferenceViewer.exe" icon="APPICON" iconindex="0" showcmd="1"> <description>UAI Reference Viewer Utility</description> </shortcut> </shortcuts> --> <features> <feature name="F__DefaultFeature" title="Reference Viewer" display="1" typical="true" directory="D__RV"> <description>Reference Viewer Files</description> </feature> </features> <mergemodules> <merge feature="F__DefaultFeature"> <modules> <include name="RV.msm" /> </modules> </merge> </mergemodules> </msi> </target> <target name="msm"> <msm output="RV.msm" sourcedir="" id="ReferenceViewer_8B80510BC8424d72B383DD464CF0AC7D" version="1.0" debug="true" verbose="true" > <properties> <property name="Manufacturer" value="UAI, Inc."/> </properties> <directories> <directory name="D__COMPANY" foldername="UAI" root="ProgramFilesFolder" > <directory name="D__Utilties" foldername="Utilities"> <directory name="D__RV" foldername="Reference Viewer" /> </directory> </directory> <directory name="D__PM_COMPANY" foldername="UAI" root="ProgramMenuFolder" > <directory name="D__PM_Utilties" foldername="Utilities" /> </directory> </directories> <components> <component name="C__MainFiles" id="{3EC98386-1504-45de-B04C-DDEB648995FE}" attr="2" directory="D__RV" feature="F__DefaultFeature"> <key file="ReferenceViewer.exe" /> <fileset basedir="${build_path}"> <include name="ReferenceViewer.exe" /> <include name="*.dll" /> </fileset> </component> </components> <icons> <icon name="APPICON" value="app.ico" /> </icons> <shortcuts> <shortcut name="SC__RV" directory="D__PM_Utilties" filename="ReferenceViewer.exe" component="C__MainFiles" target="[$C__MainFiles]\ReferenceViewer.exe" icon="APPICON" iconindex="0" showcmd="1"> <description>UAI Reference Viewer Utility</description> </shortcut> </shortcuts> </msm> ----------------------------------------- -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Craig Brunetti Sent: Tuesday, February 08, 2005 12:49 PM To: nant-users@lists.sourceforge.net Subject: RE: [Nant-users] MSI Hey all, On this, what's worse, is there anyone out there that has successfully used the MSI task to take care of project types (like Setup Projects in VS.NET 2003) that are not handled by the <solution> task? -Craig -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Tuesday, February 08, 2005 11:58 AM To: nant-users@lists.sourceforge.net Subject: [Nant-users] MSI I know it's a nant-contrib task really, but does anyone know of where I can get some complete examples of basic <msi> tasks. The snippets in the help are sort of helpful ,but it's much clearer if you can see the whole thing together (given I'm not exactly familiar with the msi database schema). TIA, Bill UK businesses use 2 million tonnes of paper each year. THINK before you PRINT this email. ______________________________________________________________ CONFIDENTIALITY NOTICE This communication and the information it contains is intended for the person or organisation to whom it is addressed. Its contents are confidential and may be protected in law. Unauthorised use, copying or disclosure of any of it may be unlawful. If you are not the intended recipient, please contact us immediately. The contents of any attachments in this e-mail may contain software viruses, which could damage your own computer system. While Marlborough Stirling has taken every reasonable precaution to minimise this risk, we cannot accept liability for any damage, which you sustain as a result of software viruses. You should carry out your own virus checking procedure before opening any attachment. Marlborough Stirling plc, Registered in England and Wales Registered No. 3008820, Jessop House, Jessop Avenue, Cheltenham, Gloucestershire, GL50 3SH Tel: 01242 547000 Fax: 01242 547100 http://www.marlborough-stirling.com ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&opÕick _______________________________________________ Nant-users mailing list Nant-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nant-users mailing list Nant-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users ------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nant-users mailing list Nant-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users