Hello Chris and welcome to Advanced Installer forums,
Thank you for your interest in Advanced Installer.
If you need to let the user modify at install time the maximum heap size, then you can use an
installer property which could be set at install time to the desired value. Here are the steps to proceed:
- go to "Install Parameters" page and add an installer property like this:
- Name: MAX_MEM
Value: <default value>
- go to "Java Products page -> Java Virtual Machine Tab" and set the maximum heap size to a desired value
- go to Table Editor page and in "IniFile" table locate the row "VirtualMachineParameters" and edit the "Value" column for it so that you have something like this
- go to "Dialogs" page and add an edit box control (associated with "MAX_MEM" property) on a dialog where the user could set its maximum heap size
-build and run your project
Please keep in mind that in order to implement the above approach you need to use at least an "Enterprise" or above project type.
All the best,
Daniel
FOLLOW US
Get the latest news in Application Packaging