JVM Parameters not expanded in 7.1.3 - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

carter.sanders
Posts: 4
Joined: Fri Aug 14, 2009 2:02 am

JVM Parameters not expanded in 7.1.3

I searched the forums and found users had this problem in 6.9-
Upgrade to 6.9; then 6.9.1- Still issue with JVM parameters
http://www.advancedinstaller.com/forums ... parameters

I am having the same issue in 7.1.3. Does anybody know if there's been a resolution on this issue? I guess I could try rolling back to 6.8 if there's no fix.

The issue is that if I put an installer variable ('[host]' for example) in my jvm parameters, the variable expands to nothing. I've confirmed this by looking at the .ini file.
carter.sanders
Posts: 4
Joined: Fri Aug 14, 2009 2:02 am

Re: JVM Parameters not expanded in 7.1.3

One other detail- the property which is not being expanded was set in a custom dialog. I set the property in some project wide setting and it was properly expanded.

While I'm on that topic, I can't seem to find the dialog where I set that setting. The top dropdown let you set a property default value and the bottom let you set something build-specific. Can anybody tell me where the heck that was?

Thanks-
Carter
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: JVM Parameters not expanded in 7.1.3

Hello,

Please make sure that your property name is set in uppercase letters so that it is accessible as a public property. If this still does not solve your issue, please send us your aip project file to support at advancedinstaller dot com so we can further analyze your problem.
While I'm on that topic, I can't seem to find the dialog where I set that setting. The top dropdown let you set a property default value and the bottom let you set something build-specific. Can anybody tell me where the heck that was?
I am not sure I understand what you mean. You are probably referring to the SetProperty published control event.

Regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
carter.sanders
Posts: 4
Joined: Fri Aug 14, 2009 2:02 am

Re: JVM Parameters not expanded in 7.1.3

I switched to uppercase properties, and that fixed it. Thanks a lot!

Return to “Common Problems”