MSI removes no files after upgrading MSI´s
Hello Guys,
i have a short question. =)
We have created a msi which upgrades 1 older msi on install over upgrade table.
this works fine but when i uninstall the new msi then all files will be leave in there folders. But when i remove the keypathes in the msi table then the files were removed.
Does anybody know whats the logic behind the keypaths or how we can solve the problem without removing all keypaths ?
thanks
bastian256
5 Comments
[ + ] Show comments
Answers (0)
Please log in to answer
Be the first to answer this question
Also, please edit the tags you have attached to this post. The following are irrelevant to it:
'Software Scripting' 'Supporting Windows', 'Best Practices', 'Windows Installer (MSI) Error Messages', 'Windows Installer Repackaging (MSI)'
http://msdn.microsoft.com/en-us/library/aa368007%28v=vs.85%29.aspx - anonymous_9363 9 years ago
http://msdn.microsoft.com/en-us/library/windows/desktop/aa370561%28v=vs.85%29.aspx
<q> " Never create two components that install a resource under the same name and target location. If a resource must be duplicated in multiple components, change its name or target location in each component. This rule should be applied across applications, products, product versions, and companies. " </q>
I've experienced this issue many times in my factory ;)
To solve it you may use the same Component codes in new MSI (depends on number of components may take many hours ;),
or do not use Upgrade table and remove old version in a separate msiexec /x command prior installation of the new one. - rad33k 9 years ago