I am trying to create an entry (key/value) in the Registry to save the program location during deployment (installation). I know how to add/read an entry in/from the Registry I also know that I can use the Registry window in the deployment project to create any entry during installation. But I want the deployment package to be able to save whatever location that the user chooses during installation (eg: "c:\Program Files\myCompanyName\myProgram.exe") as an entry in the Registry for example key/value:
"HKEY_LOCAL_MACHINE\SOFTWARE\myCompany\ProgramPath"
value: "c:\Program Files\myCompanyName\myProgram.exe"
Basically, I need to create an entry in the Registry so that other programs can locate my application . Unfortuanately, registring some file formats to be linked to my application which could be a way around this issue is not an option for me.
Thanks,
"HKEY_LOCAL_MACHINE\SOFTWARE\myCompany\ProgramPath"
value: "c:\Program Files\myCompanyName\myProgram.exe"
Basically, I need to create an entry in the Registry so that other programs can locate my application . Unfortuanately, registring some file formats to be linked to my application which could be a way around this issue is not an option for me.
Thanks,