简体   繁体   中英

Is it possible to add a custom script fragment to the unix install4j uninstaller?

I would like to add a custom script fragment to the unix uninstall script generated by install4j. This is possible for scripts available under the launchers tab. Is this also available for the uninstaller? I'm using install4j 6.0.4.

Yes you can. If you want to run shell script you need before the uninstall file step (because your script will not longer will be on the filesystem).

If you want to run Java code you can do it after the files deletion: 在此处输入图片说明

Add in the Run script step add you Java code.

This omission will be fixed in install4j 7.0.7 where installer applications will have a "Custom script fragment" property.

Please contact support@ej-technologies.com to get a build where this is already implemented.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM