VS2010部署包:如何设置注册表权限 [英] VS2010 Deployment package: How to set registry permission

查看:115
本文介绍了VS2010部署包:如何设置注册表权限的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我们遇到了安装sql 2008 express edition sp1从我们的部署包中赢得xp sp3机器的问题。我们后来发现设置以下注册表设置正在解决问题。

We faced issue installing sql 2008 express edition sp1 to win xp sp3 machine from our deployment package. We later found that setting the following registry setting is solving the issue.


  • 位于 HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft &\\ Microsoft SQL Server 在注册表中
  • 右键单击并转到权限
  • 点击提前
  • 勾选两个复选框(I.从父级继承权限... II。替换所有子对象的权限条目...),单击确定
  • 单击确定
  • Located HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server in registry
  • Right click and go to Permission
  • Click on Advance
  • Tick on both check box (I. Inherit from parent the permission... II. Replace permission entries on all child objects...), clickOK
  • Click OK again

如何从我们的部署代码设置上述权限设置?

How can set the above permission setting from our deployment code?

Hemant

推荐答案

事件序列是在MSI安装程序运行之前安装SQL Express等先决条件,因此您的设置中无法运行任何代码使它工作。
The sequence of events is that prerequisites like SQL Express are installed before your MSI setup runs, so there's no code you can run in your setup to make it work.


这篇关于VS2010部署包:如何设置注册表权限的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆