Scripting Question

any solution to random-number generation for reg key?

08/01/2012 2448 views

I'm packaging Microsoft SQL Server 2008 Management Studio R2 and thought I'd add an Active Setup solution in an effort to disable a "Customer Experience Improvement Program" dialog that appears upon first launch of the app for each user on a given PC.

However, testing revealed the Active Setup solution didn't work because the registry key related to the CEIP dialog generated a unique name in the registry at HKCU\Software\Microsoft\VSCommon\8.0\SQM\PIDs\####, where "####" is a random number.

I've seen this in one or two other apps I've packaged and wound up abandoning the Active Setup solution and then informing end users to click "No".

Wanted to ask the community if anyone has figured out a way to deal with this scenario, or does the random number generation make scripting a solution too difficult, and should I just move on?

Answer Summary:
look at this link, they mention a way to kill it with an answer file http://technet.microsoft.com/en-us/library/ee126127(v=ws.10).aspx http://technet.microsoft.com/en-us/library/cc753606(v=ws.10).aspx#BKMK_disable
0 Comments   [ + ] Show comments


All Answers

  • Thanks, Smal. That helped. We're going to kill it via Group Policy.
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ