English 中文(简体)
InstallShield去除原先安装在uninstall的、使用RemoveFile的档案
原标题:InstallShield remove file not originally installed on uninstall using RemoveFile

首先,我知道在SO问题上存在类似问题,但我尚未看到任何适合我问题的答案。

InstallShield 2009年安装了我的节目,我的节目制作了一个内部档案。 当方案无动于衷时,它就离开了内心(因为最初安装时是 t)。 我试图在直接编辑中使用RemoveFile。 我给了它财产,这是正确的安装方式,但我不知道“责任”是什么,或我应该做些什么。 我通过每一件InstallShield帮助档案进行在线调查,但所有描述“同舟共济”的内容都极其模糊。 变幻灯塔扔下了与移除器有关的错误或警告,但档案在我管理新不停时继续停留。 几天来,我一直在努力解决这一问题,并试图在RemoveFile进行各种事情。

简单...... 我只想删除位于安装可起诉装置的安装名录内的一台内装。 实现这一目标的最容易途径是什么,“责任”是什么?

最佳回答

该构成部分由Windows Installer负责检测是否完全处理“搬离式”指示。 我引用了这一术语,因为实际上没有这样的术语,它只是为了便于解释。

因此,如果该部件预定安装(包含在安装的特征中,真实状况决定),而InstallMode是“在安装或安装时搬走”,Windows Installer将设法找到你在Dirproperty的FilName中具体说明的档案,并试图将其拆除。

如果该构成部分被安排去除,而InstallMode则“完全放弃或两者兼而行”,同样的逻辑将毫无结果。

如果部件不安装/封存(例如,另一个特征正在安装或条件不准确),Windows Installer将忽略“搬走文件指示”。

Hope this makes more sense now.

问题回答

暂无回答




相关问题
Correct place to install demostration projects?

With the new Windows 7 restrictions (well, new to Windows Vista anyways), we can no longer install demo projects to %ProgramFilesFolder%OurApplicationdemo since restricted users will not be able to ...

msi install program as startup

is it possible to install a program as a start up program using MSI installer?

Web Setup Project - Repair to overwrite files

I have a web setup project that creates an MSI. After first installation, my web site has some config files that can be modify manually. When triggering that MSI again, I am offered to repair the ...

Visual Studio Setup Projects: Cleartype

I use a Visual Studio Setup project to create an installer for some assemblies. However, the fonts the installer uses are always aliased, and don t appear to be the Windows standard. (source: ...

Implementing Update functionality

I want to implement the Update functionality for one of my .NET application. I saw that the Advanced Installer contains this functionality. Anybody recommends Advanced Installer for updating my ...

VS 2005 Setup - HKCU

I am trying to fix an existing application that uses a Visual Studio 2005 setup project. We are requiring it to work on limited user accounts for XP, our app is written in C# for .Net 2.0. It writes ...

热门标签