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

Comments

Please log in to comment

Answers

1

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

Answered 05/02/2012 by: pjgeutjens
Red Belt

Please log in to comment
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?

Answered 05/02/2012 by: GAKIS
Second Degree Green Belt

Please log in to comment
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.

Answered 05/03/2012 by: andys0123
Orange Belt

Please log in to comment
1

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

Answered 05/03/2012 by: piyushnasa
Red Belt

  • not to mention the fact that for this type of upgrade, the component and feature structure should match between the different versions
Please log in to comment
Answer this question or Comment on this question for clarity