cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
madeFromCode
Level 2

How to add registry key with install path

Hi all,

When my program is installed I need the installer to add some registry keys. Part of the registry key needs to include the path that the program was installed to. I'm new to InstallShield and creating registry keys so any help or a link to a tutorial will be appreciated.


Here is a rough draft of the registry key I want to add:
-----------------------------
REGEDIT4

[HKEY_CLASSES_ROOT\tel]
@="URL:MyProgram Protocol"
"URL Protocol"=""

[HKEY_CLASSES_ROOT\tel\shell]

[HKEY_CLASSES_ROOT\tel\shell\open]

[HKEY_CLASSES_ROOT\tel\shell\open\command]
@="\"C:\\Program Files\\Application\\myprogram.exe\" \"%1\""

-----------------------------
is the path that needs to be dynamic.

Thanks all.
Labels (1)
0 Kudos
(2) Replies
Not applicable

Your project type?

InstallScript:
MSI: [INSTALLDIR]
0 Kudos
madeFromCode
Level 2

Hi Kevin,

Thank you for the reply. The project is for a VOIP softphone. I'm trying to add registry keys so that the "tel:", "callto:", and "sip:" html tags will open the softphone.

How do I go about getting InstallShield to add the registry keys during installation? I've searched for a while now but can't seem to find a good set of instructions to do this.
0 Kudos