Page 1 of 1

Break of Patch Requirements

Posted: Sun Apr 19, 2009 4:10 am
by kehagiem
The use of compiler variables to customize setup at build time and have setups for different products is really a nice feature to have, when only very few things change between them, having a unique setup project.

However, how such approach doesn't break the Patch requirements when the elements that I need to have different are: Product Name, Product Code, Product Version and files/features and such differentiation breaks the Patch Requirements?

Posted: Sun Apr 19, 2009 9:05 am
by MichaelNesmith
As long as the compiler variable values are the same in the patch reference setups and the patch being built, you should not run into any issues.

Posted: Mon Apr 20, 2009 1:46 am
by kehagiem
So in this case, is it possible to configure in the Compiler Variables section the following:

1. Path to custom build output folder
2. Product Code

Posted: Mon Apr 20, 2009 10:01 am
by MichaelNesmith
Yes, of course!

Posted: Mon Apr 20, 2009 11:17 am
by kehagiem
can you please so me how, i.e. the variable names?

Posted: Mon Apr 20, 2009 5:34 pm
by MichaelNesmith
Use whatever names you like, and enter in those variables using the form #NAME# into the respective hard coded fields. Then just use whatever values you like for those newly created compiler variables (use the Project Options dialog to define them, and you can assign/override default values there, or use the command line build tool).

Posted: Tue Apr 21, 2009 1:33 am
by kehagiem
Very well, thanks.