How to get this running?

Sep 12, 2012 at 1:00 PM


I tried to get the code running.

I added the project into my solution, re-referenced the wix.dll, and added a reference in the wix-project to the extension project.


but i get the error message:

Undefined preprocessor function '$(fileVersion.ProductName($(var.MyApp.TargetPath)))'.


[MyApp is replaced by the name of the project of the main appliction]

May 24, 2017 at 8:40 PM
I know this is so old but I just came across it and I just found the solution (in my case)
You have to add a reference to the corresponding project.
The same if you use a boos trapper, you have to add a reference to the actual Installer project or you'll get these preprocessor exceptions.