comctl32.msm(合并模块)在 Vista 上失败 [英] comctl32.msm (Merge module) Fails on Vista

查看:29
本文介绍了comctl32.msm(合并模块)在 Vista 上失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将 comctl32.msm 卡在安装程序(comctl32.ocx 合并模块)中.在 XP 上,comctl32.ocx 出现在 system32 中,一切都很愉快.在vista上,它不起作用.猜猜我做错了什么?

I stuck comctl32.msm in an installer (comctl32.ocx merge module). On XP, comctl32.ocx appears in system32 and everything is happy. On vista, it does not work. Any guesses what I am doing wrong?

我还尝试用 <file> 替换合并模块,并在组件中进行了大量注册表更改,但文件没有移动,也没有进行注册表更改.

I also tried replacing the merge module with a <file> and a lot of registry changes, in a component, but the file didn't move and the registry changes weren't made.

  <Directory Id="SystemFolder" Name="Sys">
    <Merge Id="VBRunMod" Language="1033" SourceFile="Merge\msvbvm60.msm" DiskId="1" />
    <Merge Id="ComCatMod" Language="1033" SourceFile="Merge\comcat.msm" DiskId="1" />
    <Merge Id="OleautMod" Language="1033" SourceFile="Merge\oleaut32.msm" DiskId="1" />
    <Merge Id="ComCtlMod" Language="1033" SourceFile="Merge\comctl32.msm" DiskId="1" />
    <Merge Id="MSCtlMod" Language="1033" SourceFile="Merge\mscomctl.msm" DiskId="1" />
  </Directory>

推荐答案

我在功能中有VersionNT &gt;= 600,阻止 Vista 安装它.由于我不记得的原因,我在第一次学习 Wix 时添加了该代码.哇,我觉得自己很傻.

I had <Condition Level="0">VersionNT &gt;= 600</Condition> in the feature, preventing Vista from installing it. I added that code when I was first learning Wix for reasons that I do not recall. Wow, I feel stupid.

这篇关于comctl32.msm(合并模块)在 Vista 上失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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