Try giving the zip file another extension (eg. zzt).
----- Original Message ----- From: "Manish Jain" <[EMAIL PROTECTED]>
To: "James Geurts" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, October 11, 2004 10:59 PM
Subject: RE: [Nant-users] RE: [NAntC-Dev] VDProjConverter and MSI task
Hi James,
ZIP is not able to get through your server, Is there any location , may be on sourceforge where i can upload ZIP?
Thanks Manish
-----Original Message----- From: James Geurts [mailto:[EMAIL PROTECTED] Sent: Monday, October 11, 2004 11:13 AM To: Manish Jain Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [Nant-users] RE: [NAntC-Dev] VDProjConverter and MSI task
Hi Manish,
I should have clarified... the vdprojconverter is a work in progress (sort of). It does not completely translate a vdproj file to an equivalent nant msi syntax. This does not mean, however, that the msi task is incapable of doing everything that the vs.net install can.
1. The MsiTaskTemplateVS.msi is a valid msi database and should work. Please provide a specific example of it not functioning as expected.
2. I haven't looked at using this dialog with the msi generated by NAnt. I'm guessing that there is a custom action that isn't being added to the install, to populate the directories, etc...
3. The task supports creating shortcuts. Please have a look at the msi task documentation (http://shrinkster.com/1ez) for the <shortcuts> sub element, for further information. If you would like to see a sample, I used the element with the merge module target (nant.examples.msm) used to build a merge module of NAnt's examples, from the NAntContribInstall.include file (http://shrinkster.com/1ey).
4. Yes... use Orca.exe (provided with the platform sdk) and open the merge module. Have a look at the ModuleSubstitution table (http://shrinkster.com/1f1) for the available properties that can be set via the <configurationitem> element.
Hope that helps...
Jim
btw, your zip file didn't come through.
http://www.mail-archive.com/[EMAIL PROTECTED]/msg00792.html>>>>>> Can you pls send me one or point me location where i can find it?Thanks James,
1.MSITaskTemplateVS.msi is not working 2.MSI task is not populating select installation folder 3.vsnet setup creates shortcuts (program menu and desktop) whereas MSI task cannot 4.Is there any way to determine properties available for <configurationitem> within <mergemodules> for WID files
(Attaching MSI.zip contains all necessary files in another email to you)
Thanks again for your help and time
Manish
-----Original Message----- From: James Geurts [mailto:[EMAIL PROTECTED] Sent: Monday, October 11, 2004 5:32 AM To: Manish Jain Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: [NAntC-Dev] VDProjConverter and MSI task
The dialog information should have been extracted w/ the vdprojconverter program. Do you have a sample that would show how the Visual Studio install contains more dialogs?
The difference in filesize between MSITaskTemplate.msi and MSITaskTemplateVS.msi is because the MSITaskTemplate.msi file contains preconfigured dialogs. The MSITaskTemplateVS.msi is virtually empty with exception of some directory information.
Just make sure that cabarc.exe is in your system path, and everything should work fine...
Jim
Thanks James,
1.I downloaded file, It works with MSITaskTemplate.msi but not with MSITaskTemplateVS.msi 2.Setup created with VS.NET behaves differently than setup created with MSI task, VS.NET shows additional dialogs. 3.FYI: File size of MSITaskTemplate.msi is 288KB compared to MSITaskTemplateVS.msi 47 KB 4.FYI:I also had issues with cabarc.exe which is expected in root folder of .build file , I thought it expects bin folder
Right now major issue is No.2 above (not sure related to No. 1)
Thanks Manish
-----Original Message----- From: James Geurts [mailto:[EMAIL PROTECTED] Sent: Friday, October 08, 2004 12:59 PM To: Manish Jain Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: [NAntC-Dev] VDProjConverter and MSI task
The web based cvs on sourceforge says that the file is present. It was added 4 months ago. Anyway, try this link to download it directly (from SourceForge's CVS): http://shrinkster.com/1by
Jim
I'm using NAnt 0.85 nightly build, old reference remained in file... There is no MSITaskTemplateVS.msi in NAntContrib/bin folder, are you talking about MSITaskTemplate.msi? I'm using latest nightly build for NAntContrib also,
I found one thread where you say that you have added above file to bin, but its not there
sourcedir="C:\nant-0.84\examples\TestNantWinApp\WindowsApplication1\obj\Debug">>>>> template="${nant.location}/MSITaskTemplate.msi">
Thanks Manish
-----Original Message----- From: James Geurts [mailto:[EMAIL PROTECTED] Sent: Friday, October 08, 2004 11:37 AM To: Manish Jain Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: [NAntC-Dev] VDProjConverter and MSI task
A couple notes...
the latest vdprojconverter doesn't support NAnt 0.84. Make sure you're using a nightly build. I would strongly recommend using the NAntContrib/bin/MSITaskTemplateVS.msi template if you plan on importing/merging wid & wim files.
Jim
Thanks for reply James,
Following is my .build file, It try to start VS.NET first time use install (not sure for what reason), I've CABARC.EXE and MSITaskTemplate.MSI in bin folder. Am I missing something? Why it try to start VS.NET install? ----
<project name="testmsi" default="createmsi" description="test project">
<property name="nant.settings.currentframework" value="net-1.1"/> <property name="nant.vsnet.dialog.dir" value="C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\Tools\Deployment\VsdDialogs" />
<target name="createmsi" > <msi output="Setup1.msi"
basedir="C:\nant-0.84\examples\TestNantWinApp\WindowsApplication1\obj\Debug">>>>>> <include name="WindowsApplication1.exe" /><properties> <property name="ProductCode" value="{04F505B2-D113-404C-AF6E-9837C0766F91}" /> <property name="PackageCode" value="{EAAB1E53-2BBD-451A-A56A-86BAA75619D5}" /> <property name="ProductLanguage" value="1033" /> <property name="ProductName" value="Setup1" /> <property name="UpgradeCode" value="{2665171F-A813-45D3-B814-094DC401D3AA}" /> <property name="ARPCONTACT" value="Default Company Name" /> <property name="Manufacturer" value="Default Company Name" /> <property name="ProductVersion" value="1.0.0" /> </properties> <!--<directories/>--> <components> <component name="_E00B576168BE4A87B7607ACFDB93C1D1" id="{29EFDB5B-EEB4-4521-B714-C4DF0BF42208}" attr="2" directory="TARGETDIR" feature="DefaultFeature"> <key file="WindowsApplication1.exe" /> <fileset
</fileset> <forceid file="WindowsApplication1.exe" id="_1C8DE64E3A23479BBC181ED6C9B02896" attr="512" checkinterop="false" /> </component> </components> <!--<launchconditions> <launchcondition name=".NET Framework" condition="1"> <description>[VSDNETMSG]</description> </launchcondition> </launchconditions>--> <features> <feature name="DefaultFeature" title="DefaultFeature" display="1" typical="true" /> </features> <mergemodules> <merge feature="DefaultFeature"> <modules> <includes name="${nant.vsnet.dialog.dir}/1033//VsdAdminFinishedDlg.wid" /> <includes name="${nant.vsnet.dialog.dir}/1033//VsdAdminProgressDlg.wid" /> <includes name="${nant.vsnet.dialog.dir}/1033//VsdFinishedDlg.wid" /> <includes name="${nant.vsnet.dialog.dir}/1033//VsdUserInterface.wim" /> <includes name="${nant.vsnet.dialog.dir}/1033//VsdWelcomeDlg.wid" /> <includes name="${nant.vsnet.dialog.dir}/1033//VsdConfirmDlg.wid" /> <includes name="${nant.vsnet.dialog.dir}/1033//VsdFolderDlg.wid" /> <includes name="${nant.vsnet.dialog.dir}/1033//VsdAdminWelcomeDlg.wid" /> <includes name="${nant.vsnet.dialog.dir}/1033//VsdAdminConfirmDlg.wid" /> <includes name="${nant.vsnet.dialog.dir}/1033//VsdAdminFolderDlg.wid" /> <includes name="${nant.vsnet.dialog.dir}/1033//VsdBasicDialogs.wim" /> <includes name="${nant.vsnet.dialog.dir}/1033//VsdProgressDlg.wid" /> </modules> <configurationitems> <configurationitem module="VsdAdminProgressDlg.wid" name="ShowProgress" value="1" /> <configurationitem module="VsdFinishedDlg.wid" name="UpdateText" value="#1258" /> <configurationitem module="VsdWelcomeDlg.wid" name="Welcome" value="#1203" /> <configurationitem module="VsdWelcomeDlg.wid" name="CopyrightWarning" value="#1202" /> <configurationitem module="VsdAdminWelcomeDlg.wid" name="Welcome" value="#1203" /> <configurationitem module="VsdAdminWelcomeDlg.wid" name="CopyrightWarning" value="#1202" /> <configurationitem module="VsdProgressDlg.wid" name="ShowProgress" value="1" /> </configurationitems> </merge> </mergemodules> </msi> </target> </project>
-----Original Message----- From: James Geurts [mailto:[EMAIL PROTECTED] Sent: Friday, October 08, 2004 10:43 AM To: Manish Jain Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [NAntC-Dev] VDProjConverter and MSI task
The alternative to using the wid and wim files (merge modules) is to hand code the dialog information by yourself... I perosnally think that is a bit tedious and would opt to just copy the wid and wim files to the build machine. As far as the component structures that vdprojconvert creates... it *should* create valid elements, but of course you can clean them up (combine related components) to utilize NAnt's fileset support. Also, don't expect any updates to the vcprojconverter project, as I wont be getting my primary development machine until November sometime.
Jim
Hi All,
I would be interested to know if anybody is successfully using VDProjConverter to convert their .vdproj files to MSI taks I'm trying to use it but facing few issues, like it try to invoke VS.NET components so not sure script will work on build machine as well as do you using wid files for dialogs, is there any alternative to that? In that case i need to copy all wid files to build machine?
Thanks Manish
------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ NAntContrib-Developer mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer
------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ NAntContrib-Developer mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer
------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users
------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users
------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users