Hello and welcome to Advanced Installer forums,
Thank you for your interest in Advanced Installer.
Unfortunately you cannot change the launch condition from the command line(e.g. to prevent the installation on a virtual machine).
As a workaround you can have another install parameter which can be changed from command line in order to allow testing on a virtual machine.
In order to achieve that you can go in the “Install Parameters” page and in the “Properties” label
create a property (e.g.
FORCE_VIRTUAL to a default value
False ).
Now, you can go in the “Table Editor” page, in the “LaunchCondition” table and edit the
NOT AI_INSIDEVM2 condition to the new one which take into consideration your previously defined property.
Example:
Code: Select all
(NOT AI_INSIDEVM2) OR (NOT FORCE_VIRTUAL = "False")
So, any other value than
False for the
FORCE_VIRTUAL property will result in a false launch condition and the application can be launched in a virtual machine for testing.
You can also take a look on our
Set Property Command article which may be useful to you.
Let us know if that helped otherwise give us more details about your specific scenario.
Best regards,
Dan