* initialize java.util.prefs.Preferences once as Administrator
``` WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5. ``` @see http://stackoverflow.com/q/16428098/1514467
This commit is contained in:
parent
d170d70e3a
commit
29bec4ebaf
|
@ -112,6 +112,8 @@ Section MAIN
|
|||
Pop $MSI_STATUS # grab return value
|
||||
|
||||
${if} $MSI_STATUS == "0"
|
||||
DetailPrint "Optimizing..."
|
||||
nsExec::Exec `"C:\Program Files\FileBot\filebot.exe" -script "g:java.util.prefs.Preferences.userRoot(); net.sf.ehcache.CacheManager.getInstance().clearAll(); net.filebot.media.MediaDetection.warmupCachedResources();"`
|
||||
DetailPrint "Done."
|
||||
${else}
|
||||
DetailPrint "msiexec error $MSI_STATUS"
|
||||
|
|
Loading…
Reference in New Issue