Skip to content

Commit b01c88c

Browse files
Amtrtmclaude
andcommitted
Fix MSI launch condition to work on reinstall/maintenance mode
Changed from 'NOT Installed OR REINSTALL' to 'NOT REMOVE~="ALL"' so the app launches after any install scenario except uninstall. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent c65da67 commit b01c88c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/build-msi.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ const wxs = `<?xml version="1.0" encoding="UTF-8"?>
183183
<SetProperty Id="WscriptPath" Value="[SystemFolder]wscript.exe" After="CostFinalize" Sequence="execute" />
184184
<CustomAction Id="LaunchApp" Property="WscriptPath" ExeCommand="&quot;[INSTALLFOLDER]RedAlert.vbs&quot;" Return="asyncNoWait" />
185185
<InstallExecuteSequence>
186-
<Custom Action="LaunchApp" After="InstallFinalize">NOT Installed OR REINSTALL</Custom>
186+
<Custom Action="LaunchApp" After="InstallFinalize">NOT REMOVE~="ALL"</Custom>
187187
</InstallExecuteSequence>
188188
189189
</Product>

0 commit comments

Comments
 (0)