windows - 修改InstallShield X(版本10.5)的exe list

标签 windows manifest installshield

我使用 InstallShield X(版本 10.5)创建了 InstallScript 项目

当我从 Windows SDK v7.1A 运行 mt.exe 时具有以下 list :

MySetup.exe.manifest

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
  <trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
    <security>
      <requestedPrivileges>
        <requestedExecutionLevel
          level='requireAdministrator'
          uiAccess='false'
        />
      </requestedPrivileges>
    </security>
  </trustInfo>
</assembly>

使用以下命令:

# wrong file! MySetup.exe will be truncated!    
mt.exe -manifest MySetup.exe.manifest -updateresource:MySetup.exe;#1

安装程序 (MySetup.exe) 从约 80 MB 截断为约 110 KB。如何将管理员权限提升 list 正确嵌入到 InstallShield X 生成的安装程序中?

最佳答案

InstallShield 有一个可下载的工具,它可以修改构建的 setup.exe 或 update.exe 的 list 。此时我不记得它适用于哪些版本的 InstallShield 输出。它将在修改 .exe 文件的内容时删除数字签名。

http://support.installshield.com/kb/view.asp?articleid=Q113245

(作为免责声明,我是付费从事该产品工作的。我仍然建议使用 InstallShield 版本,它提供了选择 list 的选项。我相信这是 MSI setup.exe 的 InstallShield 12,以及后来的一些东西,例如InstallShield 2010 或 InstallShield 2011 用于 InstallScript setup.exe 和 MSI update.exe 文件。)

关于windows - 修改InstallShield X(版本10.5)的exe list ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22369585/

相关文章:

windows - 访问设备配置空间-win内核PCI设备

windows - 如何使 CreateFile 尽可能快

JavaScript 时钟现在显示在我的 chrome 扩展程序中

c# - 仅在使用 installshield 安装应用程序时执行代码

android - Xamarin 工具->Android 菜单在 Visual Studio 2015 中被禁用

windows - 使用 innosetup 在开始菜单中创建快捷方式

c++ - 将应用程序 list 添加到 Eclipse 中的 win32 应用程序

android - Gradle错误

powershell - Installshield - 使用 powershell 检查注册表中的 key 失败

.net - InstallShield 2012 - 使用 Microsoft Visual C++ 2012 Redistributable 部署应用程序?