How to include the whole project in the installer project?

I need to include all the output from some project projects in the installer ... my question is similar to the one that was in this post: How to add the entire directory or project output to the WiX package

However, I'm afraid I do not quite understand the answer provided in this link. From all the reading I have done, I think I need to use Paraffin for this. But is there a โ€œstart from the beginning, howโ€ resource for using paraffin?

I read this page: http://www.wintellect.com/CS/blogs/jrobbins/archive/2008/12/22/paraffin-3-0-now-with-full-wix-3-0-support.aspx and one of the messages mentions a paraffin call from the bat file. Is it like using paraffin in your installer? If that matters, I used Visual Studio to work on this project, and also don't know how to use the command line from Visual Studio. Does anyone have any resources for newbies? Thanks.

+6
source share
1 answer

As a result, I turned on each .dll and .exe manually, since they do not change very often. It was pretty easy to format them in this style:

`<File Id="WhateverId" Name="NameToDisplayAfterInstall" Source="$(var.ProjectName.TargetDir)Filename.ext" />` 

I used Excel to quickly and easily format a list of files. I put all these file tags in the <DirectoryRef Id="INSTALLLOCATION"> tag.

I figured out how to clear all dll and exes from a project using Heat (not paraffin) and compile a directory, not a project. Cleaning up the project gives only the basic EXE and DLL. The problem with building the directory, at least in my case, is that I got a lot of extra files (like .pdb and .xml) that I don't need.

+4
source

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


All Articles