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
- :
- InstallAnywhere
- :
- InstallAnywhere Forum
- :
- Possible to override anything from command line?
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
‎Apr 16, 2010
05:48 AM
Possible to override anything from command line?
Hello,
I'm building the installer from the command line using "build.exe project.iap_xml". I'd like to be able to override some values in the project, so that they could be changed programmatically without modifying the project itself. Specifically I want to set:
- Installer Title
- Installer Name
- Product Name
- Product ID
The closest I've come to figuring this out is to use "-p PropFile.xml" or "-p PropFile.properties". However, the UserGuide only gives the names for a few of the properties that can be modified using those files. I can't figure out how to access the properties I want to change.
Does anyone know how to access any generic property from a prop file?
Or is there some other way to modify values from the command line?
Thanks
Paul
I'm building the installer from the command line using "build.exe project.iap_xml". I'd like to be able to override some values in the project, so that they could be changed programmatically without modifying the project itself. Specifically I want to set:
- Installer Title
- Installer Name
- Product Name
- Product ID
The closest I've come to figuring this out is to use "-p PropFile.xml" or "-p PropFile.properties". However, the UserGuide only gives the names for a few of the properties that can be modified using those files. I can't figure out how to access the properties I want to change.
Does anyone know how to access any generic property from a prop file?
Or is there some other way to modify values from the command line?
Thanks
Paul
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 16, 2010
06:20 AM
Hi Paul,
You can use Project Automation API to do the same. Open the Project using Project Automation API, make the changes, save the same using Project Automation API and then make the build using an automated build task.
Refer to the user guide and Javadocs for Project Automation API. I am sure that you can change
- Installer Title
- Installer Name
- Product Name
I do not think you can however change the Product ID / GUID dynamically.
Thanks,
You can use Project Automation API to do the same. Open the Project using Project Automation API, make the changes, save the same using Project Automation API and then make the build using an automated build task.
Refer to the user guide and Javadocs for Project Automation API. I am sure that you can change
- Installer Title
- Installer Name
- Product Name
I do not think you can however change the Product ID / GUID dynamically.
Thanks,
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 19, 2010
03:40 AM
Looks like it's possible to change the Product ID too that way:
java.lang.Object
com.zerog.ia.auto.project.ProjectObject
com.zerog.ia.auto.project.ProjectDescription
setProductID()
Now I just have to figure out how to run the Project Automation API. 🙂
Thanks
Paul
java.lang.Object
com.zerog.ia.auto.project.ProjectObject
com.zerog.ia.auto.project.ProjectDescription
setProductID()
Now I just have to figure out how to run the Project Automation API. 🙂
Thanks
Paul
![](/skins/images/CC38E504FC9E1309DC48ACFEB4925670/responsive_peak/images/icon_anonymous_message.png)