File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -105,10 +105,17 @@ jobs:
105105
106106 [Run]
107107 Filename: "{app}\ServerRegistrationManager.exe"; Parameters: "install ""{app}\FunscriptPreviewHandler.dll"" -codebase"; Flags: runhidden
108- Filename: "{cmd}"; Parameters: "/c taskkill /im explorer.exe /f && start explorer.exe"; Flags: runhidden postinstall; Description: "Restart Explorer to apply changes"
108+ Filename: "{cmd}"; Parameters: "/c taskkill /im explorer.exe /f && timeout /t 2 && start explorer.exe"; Flags: runhidden postinstall; Description: "Restart Explorer to apply changes"
109109
110110 [UninstallRun]
111111 Filename: "{app}\ServerRegistrationManager.exe"; Parameters: "uninstall ""{app}\FunscriptPreviewHandler.dll"""; Flags: runhidden
112+ Filename: "{cmd}"; Parameters: "/c taskkill /im explorer.exe /f && timeout /t 2 && start explorer.exe"; Flags: runhidden
113+
114+ [UninstallDelete]
115+ Type: files; Name: "{app}\FunscriptPreviewHandler.dll"; DelayIfExists: true
116+ Type: files; Name: "{app}\Newtonsoft.Json.dll"; DelayIfExists: true
117+ Type: files; Name: "{app}\SharpShell.dll"; DelayIfExists: true
118+ Type: dirifempty; Name: "{app}"
112119 "@
113120
114121 Set-Content -Path "installer.iss" -Value $innoScript
@@ -130,6 +137,5 @@ jobs:
130137 bin/Release/FunscriptPreviewHandler.dll
131138 bin/Release/Newtonsoft.Json.dll
132139 bin/Release/SharpShell.dll
133- bin/Release/ServerRegistrationManager.exe
134140 Output/FunscriptPreviewHandler-Setup.exe
135141 draft : true
You can’t perform that action at this time.
0 commit comments