Open alexchandel opened 4 weeks ago
I find Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{6E17823E-7849-1014-9A51-F359819898C5}
value name InstallLocation
has the install location for 5.40, but not sure if that GUID is guaranteed preserved across versions.
https://github.com/StrawberryPerl/Perl-Dist-Strawberry/blob/master/lib/Perl/Dist/Strawberry/Step/OutputMSI.pm looks like a good place to start.
Also the files under https://github.com/StrawberryPerl/Perl-Dist-Strawberry/tree/master/share/msi
The MSI installer seems to refuse to upgrade older Perl installations, so it must know the installed version. I need to detect the installed location (and version) from the Windows registry (as it may not be installed in
C:\Strawberry
). Where can that be done?