This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- modifying the install path in the product.inf file??
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 03, 2006
01:56 PM
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.
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.
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 08, 2006
06:59 PM
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.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 08, 2006
08:43 PM
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.