public void cleanUp ( ) { fireProgressEvent ( InstallProgressEvent . CLEAN_UP , 98 , Messages . INSTALL_KERNEL_MESSAGES . getLogMessage ( "STATE_CLEANING" ) ) ; if ( installAssets != null ) { for ( List < InstallAsset > iaList : installAssets ) { for ( InstallAsset asset : iaList ) { asset . delete ( ) ; } } } boolean del = InstallUtils . deleteDirectory ( this . product . getInstallTempDir ( ) ) ; if ( ! del ) this . product . getInstallTempDir ( ) . deleteOnExit ( ) ; installAssets = null ; setScriptsPermission = false ; if ( resolveDirector != null ) resolveDirector . cleanUp ( ) ; if ( uninstallDirector != null ) uninstallDirector . cleanUp ( ) ; log ( Level . FINE , Messages . INSTALL_KERNEL_MESSAGES . getLogMessage ( "MSG_CLEANUP_SUCCESS" ) ) ; }
Clean up the downloaded install assets ; reset installAssets and uninstallAssets .