当前位置: 首页 > news >正文

建设教育协会官方网站网站建设流量是怎么回事

建设教育协会官方网站,网站建设流量是怎么回事,阿里云网站建设——部署与发布,天津建设协会网站首页如何让两个安装程序#xff08;setup.exe#xff09;#xff0c;共享同一个component#xff1f;  要实现的效果是#xff0c;两个程序共享同一个dll#xff0c;当两个程序中有一个被卸载掉时#xff0c;这个dll仍存在#xff0c;不随着第一个卸载而从系统中删除setup.exe共享同一个component  要实现的效果是两个程序共享同一个dll当两个程序中有一个被卸载掉时这个dll仍存在不随着第一个卸载而从系统中删除因为另一个程序还要用它嘛。而当两个程序都被卸载时这个dll被卸载掉。  原谅我几乎用了8个多小时才搞明白...痛苦地搜索和阅读过程就不赘述了总之在帮助里找到一条靠谱的信息帮助里的索引是Refcounting Shared Files内容如下 Windows Installer has a built-in mechanism for installing shared files. If the component is installed and its Shared property is set to Yes, a reference count in the registry is created, if necessary, and incremented for the components key file .The installer increments the reference count for any file in a component whether or not you mark the component as shared. However, if no reference count exists, the installer does not create one unless you specify that the components key file is shared. To specify that your components key file is a shared file:In the Setup Design view or Components view, select the component in the tree view.In the Components view, select the component in the tree view. Its property sheet opens to the right. Click on the Shared property to display a drop-down list below the property sheet. Select Yes from the drop-down list to set that components key file as shared. The changes you make are reflected in the property sheet. Windows logo guidelines require you to increment a reference count when installing shared files and to decrement the count when uninstalling. Core component files (which they recommend you not install) should not be refcounted.   文中我需要的内容就是“Windows Installer has a built-in mechanism for installing shared files. ...a reference count in the registry is created, if necessary, and incremented for the components key file”多么靠谱的Windows Installer多么靠谱的功能啊  这个机制就是如果是shared files在安装它之后windows installer就会在注册表的一个键值里为它记数不管被哪个安装程序安装装一次加1装一次加1incremented。同理卸载一次减去1卸载一次减去1。直到减少到0此时这个shared files就会被从系统中删除了。  所以实现的过程有几个问题需要解决  如何让一个file成为 shared file     这个file是该component的 key file (Set Key File)    component的GUID是分辨component的唯一标志也就是说GUID号相同的component即使是不同的SETUP中也认为是同一个component。就是这条我想通了之后问题才解决的……   究竟注册表里改了哪个数呢好奇    用我的猥琐小工具终于找到了提供给大家    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SharedDlls\ ---------------修改如下------------------------------------------1、把两个SETUP工程中需要共享的文件的component Code改为同一个。2、把该文件设为KEY FILE3、把注册表中因为调试而导致HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SharedDlls\)的该文件的记数不对的那条信息删除---------------搞定嘎嘎嘎---------------------------------------转载于:https://www.cnblogs.com/boldness/archive/2013/01/22/2871274.html
http://www.yutouwan.com/news/151671/

相关文章:

  • 哈尔滨网站备案建设银行信用卡卡网站
  • 俄文网站设计只做传统嫁衣网站
  • 宿迁建设网站橙色企业网站
  • 专业外贸网站制作价格网站自然排名往后掉
  • 模板建站流程商城网站的开发怎么做
  • dns看国外网站网络推广合作平台
  • 网站建设外包需要注意哪些wordpress怎么采集淘宝客
  • 网站建设课程设计目的和内容泉州制作网站开发
  • 厦门域名空间建网站网站开发与设计 课程简介
  • 群辉nas怎么做网站普达建站快车
  • 企业网站 asp源码做网站什么域名好
  • word做招聘网站政务服务网站建设性建议
  • 凡科建站视频教程win2008搭建wordpress
  • 精品特价地方装修网站php源码带后台 装饰门户门站 装修网源代码erp系统是什么意思
  • 网站开发三大流行语言微动网站建设
  • 台州的网站建设东莞网站设计找谁
  • 城阳做网站的公司网站怎么做分类聚合
  • 凡科 如何建设网站流程做淘客网站用什么上传文件
  • 国外特效网站wordpress 工单插件
  • 怎样下载模板做网站环保设备网站怎么做
  • 营销型网站建设制作推广接单做一个网站多少钱
  • 专业网站制作公司招聘建站之星破解版手机
  • 网站的费用多少合适网站开发营销网站多少钱
  • 北京快三下载官方网站网站产品管理模块
  • 网站推广的方式和管理方法重庆制作小程序公司
  • 一个dede管理两个网站商城网站建设开发公司
  • 网站前后台套装模板企业网站怎样做优化
  • 潍坊高端网站开发制作动画的软件app
  • 深圳网站建设运营公司wordpress移除评论
  • 网站建设华网天下公司网站前端跟后端怎么做