New XY-Specific Property: Unresolved Link Target
Posted: 10 Dec 2014 15:22
Currently, #LinkTarget resolves environment variables.
Will you please add #LinkTargetPure or #UnresolvedLinkTarget to return the unresolved targets? Plus, #ShortcutTarget versions.
Reasoning: Many installers create shortcuts using %ProgramFiles% out of habit, laziness, or ignorance which is fine until WOW64 redirection applies and suddenly all of those shortcuts point to non-existing paths within 32-bit applications on a 64-bit OS.
It also seems tweak WOW64DisableRedirection doesn't come into play here.
Given the age and lack of noise, I'm fine with this being limited to only adding those new properties, but it might be better if XY had some smartness to handle this better. Such as if target contains %ProgramFiles% and the resolved (with redirection) path does not exist but the resolved (without redirection) path does - use the latter.
Interestingly this also proves problematic when viewing the System Properties of those shortcuts because Windows itself won't show you the unresolved target and falls victim of the redirection when opened from XY's 32-bit context menu.
Will you please add #LinkTargetPure or #UnresolvedLinkTarget to return the unresolved targets? Plus, #ShortcutTarget versions.
Reasoning: Many installers create shortcuts using %ProgramFiles% out of habit, laziness, or ignorance which is fine until WOW64 redirection applies and suddenly all of those shortcuts point to non-existing paths within 32-bit applications on a 64-bit OS.
It also seems tweak WOW64DisableRedirection doesn't come into play here.
Given the age and lack of noise, I'm fine with this being limited to only adding those new properties, but it might be better if XY had some smartness to handle this better. Such as if target contains %ProgramFiles% and the resolved (with redirection) path does not exist but the resolved (without redirection) path does - use the latter.
Interestingly this also proves problematic when viewing the System Properties of those shortcuts because Windows itself won't show you the unresolved target and falls victim of the redirection when opened from XY's 32-bit context menu.