有没有一种方法可以在Program.exe.manifest的UMMM(无人参与制作我的清单)创建中指定File Name =? [英] Is there a way to specify File Name= in UMMM (Unattended Make My Manifest) creation of Program.exe.manifest?
问题描述
是否可以调整UMMM.ini文件和/或UMMM.bat文件以在< File Name = ...>
中指定creates创建Program.exe.manifest时的依赖项子目录吗?
Is there a way to adjust the UMMM.ini file and / or the UMMM.bat file to specify in the <File Name=... >
the \Dependencies subdirectory when it creates the Program.exe.manifest?
回复: vb6 regfreecom;为ocx文件自动创建清单
回复:针对TABCTL32.ocx的VB6 RegFreeCom SideBySide SxS清单测试
使用UMMM.ini文件,如:
Using a UMMM.ini file like:
Identity zTABCTL32.exe zTABCTL32.exe "TABCTL32 Test program 1.0"
File C:\WINDOWS\system32\TABCTL32.ocx
和UMMM.bat文件:
and a UMMM.bat file like:
UMMM.exe zUMMMTabCtl32.ini .\manifest\zTABCTL32.exe.manifest
pause done?
然后编辑生成的.exe清单文件:
Then editing the resultant .exe manifest file:
来自:<文件名= .. \..\..\..\WINDOWS\system32\TABCTL32.ocx>
收件人:<文件名= Dependencies\TABCTL32.ocx>
是> https://github.com/wqweto/UMMM/issues/16中的讨论在同一个球场中。
我DID调整UMMM.vbp以从 SysWOW64
重定向到 System32
。
但这是我想去的。也许我有耐心,他们会找出解决方案的。
YES the discussion in https://github.com/wqweto/UMMM/issues/16 is in the same ballpark.
I DID tweak the UMMM.vbp to redirect from SysWOW64
to System32
.
But that is as far as I want to go. Maybe if I am patient, they will work out a solution.
这是最后一个可以正常运行的Program.exe.manifest:
Here is the final Program.exe.manifest that works fine:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3">
<assemblyIdentity name="zTABCTL32.exe" processorArchitecture="X86" type="win32" version="1.0.0.20" />
<description>TABCTL32 Test program 1.0</description>
<file name="Dependencies\TABCTL32.ocx">
<typelib tlbid="{BDC217C8-ED16-11CD-956C-0000C04E4C0A}" version="1.1" flags="control,hasdiskimage" helpdir="" />
<comClass clsid="{BDC217C5-ED16-11CD-956C-0000C04E4C0A}" tlbid="{BDC217C8-ED16-11CD-956C-0000C04E4C0A}" progid="TabDlg.SSTab.1" threadingModel="Apartment" miscStatus="" miscStatusContent="recomposeonresize,cantlinkinside,insideout,activatewhenvisible,simpleframe,setclientsitefirst">
<progid>TabDlg.SSTab</progid>
</comClass>
<comClass clsid="{942085FD-8AEE-465F-ADD7-5E7AA28F8C14}" tlbid="{BDC217C8-ED16-11CD-956C-0000C04E4C0A}" threadingModel="Apartment" miscStatus="" miscStatusContent="recomposeonresize,cantlinkinside,insideout,activatewhenvisible,simpleframe,setclientsitefirst" />
</file>
</assembly>
我的努力很小,而不是生产。
My efforts are on a tiny scale, not production.
我很尴尬地说,起初我并没有完全按照您的指示进行操作。
这是.ini文件(有效!):
I am embarrassed to say I did not, at first, take your instructions literally enough.
Here is the .ini file (That Works!):
Identity zTABCTL32.exe zTABCTL32.exe "TABCTL32 Test program 1.0"
File C:\WINDOWS\system32\TABCTL32.ocx "" "" Dependencies\TABCTL32.ocx
这是.bat文件:
C:\Devlpmnt\LANG\VB6\UMMM-master_1_0_14\UMMM.exe zUMMMTabCtl32.ini .\manifest\zTABCTL32.exe.manifest
pause done?
以下是相应清单中的结果清单文件:
Here is the resulting manifest file in its appropriate folder:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3">
<assemblyIdentity name="zTABCTL32.exe" processorArchitecture="X86" type="win32" version="1.0.0.23" />
<description>TABCTL32 Test program 1.0</description>
<file name="Dependencies\TABCTL32.ocx">
<typelib tlbid="{BDC217C8-ED16-11CD-956C-0000C04E4C0A}" version="1.1" flags="control,hasdiskimage" helpdir="" />
<comClass clsid="{BDC217C5-ED16-11CD-956C-0000C04E4C0A}" tlbid="{BDC217C8-ED16-11CD-956C-0000C04E4C0A}" progid="TabDlg.SSTab.1" threadingModel="Apartment" miscStatus="" miscStatusContent="recomposeonresize,cantlinkinside,insideout,activatewhenvisible,simpleframe,setclientsitefirst">
<progid>TabDlg.SSTab</progid>
</comClass>
<comClass clsid="{942085FD-8AEE-465F-ADD7-5E7AA28F8C14}" tlbid="{BDC217C8-ED16-11CD-956C-0000C04E4C0A}" threadingModel="Apartment" miscStatus="" miscStatusContent="recomposeonresize,cantlinkinside,insideout,activatewhenvisible,simpleframe,setclientsitefirst" />
</file>
</assembly>
这一切!谢谢。
推荐答案
wqw
提供了以下解决方案:以上说明。
再次感谢您。
wqw
provided the solution as illustrated above.
Again, thank you.
这篇关于有没有一种方法可以在Program.exe.manifest的UMMM(无人参与制作我的清单)创建中指定File Name =?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!