Hello and welcome to our forums,
What I think we can do here to achieve what you want is the following:
- add the EXE twice in the setup package, e.g.:
1. go to
"Files and Folders" page and create two folders under
"Application Folder"
2. for each folder, right click -->
"Properties" --> check
"Install folder content into parent folder" option
- in
"Services" page, select one of the two EXEs to create the service for - in our case, we selected the EXE from
folder1
- Screenshot_71.png (79.33 KiB) Viewed 4480 times
- in
"Organization" page, we will condition the installation of the component assigned to each EXE based on the Radio Button Control.
- Screenshot_72.png (38.54 KiB) Viewed 4480 times
So basically, we have the following logic now:
- if user selects
Service, then the EXE from folder1 will be installed and the service will be created
- if user selects
Console, then the EXE from folder2 will be installed and the service will not be created (because the service operations are meant to execute for the EXE in folder1, so if that EXE is not installed, service will also not be installed).
Hope this helps!
Best regards,
Catalin