Finding the right install directory
Hi,
In my NSIS script, to install a CGI script, I have:
InstallDir "$PROGRAMFILES\Apache Group\Apache\cgi-bin"
However, some users have Apache2 and the directory name is, therefore, different.
Is there any way to first check if the Apache2 directory exists and then install to it, but if no Apache2 directory exists, install to the regular directed (as shown above)?
Thank you
Ken