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

贡献者指南