VM parameters using AI - 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!

kkrzyzak
Posts: 47
Joined: Wed Oct 13, 2010 2:10 pm

VM parameters using AI

Hi,
When i'm starting my aplication from developer environment to VM i send parameter -DmyLocation=${ALLUSERSPROFILE}.
AI in section JavaProducts has tab VirtualMachine i put it into CommandLine but it dosen't work :(
My question is how can i do that in AI?

Best,
Karol.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: VM parameters using AI

Hi Karol,

Are you placing your JVM parameter in the Command Line field directly under the Virtual Machine tab ?
If so please try adding the parameter in the JVM Parameters field instead.

Regards,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
kkrzyzak
Posts: 47
Joined: Wed Oct 13, 2010 2:10 pm

Re: VM parameters using AI

Hi,

I try both command lines. Still doesn't work :(. Maybe there is problem to get system variable?
Any ideas?

Regards,
Karol.
Last edited by kkrzyzak on Wed Nov 17, 2010 2:03 pm, edited 1 time in total.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: VM parameters using AI

Hello Karol,

I am not sure why this is happening. Please have a quick look into this article just to double check if you're mising anything.
If you cannot find help in the user guide then please send us the .AIP (project) and a verbose log of the installation to support at advancedinstaller dot com so we can help you investigate.

Regards,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
kkrzyzak
Posts: 47
Joined: Wed Oct 13, 2010 2:10 pm

Re: VM parameters using AI

Hello Mihai,

"Double check" :) Thx.
I use ${ALLUSERSPROFILE} when in AI i must use %ALLUSERSPROFILE%.

Regards,
Karol.

Return to “Common Problems”