如何将默认安装目录更改为用户主目录(windows)。?

How to change the default installation directory to user home (on windows).?

我正在使用 install4j 6.1.6。有谁知道如何将安装目录默认设置为用户主目录(windows)。?

目前它默认为 Program Files 目录,我不想在该目录上安装应用程序。

我试过如下设置一个变量,

在媒体向导中,转到 "Installer options" 步骤,select "Use custom installation base directory" 复选框并输入 ~