Install application in Custom folder
I would like the user to give the option to select a custom folder for e.g. c:\test1\test2\ to install the application. Note the folder c:\test1\test2 is not present on the user machine. The user will create the folder c:\test1\test2. After the user selects the folder(c:\test1\test2\) the application should get installed on c:\test1\test2\[INSTALLDIR].
Users should also have the functionality to install the application on the default directory i.e. [INSTALLDIR]. Please advise how do I achieve this functionality.