No, It is Immpossible. All properties of the directory (including INSTALLDIR, TARGETDIR, INSTALLLOCATION, or anything else you call them) are immutable after installing the component that references them. You need to remove everything from the selection function for the entire product (depending on which components have components using directories) in order to be able to reinstall this function / product and give the directory a new value.
source share