WiX setup: adding a reference to Visual Studio project output issue

Viewed 14963

I'm trying to learn WiX and now creating sample setup project, using WiX Setup Project template for Visual Studio.

I have a solution with three projects:

  • .net class library;
  • .net application, which uses class library;
  • WiX setup project.

Of course, I want to add my first two projects' output as components to WiX setup.

As described here and here (and as far, as I understand), adding a reference in WiX project and setting it Harvest property to True automatically adds a component for project's output.

Now, I want to reference to this component in some Feature description.

The questions:

  • what Id for ComponentRef should I use?
  • is this the correct way to reference VS projects' output?

I'm using VS 2010 and WiX 3.6 RC.

2 Answers
Related