Hiding components and tasks depending on setup type
167 views
Skip to first unread message
Ethin Probst
unread,
Sep 5, 2024, 6:12:10 AM9/5/24
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to inno...@googlegroups.com
Hi all,
I'm re-learning InnoSetup and would like to do some rather unusual things, but I'm not very skilled with pascal and InnoSetup's classes so am struggling to figure out how to (1) hide the components list if a certain setup type is selected and (2) hide the tasks page if that setup type is selected. I've seen some other installers do this so I wanted to see if I could emulate it. What is the typical way of doing this? I tried searching around but it doesn't look like anyone else has wanted to do this (which is odd to me but eh).
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to innosetup
On Thursday, September 5, 2024 at 4:12:10 AM UTC-6 Ethin Probst wrote:
Hi all,
I'm re-learning InnoSetup and would like to do some rather unusual things, but I'm not very skilled with pascal and InnoSetup's classes so am struggling to figure out how to (1) hide the components list if a certain setup type is selected and (2) hide the tasks page if that setup type is selected. I've seen some other installers do this so I wanted to see if I could emulate it. What is the typical way of doing this? I tried searching around but it doesn't look like anyone else has wanted to do this (which is odd to me but eh).
You can do this by using the ShouldSkipPage event function. See the Event Functions[1] help topic.
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to innosetup
Does this work for hiding parts of a page depending on another selection in that page? My idea for that is to hide the components list if the "full" setup type is selected, but I'm uncertain what the best way to go about that is.
Bill Stewart
unread,
Sep 5, 2024, 10:24:53 AM9/5/24
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to innosetup
On Thursday, September 5, 2024 at 7:48:33 AM UTC-6 Ethin Probst wrote:
Does this work for hiding parts of a page depending on another selection in that page? My idea for that is to hide the components list if the "full" setup type is selected, but I'm uncertain what the best way to go about that is.
My recommendation is to read through the documentation and look at the example .iss scripts provided in the installation.
Gavin Lambert
unread,
Sep 10, 2024, 8:09:03 PM9/10/24
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to innosetup
On Friday, September 6, 2024 at 1:48:33 AM UTC+12 Ethin Probst wrote:
Does this work for hiding parts of a page depending on another selection in that page? My idea for that is to hide the components list if the "full" setup type is selected, but I'm uncertain what the best way to go about that is.