; Copyright (c) uib gmbh (www.uib.de) ; This sourcecode is owned by uib gmbh ; and published under the Terms of the General Public License. ; credits: http://www.opsi.org/en/credits/ [Actions] Message "XnViewMP Profile Patch ...." if GetScriptMode = "LoginSetup" comment "Product is installed" Winbatch_profile_init endif if GetScriptMode = "LoginUninstall" comment "Product was uninstalled" Files_profile_del endif [Winbatch_profile_init] mkdir "%CurrentAppdataDir%\XnViewMP" touch "%CurrentAppdataDir%\XnViewMP\xnview.ini" inifile "%CurrentAppdataDir%\XnViewMP\xnview.ini" [Start] updater=0 inifile "%CurrentAppdataDir%\XnViewMP\xnview.ini" [Start] otherFlag=0 inifile "%CurrentAppdataDir%\XnViewMP\xnview.ini" [Start] dbFlag=0 inifile "%CurrentAppdataDir%\XnViewMP\xnview.ini" [Start] language= [Files_profile_del] del -s -f "%CurrentAppdataDir%\XnViewMP"