问题标签 [installaware]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
0 回答
208 浏览

delphi - IntallAware 2012 RAD 错误无法创建文件

我使用 InstallAware 2012 RAD studio edition 创建了一个项目。它为部署 Delphi 7 应用程序创建单个 exe 文件。我第一次创建项目时,安装程​​序运行良好并安装了所需的应用程序和目录。但是,现在在创建新版本的 Delphi 程序并重建 InstallAware 项目后,每当我尝试运行安装程序时,都会弹出一个对话框,并显示错误消息“无法创建文件”。然后安装中止。关于在哪里查找错误的任何提示或建议?

0 投票
2 回答
449 浏览

windows-installer - MSI 引擎无法启动

我们有一个使用InstallAware创建的 MSI 安装程序。出于某种神秘原因,使用相同构建过程生成的一些 MSI 文件在一台特定机器上失败。MSI 引擎无法启动,我什至没有看到创建的日志。结果我无法解决这个问题。如果类似的东西阻止了进程,我尝试禁用防病毒防火墙。这仅在某些构建中随机发生。这些构建可以在其他机器上顺利运行。

有没有人知道如何解决这个问题?

0 投票
1 回答
990 浏览

winforms - 使用非管理员用户运行应用程序更新

我正在使用 Windows 安装程序包将 winforms 应用程序分发给多个客户端,并且由于其中一些客户端更改了其安全策略,我需要找出一种方法来为没有管理权限的用户运行应用程序更新(通过安装程序)。

在下面找到有关更新过程的一些信息: - 安装程序是使用 InstallAware 创建的 - 在更新过程中,旧版本被卸载并安装新版本。- 安装程序需要管理员权限,因为它会写入注册表并安装一些 Windows 服务。- 应用程序安装在程序文件文件夹中。

目前,我正在实施的解决方案是创建一个新的调度程序任务,它运行一个简单的控制台应用程序来检查新更新,如果存在新版本,它会下载安装程序并以静默模式执行(整个安装将执行静默,无需用户界面或任何用户干预。将使用对话框控件的默认值)。

关于此解决方案的一些注意事项: - 在更新过程中很难处理可能出现的错误。- 无法提醒用户更新进程正在运行(因为调度程序任务与不同的用户一起运行,无法与登录的用户交互)。

有没有人实现过类似的东西?这是实现我的目标的最佳方式吗?

0 投票
1 回答
676 浏览

c# - 从 installaware 安装 windows 服务

我使用 C# 创建了一个 Windows 服务

我可以使用 UnstallUtil.exe 手动安装它

我想用 installAware 创建一个安装程序。您能否帮助我将安装程序设置为自动安装服务?(我看到高级选项中有一个服务选项卡,但我无法让它工作)

提前致谢

0 投票
2 回答
109 浏览

windows-installer - 有没有办法在新更新失败时静默回滚安装?

有没有办法在新更新失败时静默回滚安装(使用 installaware 或独立于 installaware)。我希望安装程序运行,并且只有在所有内容都正确安装(并且如果可能的话正常运行)的情况下,旧版本才会被删除。

0 投票
1 回答
1097 浏览

delphi - 为 InstallAware 打开应用程序的卸载向导

我的应用程序将安装另一个应用程序。这很容易通过在我的程序中使用 ShellAPI 运行该应用程序的 setup.exe 来完成。

但是,如果这个外部应用程序已经存在,我想先卸载它。我可以自己打开控制面板,找到应用程序,然后有一些用于“卸载”或“修复”的菜单选项。单击任一将打开此应用程序的 InstallAware 向导。

我可以从我的应用程序中启动此向导吗?用户仍然需要单击并确认所有内容,但我正在尝试合并卸载和重新安装此外部应用程序的全新/较新版本所需的步骤。我找不到要运行的uninstall.exe 之类的东西。从控制面板链接执行什么来卸载应用程序?

0 投票
2 回答
415 浏览

windows-installer - 错误:无法编译 msi 操作安装程序集

我在 Visual Studio 2013 中有项目。当我使用 构建安装程序时 InstallAware X3,它向我显示此错误:

无法编译 msi 操作安装程序集。

请有人帮助我。

0 投票
3 回答
1828 浏览

c# - Application icon is blank when started from Process.Start

The application icon is missing from the taskbar. It's just a blank square!

The above code works fine for several projects however fails with one specific program - lets call it projectX.exe. I have re-written the Main as well as startup methods of projectX.exe so that they mimic another project that displays its icon fine.

I have tried for days to discover why but have failed dismally. I have tried various ideas including changing the icon, changing it at runtime, as well as toggling whether it should be displayed or not.

If I require that projectX.exe be run as administrator, the icon displays fine but that option is not available to my clients.

Edit 20 Oct 2017 If I change the name of 'projectX.exe' to something else for example 'test.exe', then the icon shows OK in the taskbar. Where are the icons for a program stored in the registry?

Edit 22nd October 2017 After refreshing the icons as suggested, when running the program from File Explorer or creating a shortcut, the icon is no longer displayed in the taskbar.

Edit 12th November 2017 Running the program 'As Administrator', the icon displays in the taskbar as expected.

0 投票
2 回答
1570 浏览

web-services - 使用 InstallAware 部署 Web 服务

我已经创建了 WCF Web 服务并使用 InstallAware 创建了设置,这样我们的客户只需运行设置,它将在 IIS 中部署 Web 服务。我的设置在 IIS 的“默认网站”下创建虚拟目录。一切正常,我的设置在“默认网站”下创建虚拟目录并指向正确的路径,但只有在设置完成之前它才会出错。以下是在 IIS 中创建虚拟目录的代码。

调试 MSI 代码后,我发现执行以下行时出现错误

它给出以下错误

在此处输入图像描述

0 投票
1 回答
3804 浏览

windows - 使用 C# Winforms 而不是 Installer 工具创建 Windows 安装程序

我以前使用过 InstallAware 和 InstallShield,它们很难使用,当出现问题时,很难找到并解决问题。

我的问题是为什么我们不能使用使用 C# 编写的 Windows 应用程序来执行此操作。我知道 .Net 框架可能没有安装在目标计算机上,所以我想知道为什么没有人使用过这种架构:我将使用 IntallSiheld(或任何其他类似工具)创建一个简单的安装程序来安装 .Net 框架和之后它提取并运行我自己的 Windows 应用程序,该应用程序是我在提升模式下使用 C# 编写的。我的应用程序将运行一个带有“后退”和“下一步”按钮的向导,我将处理其中的所有事情(复制文件、创建和启动 Windows 服务、添加注册表值、创建防火墙扩展等) 有没有人这样做过,有什么吗?阻止人们这样做?