Archive: Install Flash app/ find username


Install Flash app/ find username
Hi,
im new with scripting for NSIS, so i need a little help.

I have a Flash application (.swf) which i want to install. i have set up the installer, for the files everything is ok.

Flash needs a file placed into the FlashPlayerTrust directory. This directory is a subfolder of the user folder. So how can i fetch the username (or the whole path) to place the file? I also fear, that this directory depends on the OS and language used. So finding it somewhere directly instead of building the path would be the better solution.

For better understanding what im trying to do:
http://glossar.hs-augsburg.de/Sandbo...ionScript_3%29
im sorry that it is a german source, but i have found nothing comparable on the security sandbox in english.

Thanx for any help you can provide


Please read the manual:
http://nsis.sourceforge.net/Docs/Chapter4.html#4.2.3