This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- How to add registry key with install path
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 26, 2012
01:00 PM
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.
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\""
-----------------------------
Thanks all.
(2) Replies
Not applicable
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 26, 2012
09:59 PM
Your project type?
InstallScript:
MSI: [INSTALLDIR]
InstallScript:
MSI: [INSTALLDIR]
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 27, 2012
02:11 PM
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.
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.