Hello.

After upgrading from 1.13.1 to 1.14.0, there is no TortoiseSVN context menu 
for
files and the following errors occur:

[[[
TortoiseProc.exe - System Error
The code execution cannot proceed because libapr_tsvn.dll was not found.
Reinstalling the program may fix this problem.
]]]

[[[
TortoiseProc.exe - System Error
The code execution cannot proceed because libaprutil_tsvn.dll was not found.
Reinstalling the program may fix this problem.
]]]

As far as I understand, the Windows Installer cannot properly install these 
apr
dlls, because they were downgraded in 1.14.0.

If I'm not mistaken, there is no easy way to use RemoveExistingProducts [1] 
to
fix this problem, because it's already used in TortoiseSVNOverlays merge 
module
that will lead to a duplicate id error. So, as a solution, I suggest 
explicitly
setting REINSTALLMODE [2] property to 'dmus' value.

I've attached a patch.

[1] 
https://docs.microsoft.com/en-us/windows/win32/msi/removeexistingproducts-action
[2] https://docs.microsoft.com/en-us/windows/win32/msi/reinstallmode

Thanks and regards,
Denis Kovalchuk

-- 
You received this message because you are subscribed to the Google Groups 
"TortoiseSVN-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tortoisesvn-dev/6a0e9a39-a32e-4184-8e3d-3591445db824%40googlegroups.com.
Index: src/TortoiseSVNSetup/TortoiseSVN.wxs
===================================================================
--- src/TortoiseSVNSetup/TortoiseSVN.wxs        (revision 28891)
+++ src/TortoiseSVNSetup/TortoiseSVN.wxs        (working copy)
@@ -89,6 +89,9 @@
             <RegistrySearch Key="SOFTWARE\[Manufacturer]" Root="HKLM" 
Type="raw" Id="LANGUAGEFOLDER_REGSEARCH" Name="LanguageFolderPath" 
Win64="$(var.Win64YesNo)"/>
         </Property>
 
+        <!-- Specify the REINSTALLMODE property to allow proper installation 
of downgraded components. -->
+        <Property Id="REINSTALLMODE" Value="dmus" />
+
         <DirectoryRef Id="TARGETDIR"/>
 
         <FeatureRef Id="DefaultFeature" />
  • [PATCH] F... Denis Kovalchuk via TortoiseSVN-dev
    • Re: ... Stefan via TortoiseSVN-dev
      • ... Danil Shopyrin via TortoiseSVN-dev
        • ... tortoisesvn-dev+APn2wQdDF-RdbvfHy6na5-0lq96rEFnvddK1vGPO4sQIFoVf

Reply via email to