Mikolaj Zalewski : msi: Make the WriteEnvironmentStrings handling of [~] a bit better.