Choose a directory from a list

Comments

2 comments

  • Avatar
    amacgaffey

    An ugly way to solve the problem is to use the ChoiceParameter to set an intermediate value, effectively an enumeration, then add a ReadyToInstall action that sets the appropriate variable based on the value of the enumeration.

    It's verbose but it works.

  • Avatar
    juanjo

    You can workaround it by adding the options using an <addChoiceOptionsFromText> action:

    <addChoiceOptionsFromText>
        <name>kk</name>
        <text>${windows_folder_local_appdata}=${windows_folder_local_appdata}
    ${windows_folder_appdata}=${windows_folder_appdata} 
    ${windows_folder_profile}=${windows_folder_profile}</text>
    </addChoiceOptionsFromText>
    

    You can find additional information in our online documentation.

Please sign in to leave a comment.