Now I thought/hoped this would be trivial but no.

For various reasons we need to create an installer that 
1) copies the original file to a well defined location
2) updates the original file with a newer version

On Uninstall we need to
1) Remove the patched version
2) Copy the original file back from the old location
3) Delete the directory that was created to hold the original file

I am looking for the best approach, sorry if this is obvious but I do not
have much time to figure this out.

If somebody has some pointers or self documenting sample that would be
greatly appreciated.

Right now we tried using a custom action to place the file back after
RemoveFiles or before InstallFinalize both with no result, the custom
actions work but the file is still removed

Thanks a ton,
Take Surveys. Earn Cash. Influence the Future of IT
Join's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
WiX-users mailing list

Reply via email to