Posted 10 April 2006 - 08:36
After installing this product, when i look into following registry key:
HKLM > Microsoft > Windows > CurrentVersion > Installer > UserData > s-1-5-18 > Components > guid_of_my_component
the path displayed under this registry is strange for few components.
Can someone explain why/when the path is written to registry like this?
And, how to analyze this path?
Posted 19 April 2006 - 06:10
Maybe is has something to do with the component attributes?
Posted 19 April 2006 - 06:53
however path of one is displayed in registry as
and that of other as
This is creating problem for me because i have some other product which may be reading path from these registry keys.
Can someone knows reason for this ??
Posted 19 April 2006 - 06:58
When a component does not have a key file, the path in registry is
But if I set the file, say xyz.ext as key file for component the path in registry is
Posted 19 April 2006 - 06:59
You should be using MsiGetComponentPath or MsiLocateComponent. If these functions return the "?" in the string, then this is a problem and should be raised for the Windows Installer team.
Posted 04 May 2006 - 12:24
My problem is not resolved.
Actually i was using MsiLocateComponent.
However, when i looked at MsiGetComponentPath it also give the same results.
But see the description of MsiGetComponentPath in WI SDK, it explains the meaning of 'xx' in
And as we have earlier found the reason of '?' in
So i think this topic is complete
Posted 04 May 2006 - 12:25