InstrallShield Major Upgrade无法完全卸载以前的版本 [英] InstrallShield Major Upgrade not completely uninstalling previous version

查看:85
本文介绍了InstrallShield Major Upgrade无法完全卸载以前的版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个InstallShield 2016 InstallScript MSI项目.

I have an InstallShield 2016 InstallScript MSI project.

我使用了主要升级"选项,但是通过这种方法,我看到的是删除了先前版本的文件,删除了注册表项,等等.但是,InstallScript(* .rul)文件中的卸载逻辑却没有似乎已执行,因此以前版本的卸载未完成.

I used the Major Upgrade option but with that approach what I see is that files of previous version gets removed, registry entries get deleted, etc. However, the uninstallation logic that is in the InstallScript (*.rul) files does not seem to get executed and hence the uninstall of previous version is not complete.

基本上,似乎重大升级"不执行InstallScript代码吗?请告知.

Basically, it seems Major Upgrade does not execute InstallScript code? Please advise.

谢谢

推荐答案

很多年前,由于存在以下错误,我不得不将 Installscript MSI 项目转换为 Basic MSI 导致安装脚本自定义操作执行的所有更改在重大升级时被回滚.那个虫子还能在那里吗?

Many years ago I had to convert an Installscript MSI project to Basic MSI because of a bug that caused all changes performed by Installscript custom actions to be rolled back on major upgrade. Could that bug still be in there?

我不知道.如果您是我,我会立即将安装程序转换为基本MSI,以避免非常麻烦的Installscript MSI安装程序类型.

I do not know. If I were you, I would immediately convert my setup to Basic MSI to avoid the very problematic Installscript MSI setup type.

要转换项目,可以创建一个新的 Basic MSI 项目文件,将其关闭,打开Installscript MSI项目文件,然后通过右键单击组件(在组件视图中)导出所有组件.并转到导出到..."(或类似名称),然后浏览到新的Basic MSI项目文件.以这种方式,您可以迁移所有组件,但是据我所知,自定义操作和对话框的更改必须自己迁移.

To convert the project, you can create a new Basic MSI project file, close it, open the Installscript MSI project file and then export all components by right clicking the components (in the component view) and go "Export Into..." (or something like that) and then browse to your new Basic MSI project file. This way you can migrate all components, but the custom actions and dialog changes you have to migrate yourself - as far as I know.

我会联系Installshield支持并寻求他们的帮助.谁知道,也许他们有工具可以帮助您进行这种转换.他们肯定会为您遇到的问题提供更多信息.但是,我仍然会以2美分的价格转换为Basic MSI.这是使用正确的格式.对于企业部署,Installscript MSI在公司中并不受欢迎.

I would contact Installshield support and ask for their help. Who knows, maybe they have tools to help you with such a conversion. They will certainly have more information on the problem you are experiencing. However, my 2 cents still stand on converting to Basic MSI. It is the right format to use. Installscript MSI is not popular with corporations for corporate deployment.

这篇关于InstrallShield Major Upgrade无法完全卸载以前的版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆