WiX/MSI Task?

I was under the impression that there was going to be a WiX task for MSBuild. I can't, however, find any reference to it in any docs. Nor can I find anyone else who actually uses it.

Am I wrong, is there no WiX task
Can someone please confirm

Thanks,
Derek


Answer this question

WiX/MSI Task?

  • Moonlight Sonate in C#

    You'll need to make sure the version of the SDC tasks you have matches the version of .NET Framework you have. I'm betting you have Beta 2 of the framework and versions of the tasks compiled against RTM, or vice versa. The SDC tasks compiled for 2.0 RTM can be found at http://www.gotdotnet.com/Community/UserSamples/Details.aspx SampleGuid=2cb20e79-d706-4706-9ea0-26188257ee7d.

    Neil

  • OzJester

    There's actually two sets of WiX MSBuild tasks that I know of. One is part of the WiX source distribution (though not with the binaries yet).

    The other is part of the Microsoft UK SDC task set:
    http://www.gotdotnet.com/Community/UserSamples/Details.aspx SampleGuid=2CB20E79-D706-4706-9EA0-26188257EE7D

  • craigo

    Just having some trouble getting this working.
    I get this error:
    C:\Program Files\MSBuild\Microsoft\VisualStudio\v8.0\TeamBuild\Microsoft.TeamFoundation.Build.targets(293,5): error MSB4062: The "Microsoft.Sdc.Tasks.SourceSafe.Get" task could not be loaded from the assembly C:\Program Files\MSBuild\Microsoft.Sdc.Common\Microsoft.Sdc.Tasks.dll. Could not load file or assembly 'Microsoft.Sdc.Configuration, Version=1.2.5000.0, Culture=neutral, PublicKeyToken=e24a7ed7109b7e39' or one of its dependencies. Strong name validation failed. (Exception from HRESULT: 0x8013141A) Confirm that the <UsingTask> declaration is correct, and that the assembly and all its dependencies are available.
    It does this for the wix tasks as well... for some reason the strong name validation fails.
    Any idea as to why

  • rayfward

    Yeah I didn't need the other 198 tasks or however many there are so using WixTasks suits me fine. I will probably try the SDC when a fixed build is available.

    Cheers,
    Derek

  • elf_sander

    There's a problem with the strong name signature on the latest version posted to GotDotNet, which is supposed to be fixed this week. I worked around it by temporarily enabling SkipVerification on the assemblies. But it sounds like you went another route.

  • Glate

    Actually I have the RTM of both.
    I ended up giving up on it and download the source to WiX and used the WixTasks.
    I documented it here.
    http://spathi.com/community/blogs/smoko/archive/2005/11/10/1.aspx

  • Ahmed Mostafa

    Cool will use the gotdotnet ones seeing as they are all compiled!

    Thanks.
    Derek

  • WiX/MSI Task?