更改* .msi设置文件位置或将其删除后,无法取消安装应用 [英] Cannot unistall app after changing *.msi setup file location or removing it

查看:169
本文介绍了更改* .msi设置文件位置或将其删除后,无法取消安装应用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经创建了注册COM对象的部署过程.输出文件是setup.msi文件.安装后,我将文件移到其他目录.在释放应用程序时,我收到错误消息您尝试使用的功能位于不可用的网络资源上",因此我必须指向放置setup.msi的目录,以继续进行卸载过程.有没有解决此问题的方法?

我正在此项目中使用自定义操作.
我以为用户可以在安装后删除msi文件.

I have created deployment procejct which registers COM object. The output file is a setup.msi file. After installation I moved file into other directory. While unistalling app I recived error "the feature you are trying to use is on a network resource that is unavailable" so I must point directory where setup.msi is placed to continue uninstall process. Is there any walkaround of this issue?

I am using Custom Actions in this projects.
I thought that user can remove msi file after installation.

推荐答案

此错误是由于将.msi文件移动到其他目录引起的.
创建任何部署项目时,它将在debuge文件夹中创建两个文件
1:.msi
2:.exe
.exe是主要的安装文件.因为您可以通过运行.exe文件来安装/部署应用程序.
如果要移动安装文件,请确保同时移动.exe和.msi文件.然后安装程序将正常运行.

注意:您可以通过运行.Exe文件来部署不带.msi的应用程序.
This error comes because you moved .msi file into other directory.
When you create any deployment project it will create two files in debuge folder
1 : .msi
2 : .exe
.Exe is the main setup file.because you can install/deploy application by running .exe file.
If you want to move Setup files please ensure that you are moving both .exe and .msi file.Then setup will work properly.

Note : You can deploy application without .msi by running .Exe file.


这篇关于更改* .msi设置文件位置或将其删除后,无法取消安装应用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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