WiX 3.0 with Visual Studio 2010 - no user interfaces?

I used Wix before to create installers, and that's great!

I recently remapped my machine and installed only Visual Studio 2010 because I updated all of my projects to this version.

When I download and install WiX 3.0, he complains that Votive will not be installed because I do not have the visual studio 2005 or 2008 "or a later version." This is normal, I still don’t use Votive (and I don’t quite understand that VS 2008 has something to do with it, but what would ...)

When I try to link my Wix installer using light.exe, I get a link error because it cannot find the wixlib UI. Searching for various places on my disk (shared files, Wix installation disk, etc.), I can not find wixlib files.

Is the problem that I need to find a separate download for the UX UI libraries? If so, where? I cannot find promising links on the Wix website. Or is the problem that the user interface libraries are somehow related to installing Votive? If so, how can I install them on a system that only has Visual Studio 2010?

+4
source share
2 answers

The answer turns out that the user interface has been removed from the wixlib files and into the WixUIExtension.dll extension. Thus, when I call the light for a link, I can pass -ext to WixUIExtension, and all is well. This solves my problem with the "Unresolved symbol reference" WixUI: WixUI_Minimal "in the" Product "section

Exact steps: Project properties β†’ Tool settings β†’ Connector β†’ Add "-ext WixUIExtension"

+7
source

Alternatively, if you created a WiX installation project, right-click it and add a link to WixUIExtension.dll, which is located in C:\Program Files (x86)\WiX Toolset [version]\bin\ .

+4
source

Source: https://habr.com/ru/post/1340510/


All Articles