How to unregister then reregister file during install