cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
hector_grebbell
Level 3

2012 Pro: Adding files to My Documents

It is my understanding there should be a PersonalFolder for this.
But I can't seem to find it.

In application files if I right click Destination computer, Show Predefined Folder is greyed out.
PersonalFolder is also not on the drop down list of destinations under components

Its an install script project

Am I being an dim?

Thanks

Hector
Labels (1)
0 Kudos
(1) Reply
phill_mn
Level 7

I would use FOLDER_PERSONAL (or PersonalFolder) and adjust the returned path for the MyDocuments folder. You might have to adjust this plan for different operating systems and to deal with the situation where the user has change the default path to some other path. In that case you may want to call a Shell32 API directly. Take a look at:
http://stackoverflow.com/questions/2414828/get-path-to-my-documents
0 Kudos