[Remoting Windows installer] Set REINSTALL and REINSTALLMODE properties for reinstallation

We saw a few users having problem starting the host because the host service
has been removed while the native messaging host is still there. On other
platforms this can be fixed by reinstalling the host, but rerunning the MSI on
Windows does nothing unless it's an upgrade.

This CL adds the REINSTALL and REINSTALLMODE properties to the installer if the
user tries to rerun the MSI, so that the installer will forcibly reinstall all
files and services.

Bug: 911814
Change-Id: Ic25f3d54f2ff34ea61e7aeb7f9fa92b6255cc423
Reviewed-on: https://chromium-review.googlesource.com/c/1363900
Commit-Queue: Yuwei Huang <yuweih@chromium.org>
Reviewed-by: Joe Downing <joedow@chromium.org>
Cr-Commit-Position: refs/heads/master@{#616838}
1 file changed