/build/static/layout/Breadcrumb_cap_w.png

Upgrade not copying all files

Hi,

I have a basic MSI project. If I install fresh (first time), then all the files, dlls I packaged are going to Program Files folder properly. But, when I upgrade the MSI from one version to another, only one file (dll) is not copied on to the Program Files folder. Other files are replaced properly.

Due to this issue, when the application is used for the first time, "self-healing" occurs which I want to avoid.

How to make the upgrade copy all the files at first time?

Thanks,
AT

0 Comments   [ + ] Show comments

Answers (3)

Posted by: jinxngoblins 14 years ago
Senior Yellow Belt
0
Are you manually able to delete the DLL file? Probably the dll is being shared by some program. Hence the upgradation to the newer version is unable to replace the file. Try using a custom action to unregister the DLL. To silently unregister u can use the command regsvr32 /u /s "<path_to_dll>". Then proceed to install the new files
Posted by: anonymous_9363 14 years ago
Red Belt
0
Nonsense...How will unregistering the file change its shared status?!? And why would the fact that it's shared prevent it being upgraded?

In all likelihood, the target file has a higher version than the one in the MSI. As usual, a verbose log of the upgrade will tell you exactly what's going on.
Posted by: athirukk 14 years ago
Senior Yellow Belt
0
You are right. The file in question had lower ver # while Upgrade. I chose "Always Overwrite" option in IS to get rid of this issue temporarliy.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ