wise installation 9.02 中如何实现"软件已经从您电脑中成功卸载"对话框?

adords 2008-11-20 03:49:34
我用wise installation 9.02 制作安装包时遇到以下问题不知道如何解决:

问题1:
用wise制作的安装程序,在用户想卸载软件的时候,卸载成功后没有任何提示,如何在卸载过程最后加入一个"xxx程序已经从您的电脑中成功卸载"的提示对话框呢?

问题2:
如何在卸载过程的最后由wise脚本调用ie打开一个意见反馈web页面,以便搜集用户的意见和卸载原因.

问题3:
wise 中没有提供在桌面任务栏左下脚的快速启动栏中添加软件图标的功能,如何实现该功能呢?

望高手指教.
...全文
287 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
vansoft 2009-02-03
  • 打赏
  • 举报
回复
如果我能实现,HOW MUCH?
adords 2009-01-19
  • 打赏
  • 举报
回复
在安装时加入消息框非常容易,而在卸载时加入消息框,并没有各位想象的那么容易,我查阅了wise 的管方文档,里边只提到了在卸载时加入的几种非常有限的操作的方法,原文如下:
---------------------------------------------------------------
You can also specify uninstaller actions by clicking the Add button on the Uninstall page in Installation Expert.

You can also add a line to the Install.log that executes a program during uninstall. If you execute a program during uninstall, the uninstaller pauses until the program finishes execution. To execute a program during uninstall, in the Add Text to Install.log dialog box, enter the following line, but customize the program's pathname as necessary, and add any command line options. Enter it exactly as shown because it is case-sensitive:

Execute path: %MAINDIR%\Remove.exe

If you want the uninstaller to remove not only those files that were installed, but also files that were subsequently added by your application, you can remove all the files and sub-directories within a specified directory. Use this option with caution because users might have stored their own files in the directory. To do this, in the Add Text to Install.log dialog box, enter the following line, but customize the pathname as necessary, including the wildcard information. Enter it exactly as shown because it is case-sensitive:

File Tree: %MAINDIR%\Data\Temp\*.*

If you want the uninstaller to remove not only the registry keys that were created during installation, but also those registry keys that were subsequently added by your application, you can remove an entire registry key, including all the sub-keys and values that exist below that key. To do this, in the Add Text to Install.log dialog box, enter the following line, but customize the registry information as necessary. Enter it exactly as shown because it is case-sensitive:

RegDB TREE: SOFTWARE\Wise Solutions
RegDB Root: 2

where the RegDB Root value is one of the following:

0 - HKEY_CLASSES_ROOT
1 - HKEY_CURRENT_USER
2 - HKEY_LOCAL_MACHINE
3 - HKEY_USERS

------------------------------------------------------------

上文并没有提到加入消息框脚本应如何写,
而且我请各位特别注意!!!!如果您试图用以上功能脚本中提到的类似Execute path: %MAINDIR%\Remove.exe的脚本来打开一个您自己编写的exe文件,以便显示一个"您已经成功卸载本程序"的对话框,这并不可行!!!因为按照wise官方的说法,任何exe文件将在wise卸载脚本的最开始执行(无论您将脚本放到了安装日志的前或后或中间什么位置),优先于其他卸载操作,这样你如果在卸载过程的一开始显示了"您已经成功卸载本程序"的对话框,而事实上真正的卸载操作还没正式开始呢,用户按了确定按钮之后,卸载过程却在接下来的真正的操作中遇到了意外错误,而导致卸载失败,那不是很滑稽的事情吗?

我想应该模仿安装脚本中信息框显示的方法来构造卸载脚本,如下:

add "Display Message " to INSTALL.LOG

add "Display Message 标题 提示内容 " to INSTALL.LOG

但不幸的是,它们都无法正常运行, 我用google 和 baidu 进行了大量搜索,但仍然无法找到有效的资料来解决这个问题,

有哪位高手真正实现(而不是口头估计)了这个看似简单,但实际并不容易实现的功能?

vansoft 2009-01-08
  • 打赏
  • 举报
回复
脚本里有一个弹出对话框的函数.

你要只要在适当的地方弹出来就行了

就是在完成窗体前面显示前面.
adords 2008-11-24
  • 打赏
  • 举报
回复
我已经用脚本实现了在安装过程中显示一个对话框,但是,关键是无法实现在卸载完成时,显示"卸载成功"提示框
,wise 有个在卸载是删除文件或注册表键的功能,但无法实现在卸载完成时显示"卸载成功",谁知道具体怎么实
现啊.
junki 2008-11-23
  • 打赏
  • 举报
回复
你这些功能要写脚本了,来控制安装流程

1,065

社区成员

发帖
与我相关
我的任务
社区描述
VB 资源
社区管理员
  • 资源
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧