Jason Ginchereau wrote: > > The templates were installed properly, but I think I know the problem: the > .vstemplate files are marked with a version that is too new for VS2005 to > recognize. They need to be version 2.0.0. > > Can you try this... In notepad, VS, or any text editor, open each of the > .vstemplate files in the "Program Files\Microsoft Visual Studio > 2005\Common7\IDE\ProjectTemplatesCache\WiX\CustomAction*.zip\" > directories, and change line 2 from > <VSTemplate Version="3.0.0" > to > <VSTemplate Version="2.0.0" > > Note since you're only changing the cache, those template files will get > overwritten next time 'devenv /setup' gets run. For a more permanent > solution, you can update those files in the zip files under > Common7\IDE\ProjectTemplates\WiX. (Or wait for the next build where I'll > fix this bug!) >
That's my way getting the templates working: System WinXP, VS2005, .Net 2.0 only (no 3.0 or 3.5) 1. Changing the version to 2.0.0 in zip files under Microsoft Visual Studio 8\Common7\IDE\ProjectTemplates\WiX\ 2. running devenv.exe /setup -> Templeates showed up. 3. removing all "$targetframeworkversion$" occurrences from - customaction.vbproj - customaction.csproj - customaction.cs 4. changed MSBuildToolsPath to MSBuildBinPath 3 and 4 were done in TemplatesCache, but could be also done in zip files. I think the best way to handle the templates should be to provide two separate sets for VS2005 and 2008. I think using Version 2.0.0 indicates that the $targetframeworkversion$ variable could not be handled correctly. So this will be a inconsistency. hth Dominik -- View this message in context: http://www.nabble.com/wix-3.0.4123-custom-action-templates-tp17478662p17509128.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users