I tracked down the problem although I haven't solved it yet. It's related to the following code in InstallerCreationCommand.cs at or around line 2230.

if (!IsVersion(ref fileVersion)) {
        fileVersion = null;
}

If I comment this out and run my msi task (after rebuilding nantcontrib), the msi creates successfully (although my application generates errors when run from the result of my msi installation -- errors not surprisingly related to invalid file versions -- the app by the way runs flawlessly with the output from Visual Studio).

I've also noticed that the files that generate an error in my msi creation (prior to me commenting out the above code) are non-versioned files. The only files that can be successfully added to the msi with nantcontrib source code (0.85) untouched are versioned files.

Once again, this problem did not exist for me with 0.84. In fact, my problem with 0.84 was just the opposite -- it wasn't properly dealing with versioned files which was also causing problems with my msi.

I guess I'm looking for a happy medium between the two -- versioned and non-versioned file support.

Any thoughts?

Thanks!

Ted



-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to