/build/static/layout/Breadcrumb_cap_w.png

MSI upgrade is not overwriting few files.

Hi all,

I am doing major upgrade of MSI. Upgrade is happening fine but few xml files are not getting overwritten. Those files are getting deleted. I tried to set the version for each file in file table. I also removed the component and files but still issue is not fixed.

Please help me to resolve this issue.

Thanks in advance.

Sanjay


0 Comments   [ + ] Show comments

Answers (4)

Posted by: pjgeutjens 11 years ago
Red Belt
1

Where in the sequence did you place the RemoveExistingProducts action? Try placing it right after InstallValidate

Posted by: GAKIS 11 years ago
Fourth Degree Green Belt
1

Does the new MSI uninstall the old one (which deletes the xml files) and then install the new one and are you sure the XML files are in the msi and dont get created after the application in launched?

Posted by: andys0123 11 years ago
Orange Senior Belt
1

I have previously had the issue of files not being present after an upgrade and this was fixed  by setting the sequence of RemoveExistingProducts to earlier in the InstallExecuteSequence table. As pjgeutjens suggests, placing it after ‘InstallValidate’ is a good idea, as this will mean that the checks have been made to ensure the MSI will be installed once the old version has been removed. Setting the sequence of RemoveExistingProducts to too low a value could cause the old version to be removed, and then the new version to fail installation checks and not install, leaving the user with no version at all.

Posted by: piyushnasa 11 years ago
Red Belt
1

You should sync the component GUIDs if you have Remove Existing products after install finalize.


Comments:
  • not to mention the fact that for this type of upgrade, the component and feature structure should match between the different versions - pjgeutjens 11 years ago
 
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