View Issue Details

IDProjectCategoryView StatusLast Update
0008912MMW v4Otherpublic2012-01-03 23:24
Reporterpeke Assigned To 
PriorityimmediateSeveritycrashReproducibilityalways
Status closedResolutionfixed 
Product Version4.0.2 
Target Version4.0.3Fixed in Version4.0.3 
Summary0008912: User Shell Folders values does not need to exist in Vista+
DescriptionDue the numerous user reports about not being able to start Due the fact that in Vista and Above "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\AppData" is abandoned and may not exist in some cases especially on clean Windows installation. See http://blogs.msdn.com/b/oldnewthing/archive/2003/11/03/55532.aspx

NOTE: same goes for SHGetFolderPath which is deprecated in Vista+ See http://msdn.microsoft.com/en-us/library/windows/desktop/bb762181%28v=vs.85%29.aspx where SHGetKnownFolderPath should be used instead

I created small example app that will read <user>\AppData\Roaming\ correctly no matter of old Registry existance.

Useful Info in case we need more known folder data:
KNOWNFOLDERID constants http://msdn.microsoft.com/en-us/library/windows/desktop/dd378457%28v=vs.85%29.aspx
TagsNo tags attached.
Fixed in build1463

Activities

peke

2011-12-29 03:48

developer   ~0029663

Sample app is uploaded to FTP

petr

2011-12-29 17:50

developer   ~0029666

Fixed in 1463

peke

2012-01-03 23:24

developer   ~0029715

Verified 1463