Is it possible lets say to define the path (in Program Files) and check if the target *.exe file is there or not? Or maybe to check the existance of the full pre-defined path (including the *.exe) as string?
pseudohybriddesign is correct: you could check for the existance of an EXE file (assuming you know the correct directory path). However, to launch an EXE file, you need to do the following:
First of all thank you for your answer. It helps a lot.
Can you please give me an simple example how to perform the check if the path is already pre-defined?
Thanks in advanced and best regards,
pseudohybriddesign, if you already know the path, it's easy to check if a file exists. Here is ActionScript code (for WIndows):
var filePath:String = "c:\\program files\\test\\test.exe";
var file:File = new File(filePath);
Again, this assumes that you know the path to the EXE file. There is no way to query the runtime if a specific AIR application is installed (or to find the path to installed applications).