Archive: how do i install files to myDocuments w/out a user name??


how do i install files to myDocuments w/out a user name??
I am completely new to nsis, it looks like it should do what I am asking it to but I just cant get it to post files to the right directory.

I am trying to use it for people to be able to install files to a game directory because the new directory structure is very complicated for the end user and I believe this can make things a lot more pleasant for them.

Basically there are two to three files involved in this process. they all go into different directories but these directories are all located in My Documents, and there is a user name in the string i cannot predict.

base directory is located here: C:\Documents and Settings\<user name>\My Documents\My Games\Unreal Tournament 3\UTGame

Files need to go here: C:\Documents and Settings\<user name>\My Documents\My Games\Unreal Tournament 3\UTGame\Config

here: C:\Documents and Settings\<user name>\My Documents\My Games\Unreal Tournament 3\UTGame\Published\CookedPC\Script

and sometimes here: C:\Documents and Settings\<user name>\My Documents\My Games\Unreal Tournament 3\UTGame\Published\CookedPC

I have no clue how to get past the user name part i tried adding \..\ and also \[user]\ in the path but it didn't work , and I have not been able to find any answers (for nubes) ;) any help is greatly appreciated.

-bh


Tried $DOCUMENTS? Please read the manual.

Stu