[wix-users] Generating the MSI file from built solution in Visual Studio 2019

Edwin Castro egcastr at gmail.com
Fri Nov 22 08:13:41 PST 2019


Based on your description, I would have expected your project's build
output to be an MSI package file. If that did not happen, then I'd check
your selected solution configuration/platform to ensure the WiX project is
selected to be built.

--
Edwin G. Castro


On Fri, Nov 22, 2019 at 1:42 AM Zac Harvey via wix-users <
wix-users at lists.wixtoolset.org> wrote:

> Windows 10 here. I installed Visual Studio 2019 (Community) and WiX
> v3.11.2, as well as the WiX extension for VS 2019.
>
> I then opened VS >> Create a new project >> Setup Project for WiX v3 and
> called it "HelloWix". So far so good.
>
> I create 2 files in that HelloWorld solution:
>
> - foo.txt (that just has lorem ipsum filler text in it)
> - HelloWix.wxs (well, VS created this for me)
>
> For HelloWix.wxs I have:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <Wix
>  xmlns="http://schemas.microsoft.com/wix/2006/wi">
>  <Product Id="*" Name="HelloWix" Language="1033" Version="1.0.0.0"
> Manufacturer="My Org" UpgradeCode="1e540666-dda2-4cbe-91b7-ac9525d96c86">
>  <Package Description="My very first MSI" Compressed="yes" />
>  <MediaTemplate EmbedCab="yes"/>
>  <Directory Id="TARGETDIR" Name="SourceDir">
>  <Directory Id="ProgramFilesFolder">
>  <Directory Id="INSTALLFOLDER" Name="HelloWix" /></Directory>
>  </Directory>
>  <Component Id="TextFileComponent" Directory="INSTALLFOLDER">
>  <File Source="foo.txt" />
>  </Component>
>  <Feature Id="MainFeature" Title="HelloWix" Level="1">
>  <ComponentRef Id="TextFileComponent" />
>  </Feature>
>  </Product>
> </Wix>
>
> I go to Build >> Build Solution and the project builds fine (success).
>
> I would like to test this out and am trying to figure out how to turn this
> built solution into a packaged MSI file. What steps do I need to take to
> accomplish this?
>
> Thanks!
> zharvey
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>



More information about the wix-users mailing list