Talk:Deploying Additional Components

From wixwiki.com

Jump to: navigation, search

Okay, I admit that I am a total newbie when it comes to installers and even the msbuild environment. I am working through all the items to make myself an installer and found the "Deploying Additional Components" described how to solve some problems I had. However, I found that the example in the votive section did not work for me. My votive project references several other non-votive projects which compile targets required by my installer. The problem is that when I follow the example given my wxs file fails to compile and complains that my variable references like $(var.MyApp.TargetFileName) are undefined. Anyway, I played around with it a little and I think I have a solution.

I changed:

<BuildDependsOn>PrepareForBuild;Compile;Link;Bootstrapper</BuildDependsOn>

To:

<BuildDependsOn>Bootstrapper;$(BuildDependsOn)</BuildDependsOn>

and had much better success.

$(BuildDependsOn)

The same here I changed it to:

<BuildDependsOn>$(BuildDependsOn);Bootstrapper</BuildDependsOn>

Personal tools