I am creating a desktop app that needs to install an SDF file to the SpecialFolder.CommonDocuments
folder (C:\\Users\\Public\\documents
in Win 7). In a
The answer of David Veeneman is great! Helped a lot. A little correction:
Right-click 'File System on Target Machine' and select 'Add Special Folder > Custom Folder' from the context menu. A new item will appear (see 1 above). Rename the item Common Documents. In the properties pane (See 2 above), set the 'Property' property to
[COMDOCFOLDER]
Those square brackets are necessary, otherwise you'll receive exception while executing the installer.