English 中文(简体)
“Msiexec REINSTALL=ALL REINSTALLMODE=vamus”不是清理旧条目。
原标题:"Msiexec REINSTALL=ALL REINSTALLMODE=vamus" is not cleaning old entries

I created an installer "test.msi" . It is version-1. test.msi contains 2 components "comp1", "comp2" comp1 contains 2 files "comp1_file1", "comp1_file2"

In version 2 of test.msi , --> a new component added "comp3". It contains 1 file "comp3_file1" --> "comp1" component is updated. "comp1_file2" file removed and new file "comp1_file3" added Now it contains 2 files (comp1_file1, comp1_file3)

if i upgrade test.msi from version-1 to version-2 using "msiexec /i test.msi REINSTALL=ALL REINSTALLMODE=vamus", in installation folder still i can see version-1 file "comp1_file2".

如果使用“msiexec /i test.msi REINSTALL=ALL REINSTALLMODE=vamus”的安装箱式2号相关档案(comp3_file1, comp1_file3)。

How to remove old entries(components/files) at reinstall time?

i 正在使用2008年首版。

最佳回答

过境部分是前进的道路。 http://msdn.microsoft.com/en-us/library/a372462%28v=vs.85%29.aspx”rel=“nofollow”

为了对Chris所说的话采取后续行动,与重新进入会做一些新事情。 如果你重新纳入任何共同的组成部分,情况尤其如此。 你们可以支持其他申请所依赖的级别部分,而且你可以发现,根据正在使用的共同部分的档案,突然停止似乎无关的申请。 如果你可能的话,那确实是好的。

问题回答

As Cosmin建议,在修理期间,你不能拆除部件,但在开始安装新版本之前,你可以打破以前的版本。

One way to go with InstallShiled 2008 is to create a major upgrade that will do this. Video Tutorial.

<><>Edit>/strong>

As Christopher said: There are ways to remove components in minor upgrades / repairs. Comment below.





相关问题
Why running a service as Local System is bad on windows?

I am trying to find out the difference between difference service account types. I tumbled upon this question. The answer was because it has powerful access to local resources, and Network Service ...

Programmatically detect Windows cluster configuration?

Does anyone know how to programatically detect that a Windows server is part of a cluster? Further, is it possible to detect that the server is the active or passive node? [Edit] And detect it from ...

get file icon for Outlook appointment (.msg)

I ve read Get File Icon used by Shell and the other similar posts - and already use SHFileInfo to get the associated icon for any given extension, and that works great. However, Outlook uses ".msg" ...

Identifying idle state on a windows machine

I know about the GetLastInputInfo method but that would only give me the duration since last user input - keyboard or mouse. If a user input was last received 10 minutes ago, that wouldn t mean the ...

Terminating a thread gracefully not using TerminateThread()

My application creates a thread and that runs in the background all the time. I can only terminate the thread manually, not from within the thread callback function. At the moment I am using ...

热门标签