Hello!
I have a question about changing the default installation path depending on if a registry key exists or not. I'm installing a plugin for a program and therefore need to check if that program already exists on the computer and if so: where.
What I do is first look for a certain key (containing the installed program path) and retreive it's value by using the "search" option and saving the result in a a variable, lets call it GETINSTALLDIR.
Second, I'm changing the Application Folder to [GETINSTALLDIR]. This results in setting the installation directory correct, but only if the program is installed. And here is the problem. If the program is not installed the installation directory should be set to a default path (eg. "C:\Programs\MyApp"). How can I do this?
Thanks!
/Nigel


