[wix-users] How do you build the Visual Studio 2015 Votive dll?

Jon Earle earlej at hotmail.com
Thu Dec 15 13:18:44 PST 2016


Okay, I installed the VS SDK (the extensibility sdk).


Rebuilt the whole thing (deleted the wix3\build\* folder first).


I copied the following files from wix3\build\ship\x86  to C:\Program Files (x86)\WiX Toolset v3.10\bin:


WixVSExtension.MSBuild14.dll
WixVSExtension.dll


And then fired up Visual Studio 2015.  I am still seeing the same error message as before, which suggests to me that, the new dlls are not being created or loaded as I expected.


Error I see when loading a wixproj with an environment variable preceeding a path to a fragment:


ClientMSI.wixproj : error  : InvalidParameter
Parameter name: CreateFolderNodes path


What in the H-E-double-hockey-stick are you trying to do, Jon?


Fair Q.  Earlier today, I filed a bug (https://github.com/wixtoolset/issues/issues/5456) against the wix package. In short, env vars within the wixproj are not working consistently, leading to a failure to load the project in at least one corner case (which happens to be mine).


I found another issue which traced a similar issue to a flaw in projectnode.cs, which always seems to load folders in relative paths.  Given that, that is not always valid, I decided to scrap that and replace the code which verifies that the given path is relative to the project dir, with code which expands environment variables (both make/msbuild and Windows style) and continues.


I did this in both the file projectnode.cs in the votive2010 and votive2013\vssdk folders and then built.


Grepping the wix3 folder for the message "CreateFolderNodes path" turns up nothing, so, I don't think I missed changing anything, but, clearly, I've not done something correct.  Wondering if someone can steer me back onto the right path?


Thanks!

Jon


[https://avatars3.githubusercontent.com/u/17298011?v=3&s=400]<https://github.com/wixtoolset/issues/issues/5456>

wixproj ItemGroup entries with env vars will not load in VS2015 · Issue #5456 · wixtoolset/issues<https://github.com/wixtoolset/issues/issues/5456>
github.com
Which version of WiX are you building with? 3.10.3.3007 Which version of Visual Studio are you building with (if any)? VS 2015 Update 3 Which version of .NET are you building with? 4.5 Descri...



________________________________
From: wix-users <wix-users-bounces at lists.wixtoolset.org> on behalf of Bob Arnson <bob at firegiant.com>
Sent: Thursday, December 15, 2016 2:28 PM
To: WiX Toolset Users Mailing List
Subject: Re: [wix-users] How do you build the Visual Studio 2015 Votive dll?

It should work with just the VS2015 SDK feature installed.

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Rob Mensching
Sent: Thursday, 15 December, 2016 14:11
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] How do you build the Visual Studio 2015 Votive dll?

And you may need several VSSDKs to build Votive fully, I forget. Build machine has VS2010-VS2015 SDKs installed.

_____________________________________________________________
 Short replies here. Complete answers over there: http://www.firegiant.com/

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of John Cooper
Sent: Thursday, December 15, 2016 11:08 AM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] How do you build the Visual Studio 2015 Votive dll?

No, the Visual Studio SDK.  It is separate and apart from SDK 10.

--
John Merryweather Cooper
Senior Software Engineer -- Integration Development Group -- Enterprise Notification Service Jack Henry & Associates, Inc.® | Lenexa, KS  66214 | Office:  913-341-3434x431050 JoCooper at jackhenry.com

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/


More information about the wix-users mailing list