I've used WIX_DIR_COMMON_DOCUMENTS
, as described in OSInfo custom actions, to install a file in a Public Documents
folder in Windows 7, 8, and 10
where, I've tested that, the file is installed at C:\users\Public\Documents
. I don't have access to XP
or Vista
. Question: Where on the target systems XP
or Vista
the WiX
installer will install the file if I'm using the same code? Note: I'm using WiX 3.11 RC but this probably should not matter here.
Asked
Active
Viewed 899 times
1

nam
- 21,967
- 37
- 158
- 332
1 Answers
1
For Windows XP it will be C:\Documents and Settings\All Users\Documents
.
For Windows Vista it should be same as for Windows 7: C:\Users\Public\Documents
.
You can use WiX documentation and Technet to find locations of the other Special Folders.

Uladzimir Palekh
- 1,846
- 13
- 16
-
`C:\Documents and Settings\All Users\Documents` -- note that XP path is localized, e. g. on a german system it would be `C:\Dokumente und Einstellungen\All Users\Dokumente`. That changed with Vista, where physical path is no longer localized, Explorer just *displays* it localized. – zett42 Apr 26 '17 at 10:22