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
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)
Please log in to answer
Posted by:
jinxngoblins
14 years ago
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
Posted by:
athirukk
14 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.