![]() |
ReadRegStr works sometimes ?
I perform the following registry read to get the iTunes program files folder location:
ReadRegStr $iTunesFolder HKCR "Applications\\iTunes.exe\\DefaultIcon" "" Sometimes I get a blank value in $iTunesFolder and sometimes I get the real value that's in the registry. This will be on the same machine in consecutive runs of the installer. I put a MessageBox in right after the call to see what I get, this is how I know that it is blank sometimes. Has anyone had intermittent problems like this reading the registry? Thanks, Ken |
you dont need double backslashes in registry "path"
|
That seems to have fixed it, thanks!
|
| All times are GMT. The time now is 04:35. |
Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.