How to Update Telephony Registry Keys
I need to make a package that updates the "phone and modem options"
applet in Control Panel.
I need to add a new "Dialing Location" - set the name and area code as
requested by the client.
If I make a setup capture everything is ok except that at uninstall
things are not looking good.
How can i properly update the dialing locations so that they get
installed/uninstalled properly.
What about the telephony providers? How can you correctly update them?
Thank you!
applet in Control Panel.
I need to add a new "Dialing Location" - set the name and area code as
requested by the client.
If I make a setup capture everything is ok except that at uninstall
things are not looking good.
How can i properly update the dialing locations so that they get
installed/uninstalled properly.
What about the telephony providers? How can you correctly update them?
Thank you!
0 Comments
[ + ] Show comments
Answers (2)
Please log in to answer
Posted by:
rikx2
17 years ago
hi,
i think you just need to focus on these registries.
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Telephony\<Location name>]
"CurrentID"=dword:00000001
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Telephony\Locations\<Location name>]
"Country"=dwordentry
"Flags"=dwordentry
"Name"="My Location"
"AreaCode"=""
"DisableCallWaiting"=""
"LongDistanceCarrierCode"=""
"InternationalCarrierCode"=""
"LongDistanceAccess"=""
"OutsideAccess"=""
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Telephony\Locations\<Location name>\AreaCodeRules]
rgrds,
rick
i think you just need to focus on these registries.
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Telephony\<Location name>]
"CurrentID"=dword:00000001
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Telephony\Locations\<Location name>]
"Country"=dwordentry
"Flags"=dwordentry
"Name"="My Location"
"AreaCode"=""
"DisableCallWaiting"=""
"LongDistanceCarrierCode"=""
"InternationalCarrierCode"=""
"LongDistanceAccess"=""
"OutsideAccess"=""
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Telephony\Locations\<Location name>\AreaCodeRules]
rgrds,
rick
Posted by:
shogun_ro
17 years ago
Yeah... i know!
But what do you think it would be best?
To make a setup capture and set the components that contain these registry keys as permanent or...
make a script that checks to see if another dial location is already registered and adds the new one dinamically
and at uninstall removes it so that the remaining dial locations continue to work?
If you think that the 2nd idea is a better one, do you have any script samples that might be useful?
But what do you think it would be best?
To make a setup capture and set the components that contain these registry keys as permanent or...
make a script that checks to see if another dial location is already registered and adds the new one dinamically
and at uninstall removes it so that the remaining dial locations continue to work?
If you think that the 2nd idea is a better one, do you have any script samples that might be useful?
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.