TrustedInstaller is preventing registry writes to HKCR\DirectShow\MediaObjects\Categories

 ̄綄美尐妖づ 提交于 2019-12-04 06:47:37

问题


I'm trying to install a DMO which requires me to write to HKCR\DirectShow\MediaObjects\Categories\57f2db8b-e6bb-4513-9d43-dcd2a6593125, this registry path is protected by TrustedInstaller and it seems that this protection is new in Windows 7 (it work on previous platforms).

How am I suppose to install DMOs?

There are plenty of places that suggest to take ownership on the this registry key but this just doesn't feel right.

BTW, were using boilerplate Wix3 to write the registry values.


回答1:


The Windows Installer cannot be used to update Windows. I know it sounds funny but Windows Installer is for "applications" and the Trusted Installer is for "the operating system". To update pieces of the operating system, you need to use an operating system service pack or KB.

If this is a documented place in the registry that you are supposed to be able to extend then I would guess it would be necessary to contact Microsoft about the key being protected. My guess would be that it is a bug.

If it is a bug in Windows then Microsoft hopefully would provide a work around or fix. Maybe the answer is to take ownership of the registry but I agree that doesn't seem right.



来源:https://stackoverflow.com/questions/1551471/trustedinstaller-is-preventing-registry-writes-to-hkcr-directshow-mediaobjects-c

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!