2

これは、インストーラー用の私の xml ファイルです。

    <izpack:registry version="5.0"
                     xmlns:izpack="http://izpack.org/schema/registry"
                     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                     xsi:schemaLocation="http://izpack.org/schema/registry http://izpack.org/schema/5.0/izpack-registry-5.0.xsd">

        <pack name="UninstallStuff">
            <!-- Special "pack", if not defined an uninstall key will be generated automatically -->
            <!-- The variable $UNINSTALL_NAME can be only used if CheckedHelloPanel will be used
                   because there the variable will be declared. With that variabel it is possible
                   to install more as one instances of the product on one machine each with an
                   unique uninstall key. -->
            <value name="DisplayName"
                keypath="SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\$APP_NAME $APP_VER"
                root="HKLM"
                string="$APP_NAME" />
            <value name="DisplayVersion"
                keypath="SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\$APP_NAME $APP_VER"
                root="HKLM"
                string="$APP_VER" />
            <value name="UninstallString"
                keypath="SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\$APP_NAME $APP_VER"
                root="HKLM"
                string="&quot;$JAVA_HOME\bin\javaw.exe&quot; -jar &quot;$INSTALL_PATH\uninstaller\uninstaller.jar&quot;" />
            <value name="DisplayIcon"
                keypath="SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\$APP_NAME $APP_VER"
                root="HKLM"
                string="$INSTALL_PATH\icon\uninstallericon.ico" />
            <value name="Publisher"
                keypath="SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\$APP_NAME $APP_VER"
                root="HKLM"
                string="opname" />
        </pack>
    </izpack:registry>

発行者名を取得していますが、サイズ フィールドの値を取得できません。追加削除プログラムでサイズ フィールドを追加するにはどうすればよいですか。

4

1 に答える 1