简体   繁体   中英

How to use tar.gz in custom code and resource file option in Install4j

In archives section of Install4js custom code and resource option there are two options,which are jar and zip. How can i use tar.gz file as i am working on Linux platform?

Basically i have bunch of static html files and css,js files which i need to open in browser using button click event through installet screens how can i do that?

By using tar.gz file i can extract that at target location and use the extracted file path to open in browser. I can't use separate resource files as my html and css,js files have directories and subdirectories.

Is there is any way to handle this more elegantly?

您可以在“安装程序->自定义代码和资源”步骤中添加类似“my.tar.gz”的 tar.gz 文件,并使用“提取 TAR 文件”操作并将其“Tar 文件”属性设置为${installer:sys.resourceDir}/my.tar.gz及其“目标目录”属性设置为${installer:sys.resourceDir}

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