Get choice applications selected in wizard during preinstall phase RRS feed

  • Question

  • Hello,

    I try to recover the choices of applications selected in the wizard in the phase of prinstall.

    The values (INSTALLEDAPPLICATIONSxxx) are not stored in the VARIABLES.DAT at the end of the wizard.

    Can you help me ?

    Thursday, August 22, 2019 10:40 AM

All replies

  • Hi,

    Do you know where the result of the application selection is stored during the wizard?


    Friday, August 23, 2019 8:17 AM
  • Hi,

    I solved my question by adding the following in the files :


    After : <Initialization><![CDATA[InitializeApplicationList]]></Initialization>

    Add : <Validation><![CDATA[ValidateChoice]]></Validation>


    At the end :

    Function ValidateChoice
        Dim i, oApplicationList
        Set oApplicationList = document.getElementsByName("Applications")
        For i= 0 to oApplicationList.length -1
            If oApplicationList(i).checked then
                If oApplicationList(i).value = "{ID-ID-ID-ID-APPS}" Then
                    oEnvironment.Item("MyVariable") = "True"
                    Exit for
                End If
            End If
        ValidateChoice = True
    End Function


    • Edited by Msappdem Monday, August 26, 2019 9:33 AM Insert code block
    Monday, August 26, 2019 9:31 AM