I want a registry value to replace the path of $INSTDIR when my installer asks for the directory path. So i'm guessing I'll have to add a StrCpy in my script but I really dont know the commands for all of this.
Here's what I want to do exactly:
The installer changes the $INSTDIR according to a directory in the registry value. But the value also has -url %1 at the end that I don't need.
HKEY_CLASSES_ROOT\http\shell\open\command
String Value:
If it displays something that doesn't contain 'Firefox' in the value then the installer will ignore it and continue with the default $INSTDIRC:\PROGRA~1\FIREFOX\FIREFOX.EXE -url "%1"
Now how would I go about doing all of this?