Page 1 of 1

Restart after Uninstall (.ini)

Posted: Sun Mar 22, 2020 6:30 am
by sterlingm
Some addons have the user restart MediaMonkey after they are installed.
From the install.ini file it looks like this line:

Function=OnStartup()

I would like to have the user restart MediaMonkey after they uninstall the addon. This way the panels are closed and the settings are wiped. Using the same code causes an "unknown name" error and uninstall fails. Take out that line and uninstall works as originally set but without a restart of MM.

I looked through the code samples on the wiki for scripts and could not find anything on this.

What is the code in the uninstall.ini to restart MM?

Thank you,
-Sterling