How to let user control the scope of StartMenu/Desktop shortcuts?


1 comment

  • Avatar

    You can change the installationscope value using <setInstallerVariable> in the following way:

    First you can create a choiceParameter with the following options:

     <choiceParameter name="installScope">
          <description>For which users do you want to install this program?</description>
            <option description="Install for all users" value="allusers" text="All Users">
            <option description="Install only for current user" value="user" text="Current User">

    And in the <postShowPageActionList> you can set the project.installationScope variable:

            <setInstallerVariable name="project.installationScope" value="${installScope}"></setInstallerVariable>
    Comment actions Permalink

Please sign in to leave a comment.