activescott/lessmsi

allow unpack msi if some cab are missing

Open

#175 aberto em 29 de mai. de 2022

Ver no GitHub
 (3 comments) (0 reactions) (0 assignees)C# (189 forks)auto 404
enhancementgood first issuehelp wanted

Métricas do repositório

Stars
 (1.746 stars)
Métricas de merge de PR
 (Métricas PR pendentes)

Description

--- a/src/LessMsi.Core/Msi/Wixtracts.cs
+++ b/src/LessMsi.Core/Msi/Wixtracts.cs
@@ -504,7 +504,7 @@ namespace LessMsi.Msi
 								Path originalCabFile = Path.Combine(msi.Parent, cabSourceName);
                                 if (!originalCabFile.Exists)
                                 {
-                                    throw ExternalCabNotFoundException.CreateFromCabPath(cabSourceName, msi.Parent.FullPathString);
+                                    continue; //throw ExternalCabNotFoundException.CreateFromCabPath(cabSourceName, msi.Parent.FullPathString);
                                 }
 								FileSystem.Copy(originalCabFile, localCabFile);
 							}

Guia do colaborador