Restart after Uninstall (.ini)

Post a reply

Smilies
:D :) :( :o :-? 8) :lol: :x :P :oops: :cry: :evil: :roll: :wink:

BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Restart after Uninstall (.ini)

Restart after Uninstall (.ini)

by sterlingm » Sun Mar 22, 2020 6:30 am

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

Top