Here's my use case: I want to add a directory to the PATH env variable only if an application is not already available on the PATH.
How can I achieve this in AI?
Thank you.
Code: Select all
Name: Path
Value: [directory path you need]
Component: [select the component it is related to]
On install: Create or update
Remove on uninstall: checked
System variable: checked
Code: Select all
not (%Path >< [directory path you need])