Write the InstallLocation to fixed registry key (#13576)
This commit is contained in:
parent
cbb33138ce
commit
af6d9fbe14
|
@ -181,6 +181,7 @@
|
|||
The upgrade code is used in the key because it will change when we allow SxS -->
|
||||
<RegistryKey Root="HKLM" Key="Software\Microsoft\PowerShellCore\InstalledVersions\$(var.UpgradeCode)" ForceCreateOnInstall="yes" ForceDeleteOnUninstall="yes">
|
||||
<RegistryValue Type="string" Value="$(var.ProductSemanticVersion)" Name="SemanticVersion" KeyPath="yes"/>
|
||||
<RegistryValue Type="string" Value="[VersionFolder]" Name="InstallLocation" />
|
||||
</RegistryKey>
|
||||
</Component>
|
||||
<Component Id="SharedRegistryEntries">
|
||||
|
|
Loading…
Reference in a new issue