We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f73e0e commit be8fabeCopy full SHA for be8fabe
eFormAPI/Installation/CustomActions/CustomAction.cs
@@ -317,8 +317,18 @@ public static ActionResult UpdateCA(Session session)
317
RunProcess(@"C:\Program Files\nodejs\node.exe", "svc.js uninstall", uiIisDir);
318
IncrementProgressBar(session);
319
320
- DeleteDirectory(Path.Combine(uiIisDir, "node_modules"));
321
- DeleteDirectory(Path.Combine(uiIisDir, "dist"));
+ try
+ {
322
+ DeleteDirectory(Path.Combine(uiIisDir, "node_modules"));
323
+ } catch { }
324
325
326
+ DeleteDirectory(Path.Combine(uiIisDir, "dist"));
327
328
329
330
+ DeleteDirectory(Path.Combine(uiIisDir, "src"));
331
332
333
session.Log("Set proper names to folders");
334
0 commit comments