【问题标题】:Windows service fails to install for minor to major upgrade on Windows 8 in installshieldWindows 服务无法在 installshield 中安装 Windows 8 上的次要到主要升级
【发布时间】:2015-09-08 10:31:48
【问题描述】:

我有一个小型升级类型的安装程序。 (比如说 MyAppMinor_v.msi)

我构建了另一个重大升级类型的相同应用程序的安装程序(比如 MyAppMajor_v+1.msi)。

这两个都是使用 InstallShield 2014 构建的。

MyApp 有一个在后台运行的 Windows 系统服务 (MyService.exe)。 此外,MyApp 具有从 App UI 更新自身的功能;其中应用程序使用以下命令进行自我更新:

msiexec.exe /i MyAppMajor_v+1.msi

此命令从 MyAppMinor 版本的 MyService.exe 运行。

更新过程完成后,未安装 MyAppMajor 版本的服务 MyService.exe。

它在安装程序日志中给出以下错误:

MSI (s) (FC:2C) [10:17:54:387]:产品:MyAppMajor -- 错误 1923.Service MyService 安装失败。验证您是否有足够的权限来安装系统服务。

我确实拥有目标机器上的管理员权限。

仅在 Windows 8/8.1 上观察到此行为。

在 Windows 7 上,我没有收到此错误,并且 MyService 在 MyAppMinor 到 MyAppMajor 升级时运行良好。

【问题讨论】:

    标签: windows-8 installshield major-upgrade


    【解决方案1】:

    你可能在盒子上有管理员,但听起来你只有一个标准用户令牌。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2016-10-11
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-12-28
      • 1970-01-01
      相关资源
      最近更新 更多