• Announcements

    • xper

      MSFN Sponsorship and AdBlockers!   07/10/2016

      Dear members, MSFN is made available via subscriptions, donations and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, become a site sponsor and ads will be disabled automatically and by subscribing you get other sponsor benefits.

alternative Radio Buttons?

7 posts in this topic

Hello friends of unattended installations :-)

could someone explain my how to create radio buttons in the way that if i select one, the other ones of the group are automatically disabled? at the moment i can select all radio buttons of a group at the same time, but i want that the user can only choose one type out of all in the group. (see my example below).

by the way i use WIHU since about 1 or 2 hours and it's amazing :-)

group = 1

test.eval.0 = selected.1 | selected.2 | selected.3
selected.0 = if.false
description.0 = MyProgram Standalone
command.0 = %WIHU%\MyProgram\App.exe /s /conf="%WIHU%\MyProgram\Standalone.ini"

test.eval.1 = selected.0 | selected.2 | selected.3
selected.1 = if.false
description.1 = MyProgram with IE Toolbar
command.1 = %WIHU%\MyProgram\App.exe /s /conf="%WIHU%\MyProgram\Toolbar.ini"

test.eval.2 = selected.1 | selected.0 | selected.3
selected.2 = if.false
description.2 = MyProgram with a lot of crap
command.2 = %WIHU%\MyProgram\App.exe /s /conf="%WIHU%\MyProgram\Crap.ini"

test.eval.3 = selected.1 | selected.2 | selected.0
selected.3 = if.false
description.3 = MyProgram Full Installation
command.3 = %WIHU%\MyProgram\App.exe /s /conf="%WIHU%\MyProgram\Full.ini"

i thought it should work this way, but it seems to be wrong :-)

Edited by ladiko

Share this post

Link to post
Share on other sites

You're right to use group but should use anything else. ;)

group.x = (0 or 1) If 1, the software subtree will contain option controls instead of checkboxes.
Edited by Camarade_Tux

Share this post

Link to post
Share on other sites

could you define "anything else" a little bit more precise?

or what is the sence of the option group? only graphical? :rolleyes:

Edited by ladiko

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.