The /GROUP="x"
parameter specifies the value for the {groupname}
constant, eg. it should be of the form /GROUP="MyApp"
. It should not contain a path, or at least if it does contain one it should be a very shallow relative path such as /GROUP="MyCompany\MyApp"
.
If you are passing the parameter from a parent Inno install script and you want the child install to install icons into the same group as the parent then you should use /GROUP="{groupname}"
.
In all cases, the "root" of the path will automatically be chosen by Inno to be either {commonprograms}
or {userprograms}
depending on the PrivilegesRequired
setting of the install script being run.
Note that if you are running the installer as part of an automatic update to an already-installed application, you should not pass the parameter at all. Inno will remember the user's previous selection and use this by default; in fact it's strongly recommended to not offer the user a chance to change this during interactive upgrades by setting the following:
[Setup]
DisableDirPage=auto
DisableProgramGroupPage=auto