Skip to content

Commit 527c6b1

Browse files
committed
🐛 fixed #114
Now cleans up Scheduled Tasks on uninstall
1 parent 5b2ca0d commit 527c6b1

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

Advanced Installer/Advanced Installer.aip

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,8 @@
296296
<ROW Action="AI_DATA_SETTER" Sequence="3997"/>
297297
<ROW Action="AI_EstimateExtractFiles" Sequence="3999" Builds="DefaultBuild"/>
298298
<ROW Action="AssistantComputerControl.exe" Condition="( NOT Installed )" Sequence="6601"/>
299+
<ROW Action="PowerShellScriptFile" Condition="( Installed AND ( REMOVE = &quot;ALL&quot; OR AI_INSTALL_MODE = &quot;Remove&quot; ) AND NOT UPGRADINGPRODUCTCODE ) AND ( (VersionNT &gt; 501) OR (VersionNT = 501 AND ServicePackLevel &gt;= 2) )" Sequence="6402"/>
300+
<ROW Action="AI_DATA_SETTER_1" Condition="( Installed AND ( REMOVE = &quot;ALL&quot; OR AI_INSTALL_MODE = &quot;Remove&quot; ) AND NOT UPGRADINGPRODUCTCODE ) AND ( (VersionNT &gt; 501) OR (VersionNT = 501 AND ServicePackLevel &gt;= 2) )" Sequence="6401"/>
299301
</COMPONENT>
300302
<COMPONENT cid="caphyon.advinst.msicomp.MsiInstallUISequenceComponent">
301303
<ROW Action="AI_RESTORE_LOCATION" Condition="APPDIR=&quot;&quot;" Sequence="749"/>
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Unregister-ScheduledTask -TaskName "AssistantComputerControl startup" -Confirm:$false
2+
Unregister-ScheduledTask -TaskName "AssistantComputerControl cleanup" -Confirm:$false

0 commit comments

Comments
 (0)