Cancel
Showing results for 
Search instead for 
Did you mean: 

Icd file to delete old jar file

Pioneer
Pioneer

Hello admin

 

we have some old custom jars in plugin folder, which are pushed wrongly with wrong naming convention, is there a way we can delete them via icd file its self without doing a mannual deletion on each users workstation

 

Thank you

1 REPLY

Re: Icd file to delete old jar file

Phenom
Phenom

Good afternoon, try adding an ICD file to the section:

 

<target name="file_download_win" depends="file_download_common">
  ...
</target>    

 

the following tag:

 

<delete file="${PortalPath}\plugins\name_plugin.jar"/>

 

or a tag with a check that the file is available and only after that delete:

 

<if>
 <available file="${PortalPath}\plugins\name_plugin.jar"/>
  <then>
   <delete file="${PortalPath}\plugins\name_plugin.jar"/>
  </then>
</if>