English 中文(简体)
编辑 MSI 文件以添加新驱动器
原标题:Editing MSI file to add new drivers

我有一个 VPN 检查站文件, 里面有一位司机, 这在笔记本电脑上造成大量 BSOD, 我有新的驱动程序, 可以替换旧版本。 有人知道我如何替换驱动程序, 但也可以确保窗口验证这一点 。 我有 msi 软件包, 并且有.sys 格式的新驱动程序 。

我尝试使用窗口 Msidb. exe, 但它的剂量不会提取驱动器, 或者让我添加一个 。

问题回答

You could use the ORCA editor from Microsoft.
However this tool is no more supported and editing an MSI is not an easy task.
Take a look also to the other tools present in the same page above

< a href=> http://www.technipages.com/download-orca- msi- editor.html" rel=“ no follow” > 位于此 链接,您可在此单独下载它

Also you can use the InstedIt more useful and functional tool than ORCA. Concerning your question to change file in msi (schema is similar as in post about ORCA):

  1. In Component table create a new component (you need specify the destination directory).
  2. In FutureComponents associate new component with the main future.
  3. In File table you can delete the old file and create a new with the same name, associate it with new component, set attributes to Compressed (0x4000) and set sequence. The sequence should be the last one in file table+1 (to determinate which one is last you can sort files by sequence).
  4. In Media table you need to create a cab (InstedIt can do it without additional soft), to do it create a new row with the next parameters DiskId - uniq, LastSequence - your sequnce number from step 3, and name of cabinet - any but with .cab extension. And then right click on the this row and chose the "Rebuild selected CABs", it genarates error with path where should be your new file on disk. Put file here and one more time generate the cab.
  5. Return to Component table and associate the KeyPath param with your file.

它应该有效,但如果有任何问题,欢迎你。





相关问题
Why running a service as Local System is bad on windows?

I am trying to find out the difference between difference service account types. I tumbled upon this question. The answer was because it has powerful access to local resources, and Network Service ...

Programmatically detect Windows cluster configuration?

Does anyone know how to programatically detect that a Windows server is part of a cluster? Further, is it possible to detect that the server is the active or passive node? [Edit] And detect it from ...

get file icon for Outlook appointment (.msg)

I ve read Get File Icon used by Shell and the other similar posts - and already use SHFileInfo to get the associated icon for any given extension, and that works great. However, Outlook uses ".msg" ...

Identifying idle state on a windows machine

I know about the GetLastInputInfo method but that would only give me the duration since last user input - keyboard or mouse. If a user input was last received 10 minutes ago, that wouldn t mean the ...

Terminating a thread gracefully not using TerminateThread()

My application creates a thread and that runs in the background all the time. I can only terminate the thread manually, not from within the thread callback function. At the moment I am using ...

热门标签