MSI设置安装和卸载问题 [英] MSI setup installation and uninstallation issues

查看:304
本文介绍了MSI设置安装和卸载问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个MSI安装程序,它有我的自定义安装程序项目输出,我在安装时添加了一个exe文件来运行。



所以我的MSI安装文件将复制或从源位置删除文件,我的自定义GUI将安装我的窗口服务器调用一些服务器api'并更新其登录凭据等东西。



复制和删除是文件由MSI控制,因为它作为MSI项目的输出添加。如果我正在安装它将复制文件或如果我卸载它将删除文件。



现在我有以下问题 -



1)现在,如果我将转到控制面板并尝试卸载我的应用程序,稍后如果我中止它,我的GUI将中止,但MSI将清除所有文件。



2)如果我将从GUI选择卸载,请选择修复。它仍然会删除文件。



所以我的安装程序不是真正的自定义安装程序,它只是同名的。



现在我如何快速修复以上两个选项?是否有更好的方法来完成这项任务 - >我的原始问题创建自定义安装程序的单击msi文件应用程序 [ ^ ]?



提前致谢

I have an MSI installer, which have my custom installer project output and I added an exe file to run while installation.

So my MSI setup file will copy or remove files from source location and my custom GUI will install my window server call some server api''s and updated its logon credentials etc stuff.

Copying and removing is of files is controlled by MSI on its action as its added as output for MSI project. If I am installing its will copy files or if I uninstall it will remove files.

Now I have below problems -

1) Now if I will go to control panel and try to uninstall my application and later from GUI if I abort it, my GUI will abort but MSI will clear all files.

2) If I will select uninstall and further from GUI, select repair. It will still remove files.

So my installer is not real custom installer, its just namesake one.

Now how can I quick fix above two options? And is there any better approach to do this task - > my original question create single click msi file of custom installer of an application[^] ?

Thanks in advance

推荐答案

您可以尝试使用Visual Studio 2010附带的Install Shield限制版创建自定义安装程序...



欢呼,

Marco Alessandro Bertschi
You can try to create a custom Installer by using the Install Shield Limited Edition which comes with Visual Studio 2010...

cheers,
Marco Alessandro Bertschi


这篇关于MSI设置安装和卸载问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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