Querying Registry
alright, first some explanation. i'm putting together an installer for an addon to a software. this addon however will not be installed in the same dir as the software itself.
at the beginning the user gets asked for the installation-dir using InstallDir. my problem now is how to detect the dir of the present software, which is required for the installation. i know of the InstallDirRegKey command.
my question is, can i use InstallDirRegKey (or any other command if necessary) to detect the installation-dir (which must be independent of the $INSTDIR)? can i give this detected directory a variable like $NEWINSTDIR?
please, if you can help me post a little example.