install4j-更新程序组名称 [英] install4j - Updating Program Group Name

查看:86
本文介绍了install4j-更新程序组名称的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以选择返回安装组件屏幕,以便用户根据需要选择其他安装组件.

I give the option of going back to the installation components screen, so that the user selects a different installation component if he wants to.

但是,如何更新程序组名称.

But, how do I update the Program Group Name.

我看到一个类CreateProgramGroupAction,里面有一个方法updateProgramGroupName(Context arg0).但是我该如何使用呢?我找不到与此有关的任何文档.

I see a class CreateProgramGroupAction, and a method updateProgramGroupName(Context arg0) inside that. But how do i use it? I am not finding any relevant documentation on this.

推荐答案

选择创建程序组"操作后,查看属性"选项卡.有一个属性程序组名称",默认情况下它设置为${installer:sys.programGroup.name}.通过以下呼叫:

Look at the "Properties" tab after selecting the "Create program group" action. There's a property "Program group name" and by default it is set to ${installer:sys.programGroup.name}. With the following call:

context.setVariable("sys.programGroup.name", "your value");

您可以覆盖创建程序组"屏幕上设置的值.

you can override the value that is set by the "Create program group" screen.

这篇关于install4j-更新程序组名称的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆