Portable and Install mode in one installer
how to create two install methods in one installer ?
like AIMP installer http://iceimg.com/i/ea/7c/2e7128d925.png

i need when select Install mode - app install to "$INSTDIR"
and when select Portable mode - extract files to "$EXEDIR" or custom install path

can anybody explain on my example whats need more to be complete ?