[Code]: ability to select or unselect components and task by name
There are functions to check the status of components/tasks (IsComponentSelected and IsTaskSelected) by name of it.
It was good to see the functions to change the state of the component/tasks by name(for example, "procedure SelectComponent (const Components: String; State: Boolean );").
Also if it ran the Check parameter immediately before showing the WizardComponentsList page we could use a CheckMyComponent procedure
Wanna have this too. With API for WizardSetupTypes() SelectWizardSetupType(...), WizardComponentsList(), SelectTask(...), WizardTasks(). This is currently possible by scanning and manipulating the WizardForm, but in the Elements in the WizardForm only the description texts are available in the elements, not the real names. There is a Record stored in each selection element in the WizardForm which contains all information, but the Record type is not available.
Please Expose this information to Code section API.
I second this (am I just a second for this!! I doubt). I needed to setup the same app in multiple drives / folders. I have a custom textbox that gets a distinguishing string (I call it Folder Option Code), this is then used to have a unique AppID. Due to this the registry is correctly updated by Inno on setup completion. On a reinstallation the registry is loaded very early before I can get the Folder Option Code so the AppID defaults to a registry data that is not expected. Now such a function would allow me to manually (and quickly, I am still going round in circles on the newgroups to achieve this since a week) update the components dropdown. In fact I would go to suggest that there should be a function to update the component and also a function to reload registry once the AppID is now updated using code. Hope this all make sense.
Martin Baschnegger commented
At the moment e.g. components can be selected via a workaround with WizardForm.ComponentsList.Items ... WizardForm.ComponentsList.Checked[Index] and/or WizardForm.ComponentsList.ItemEnabled[Index]
This can be used if Task and/or component pre-selection depends on prior choices by the user etc. Having built-in functions to changing the COmponent or task selection would be great!
Can you explain what is "newsgroup"? where is it located?
AdminMartijn Laan (Admin, Inno Setup) commented
Why do you need this? Use the newsgroup to explain please.