nbruns
asked on
Registry setting value using dynamic path during install
I have a Visual Studio 2008 setup project that is updating a registry setting. I need to get the actual Windows\Start Menu\Programs folder name for the value of the registry key. I was hoping that [ProgramMenuFolder] would work, but it doesn't. Is it possible to set this value correctly using the Registry editor of the Setup project. Here is the registry key I ultimately want, but since this will have international installations, Start Menu\Programs will not always be correct.
Key Value
App4 \Windows\Start Menu\Programs\KnownValue.lnk
Key Value
App4 \Windows\Start Menu\Programs\KnownValue.lnk
ASKER
Thanks for your reply. I can get the value of the correct folder at run time, but I need a way to set it during install using a Setup project in Visual Studio. Currently I am using the Registry portion of the Setup project (which is built into a cab file for setup on a Windows Mobile device).
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I actually am using a custom dll for another task. I'll use that instead. Thanks!
Anyways, in Windows the path to machine-wide start menu can be found in Registry at HKLM\SOFTWARE\Microsoft\Wi