如何在installshield 2012中从控制面板卸载应用程序期间运行vbscript? [英] how to run vbscript during uninstall application from control panel in installshield 2012?

查看:202
本文介绍了如何在installshield 2012中从控制面板卸载应用程序期间运行vbscript?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我使用Install Shield 2012创建了MSI基本项目,vbscript在安装过程中正常运行,但在从控制面板添加/删除程序的卸载过程中无效。



我不确定在卸载过程中设置顺序和条件。



请帮帮我这个问题。



先谢谢。

Hi,

I have created MSI basic project using Install Shield 2012 and vbscript is running fine during installation but not working during uninstall from control panel add/remove programs.

I am not sure about setting Sequence and conditions during uninstall.

Please help me out for this issue.

Thanks in Advance.

推荐答案

在标签行为和逻辑 - > 自定义操作和序列



操作 ----

VBScript文件名 - 选择script_path

脚本函数 - function_name

脚本执行 - 立即执行

执行计划 - 始终执行



序列 ----

安装执行顺序 - InstallValidate之后

条件 - 删除=全部





我已经使用Install Shield 2012专业版检查了Windows 7。



谢谢,
In the tab Behavior and Logic - > Custom Actions and Sequences

Action ----
VBScript File Name - select script_path
Script Function - function_name
In-script Execution - Immediate Execution
Execution Scheduling - Always execute

Sequence ----
Install Exec Sequence - After InstallValidate
Condition - REMOVE="ALL"


I have checked with Windows 7 with Install Shield 2012 professional.

Thanks,


这篇关于如何在installshield 2012中从控制面板卸载应用程序期间运行vbscript?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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