Break of Patch Requirements

Got a problem you cannot solve? Try here.
Post Reply
kehagiem
Posts: 16
Joined: Sat Apr 18, 2009 3:11 pm

Break of Patch Requirements

Post 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?
MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Post 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.
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
kehagiem
Posts: 16
Joined: Sat Apr 18, 2009 3:11 pm

Post 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
MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Post by MichaelNesmith »

Yes, of course!
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
kehagiem
Posts: 16
Joined: Sat Apr 18, 2009 3:11 pm

Post by kehagiem »

can you please so me how, i.e. the variable names?
MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Post 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).
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
kehagiem
Posts: 16
Joined: Sat Apr 18, 2009 3:11 pm

Post by kehagiem »

Very well, thanks.
Post Reply