cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
USchumacher
Level 3

Remove all files on upgrade does not work

Hi all,

the upgrade of my application does not work correctly. There are files of the prior version left in the program files folder.

Example:

SetupV1 contains Lib1.dll
SetupV2 contains Lib2.dll but not Lib1.dll anymore

If i install SetupV2 after SetupV1, BOTH files are in the program files folder. I expected that only Lib2.dll is in the program files folder because Lib1.dll should be deleted by the automatic uninstall.

Thanks in advance
Ulrich
Labels (1)
0 Kudos
(5) Replies
TsungH
Level 12

It may be obvious... are you doing Major Upgrade?
0 Kudos
USchumacher
Level 3

i've changed the Version from 1.x to 2.x
then i've changed the package code to a new guid
i did not changed the product code. is this necessary in my case?
0 Kudos
TsungH
Level 12

Yes, removal of a component requires a Major Upgrade. You will want to familiarize yourself with Changing the Product Code.
0 Kudos
USchumacher
Level 3

I've changed the product code, but the old dll is still in the program folder after installation of version 2.
0 Kudos
TsungH
Level 12

You will have to generate and inspect the verbose installation log to troubleshoot.
0 Kudos