Identify instance install condition - Advanced Installer Community
SingleP
Posts: 11
Joined: Wed Nov 23, 2016 2:21 pm

Identify instance install condition

Hello,

I'm using multiple instances, generate instances at installation time.
When i installed more than 1 instance i had a dialog that offered me 2 options.
A- Install new instance
B- Maintain or upgrade an already installed instance

How can i identify if i choose for option A or option B on multiple instance dialog ? i.e, i'm trying to achieve parameter or condition that could help me to build customize dialog depends on selected option(A or B).

Regards,
SingleP.
Horatiu
Posts: 42
Joined: Tue Nov 29, 2016 1:19 pm

Re: Identify instance install condition

Hello,

To see what option was selected you need to use the property INST_RADIOBUTTONGROUP_PROP
It has the value:
1. For a new installation NewInst
2. For Maintain or upgrade MainInst

If you have similar issues, you can check the values of properties during installation and much more in the Advanced Installer log.

Best regards,
~Horatiu
SingleP
Posts: 11
Joined: Wed Nov 23, 2016 2:21 pm

Re: Identify instance install condition

Thanks for answer.
Do you know if i suppose to see that property using smart condition ?
Horatiu
Posts: 42
Joined: Tue Nov 29, 2016 1:19 pm

Re: Identify instance install condition

Hello again,

Yes, you should see the property using Smart Condition Edit Control.

Best regards,
~Horatiu
Attachments
Capture.JPG
Capture.JPG (17.51 KiB) Viewed 6360 times
SingleP
Posts: 11
Joined: Wed Nov 23, 2016 2:21 pm

Re: Identify instance install condition

Hi,

Sorry, i can't find this property.
Did you configure some options on your project to display that property? or does it support enterprise ? or does it pushed to latest versions ?

Thanks in advance.
Horatiu
Posts: 42
Joined: Tue Nov 29, 2016 1:19 pm

Re: Identify instance install condition

Hello,

The option to create Multiple Instances is supported from Enterprise edition upward. You can check if the property exists in you project,
by going to the Table Editor and selecting the Property table.

I have attached a small sample project to help you. Just added an instance in the Multiple Instances section,
and displayed a dialog depending on the value of the property INST_RADIOBUTTONGROUP_PROP.

Best regards,
~Horatiu
Attachments
Sample.rar
(3.12 KiB) Downloaded 374 times
SingleP
Posts: 11
Joined: Wed Nov 23, 2016 2:21 pm

Re: Identify instance install condition

Thank you.

I'm using Enterprise 12.7 .
I think it doesn't support this version and i should upgrade to a newer version.
I can't open the file since the file is formatted from 13.5.
Last question, before i will upgrade to a newer version.
Does it works with multiple instances, 'Generate instances at installation time' option ?

Thanks for help.
Horatiu
Posts: 42
Joined: Tue Nov 29, 2016 1:19 pm

Re: Identify instance install condition

No problem.

Yes, the Generate instances at installation time option is present in version 13.5. Before upgrading, I recommend you install the trial version,
and check that everything is OK with your projects.

Best regards,
~Horatiu
SingleP
Posts: 11
Joined: Wed Nov 23, 2016 2:21 pm

Re: Identify instance install condition

Generate instances at installation time option is present on previous versions as well but probably the INST_RADIOBUTTONGROUP_PROP prop doesn't , and that's what i'm looking for.

I will install the trial first and verify that everything is fine as u suggested.

Thank you very much for your time.

Return to “Common Problems”