Question on HKCU reg keys
I'm packaging up Nuance Dragon NaturallySpeaking and that's all fine, but there's one step needed to turn off the inbuilt Microsoft Office speech tools which is simply going into tools/administrative options and ticking a box. I put a trace on and found that the keys affected are all in HKCU i.e. are user specific so I can't easily add this to my script as an HKLM reg key. Somebody said to me that it is best practice thse days to put keys into HKCU because of Citrix/Terminal server apps
I also saw a very interesting article in here about using an activesetup key http://etlengineering.com/installer/activesetup.txt
Wondered if anyone had any thoughts on how best to do this ?
Thanks
I also saw a very interesting article in here about using an activesetup key http://etlengineering.com/installer/activesetup.txt
Wondered if anyone had any thoughts on how best to do this ?
Thanks
0 Comments
[ + ] Show comments
Answers (4)
Please log in to answer
Posted by:
anonymous_9363
14 years ago
The recommended way to populate any user profile data is to create a "user" feature and make it the parent of an existing feature, provided the parent has an advertised entry-point, such as a shortcut. That way, when the entry-point is accessed, self-healing is triggered and your user profile stuff gets installed. Active Setup would be used when a package contains no advertised entry-points.
As to using HKCU over HKLM, that depends entirely on the application in question. Many applications don't use the recommended APIs (which search HKCU first, then HKLM), going instead directly to the hive.
As to using HKCU over HKLM, that depends entirely on the application in question. Many applications don't use the recommended APIs (which search HKCU first, then HKLM), going instead directly to the hive.
Posted by:
fuz_kitten
14 years ago
If you are publishing your application in a Citrix environment you will unable to to advertise your shortcuts as VB suggests and therefore you will not be able to populate HKCU in this way.
Active setup can only be used if you are planning on using a published desktop. If you are publishing icons then you will need to rely on shadow keys or a script run at log on or launch of the app.
Cheers
Charlie
Active setup can only be used if you are planning on using a published desktop. If you are publishing icons then you will need to rely on shadow keys or a script run at log on or launch of the app.
Cheers
Charlie
Posted by:
iburnell
14 years ago
No - its not being published in Citrix - its a straight package. I just assumed it was bad coding from the vendor to use HKCU reg keys rather than HKLM - probablymy lack of knowledge !!
VBScab - thanks for your reply. So you're saying I could take the MST transform and add the user feature ?
Would the entries under this feature be the specific HKCU keys changed or could I somehow add the option in the package - in real time its a tick box set under administrative settings. This seems to remove the run key for ctfmon.exe that msoffice creates as this is a disability packagel that wants to dsiable the Microsoft speech recognition tools
VBScab - thanks for your reply. So you're saying I could take the MST transform and add the user feature ?
Would the entries under this feature be the specific HKCU keys changed or could I somehow add the option in the package - in real time its a tick box set under administrative settings. This seems to remove the run key for ctfmon.exe that msoffice creates as this is a disability packagel that wants to dsiable the Microsoft speech recognition tools
Posted by:
anonymous_9363
14 years ago
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.