It appears that Get Folder Location for locations like the desktop directory is always returning the all users folder, rather than the user specific folder.
The "Get For All Users" checkbox is not checked.
Get Folder Location bug
I am unable to reproduce this. I created an empty script containing the code:
And the output was as follows:
Code: Select all
~InstallAWARE Clipboard Data~
~MessageBox~
~{4481B52D-E66D-450C-95ED-099FE37D8052}~
~Desktop Folders~
~$ALLDESKTOP$$NEWLINE$$DESKTOP$~
~0~
~1~
~~
~Get Folder Location~
~{4F558047-2769-4C8C-867F-071410EE4023}~
~DESKTOP~
~17~
~FALSE~
~Get Folder Location~
~{A08D4B0F-4A38-4BC3-8B3D-2BE2E92B45D6}~
~ALLDESKTOP~
~17~
~TRUE~
Which looks fine to me...---------------------------
Desktop Folders
---------------------------
C:\\Documents and Settings\\All Users\\DesktopC:\\Documents and Settings\\Administrator\\Desktop\---------------------------
OK
---------------------------
To be more specific, I am using these folder locations to create shortcuts. The shortcut is being placed in all users when I use this:
Code: Select all
~InstallAWARE Clipboard Data~
~Create Shortcut~
~{8749B554-ABE8-4560-90AB-77D35CFE81E6}~
~$PROGRAMFILES$\\Media Manager\\MediaManager.exe~
~#APPNAME#~
~$DESKTOPDIR$~
~Launch #APPNAME#~
~"$USER_APPDATA$\\Media Manager\\#CLIENTNAME#\\Main.plc"~
~$PROGRAMFILES$\\Media Manager~
~#CLIENTPATH#\\ClientFiles\\App.ico~
~~
~0~
~Create Shortcut~
~{D7D23074-7102-49CA-90B1-96510320E33C}~
~$PROGRAMFILES$\\Media Manager\\MediaManager.exe~
~#APPNAME#~
~$SHORTCUTROOT$~
~Launch #APPNAME#~
~"$USER_APPDATA$\\Media Manager\\#CLIENTNAME#\\Main.plc"~
~$PROGRAMFILES$\\Media Manager~
~#CLIENTPATH#\\ClientFiles\\App.ico~
~~
~0~
~Get Folder Location~
~{034C570E-15ED-4600-9B45-D4A4101644C0}~
~SHORTCUTROOT~
~12~
~FALSE~
~Get Folder Location~
~{39BDDDB2-6870-4057-8759-2F7B37049C21}~
~DESKTOPDIR~
~17~
~FALSE~

