activescott/lessmsi

allow unpack msi if some cab are missing

Open

#175 建立於 2022年5月29日

在 GitHub 查看
 (3 留言) (0 反應) (0 負責人)C# (189 fork)auto 404
enhancementgood first issuehelp wanted

倉庫指標

Star
 (1,746 star)
PR 合併指標
 (PR 指標待抓取)

描述

--- 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);
 							}

貢獻者指南