Community Forums
Results 1 to 2 of 2

Thread: How to set value of radio button in response file?

  1. #1
    Join Date
    Dec 2016
    Posts
    2

    How to set value of radio button in response file?

    Hi,

    I am using InstallAnywhere 2009 to run my installer in silent mode. In response file I am setting values of
    radio_button1 = true and,
    radio_button2 =false.
    Based on values of radio_button further action is performed. But when I run installer it does not read radio_button value.

    Can anyone please help me how to set values of radio button in response file?

    Thanks,
    Aishwarya

  2. #2
    Join Date
    Dec 2016
    Posts
    2
    Hi,

    Found the solution. I was doing a mistake while creating installer. I was using user define variables for radio buttons and before using it I was initializing them

    Initialize variables:-
    copy_option=false
    cut_option=false

    Selection:-
    copy_option=radio_button_1( value is set to 'true' if selected)
    cut_option=radio_button_2

    if(copy_option==true)
    do this

    and while running in silent mode it was not reading copy_option/cut_option from response file(installer.properties).
    Then, while creating installer I removed the initialization of variables and directly used the variable with radio buttons.
    It worked for me in silent mode also.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •