Skip to content

Commit

Permalink
[CBRD-24753] If the schedule is already registered in Install, hang o…
Browse files Browse the repository at this point in the history
…ccurs on windows installer. (#4274)

http://jira.cubrid.org/browse/CBRD-24753

- Add 'force' option when registering schedule for msi installer
- backport #4271
  • Loading branch information
hwany7seo authored Apr 10, 2023
1 parent 2a4fd1d commit 62dae17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/CPackWixPatch.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
</Component>
</DirectoryRef>
<!-- Create a schedule for autorun tray -->
<SetProperty Id="CreateScheduledTask" Before="CreateScheduledTask" Sequence="execute" Value="&quot;[SystemFolder]SCHTASKS.EXE&quot; /CREATE /SC ONLOGON /TN &quot;CUBRID Service Tray&quot; /TR &quot;[#CM_FP_Application.bin.CUBRID_Service_Tray.exe]&quot; /RU &quot;NT Authority\System&quot; /RP /RL HIGHEST"/>
<SetProperty Id="CreateScheduledTask" Before="CreateScheduledTask" Sequence="execute" Value="&quot;[SystemFolder]SCHTASKS.EXE&quot; /CREATE /SC ONLOGON /TN &quot;CUBRID Service Tray&quot; /TR &quot;[#CM_FP_Application.bin.CUBRID_Service_Tray.exe]&quot; /RU &quot;NT Authority\System&quot; /RP /RL HIGHEST /F"/>
<CustomAction Id="CreateScheduledTask" Return="check" Impersonate="no" Execute="deferred" BinaryKey="WixCA" DllEntry="WixQuietExec"/>
<SetProperty Id="DeleteScheduledTask" Before="DeleteScheduledTask" Sequence="execute" Value="&quot;[SystemFolder]SCHTASKS.EXE&quot; /DELETE /TN &quot;CUBRID Service Tray&quot; /F"/>
<CustomAction Id="DeleteScheduledTask" Return="ignore" Impersonate="no" Execute="deferred" BinaryKey="WixCA" DllEntry="WixQuietExec"/>
Expand Down

0 comments on commit 62dae17

Please sign in to comment.