cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
rmackay
Level 7

modifying the install path in the product.inf file??

Does anyone know if it is possible, at build time, to modify the product.inf file that gets included with an assembly at build time?

We would like to be able to set the install location from an empty entry to something else but ideally this should be an automated step that we can do when the assembly is being built.
Labels (1)
0 Kudos
(2) Replies
CChong
Level 11 Flexeran
Level 11 Flexeran

Not from within ISMP...however an Ant script or perhaps perl or awk as part of a build script can modify the file after building the assembly. If you are assembling a multi-installer suite in an automated way, then your script could modify product.inf before moving this file and the assembly into the suites assembly search path prior to distribution.
0 Kudos
rmackay
Level 7

Actually I discovered that there is no need to bother with the Product.inf file. You can add a post-selection action in your assembly to update the property "installLocation" of the main product bean and then reference this action from the dynamic suite installer. Problem solved.
0 Kudos