Correct sub-folders for "current user"-mode
Hi,
Sorry if this problem was already discussed, but I couldn't find the answer.
I use MultiUser.nsh in my script and I have the following define:
!define MULTIUSER_INSTALLMODE_DEFAULT_CURRENTUSER
The dialog for selection of the mode is not shown, so the installation is fixed to "current user".
The shortcuts and writing to the Windows registry is OK, but the installer places my application on a wrong subfolder. I mean that Program Files (x86) on Vista and 7 is virtual, so the installer must place the application in the sub-folder User\... (specific for the user). I expected that if the correct mode is selected, then the variables like $PROGRAMFILES, $INSTDIR, $COMMONFILES will have the correct content, but it is not so. Can you give me an advice what to do to install my application in the correct subfolder for the current user only?
Thanks!