20
edits
Changes
no edit summary
</packages:packages>
</source>
== Batch file for uninstall ==
=== This is saved as nsis-uninstall-delay.bat ===
Make sure to save this in the path that is correct for your setup.
<source>
::We call the below function and pass it the two variables that were passed in by our wpkg script.
CALL :uninstall_nsis %1 %2
:uninstall_nsis
::Our two variables passed in by wpkg are referenced here
%1 %2
::This ping is a dirty way to make the batch script delay for a bit so that everything can be fully uninstalled.
ping /n 30 localhost >nul
EXIT /B 0
</source>