I am quite new to the installshield and I need help. I have Created an installer for our java application using installshield X universal. It installs the application correctly and also works fine when launched the application from start menu shortcut. Our application analyzes websites for some rules and at any time a website's info can be stored to a file with a specific extension (say <siteName>.ramp) using our application. At later stage if some one clicks on this .ramp file it should openup with our application. But what is happening now is when we click on this .ramp file I guess it is looking at the windows registry for path where the application executable is located and launches application but failing to locate some required property files existing in the same folder as application executable.
These property files are installed using File Action in installshield and specified the installation location being the same as the installation location of the product. So what is happening here is say product executable and these property files are in C:\Program Files\company\product and Registry entry for executable path is also pointing to the above directory and .ramp file is in another directory say C:\xyz\abc.ramp. Now if we click on abc.ramp file it launches the application by looking at the registry path value and look for the property files in C:\xyz directory instead of looking at C:\Program Files\company\product. This is because C:\xyz is the working directory or current directory for it ralative to which it searches for any files. On the other hand if the .ramp file is there in the same directory as of application executable then every thing works fine as working directory is same as where these proprty files are existing.
Is there any way in installsheild that I can tell it to search for the files relative to the directory where the executable is created or located rather than from where the executable is called? Any help regarding this is much appreciated.
Note: This works fine if we create installer using installAnywhere.
Thanks in advance.