ALink
Posts: 9
Joined: Mon Aug 21, 2023 10:45 am

Need help with ClientServerDlg installation

Hi Community,

I have the following starting point.

I have two softwares that are independent from another, one server software and one client software. For ease of use I would like to provide both softwares from a single installer file for the user.

The user shall be able to select between three options when installing. First, install client only. Second, install server only and third, install both.

So I thougt easiest to implement that would be to use the already existing ClientServerDlg, which sets the "InstallMode" Property to "Client", "Server" or "ClientServer".

Then I configured the products under Package Definition => Organization with specific installation behaviour.
For example here for the client see attachment.

If I understood correctly the client then should not be installed if InstallMode = "Server", so only if "Client" or "ClientServer" was selected.

When I test this know, it does not work properly. It still installs all files that are listed under "Client" when I select "Server" when installing. The only file that is missing from the "Client" folder is the executable file. (the same happens in the "Server" folder if I select only install client. If I select "ClientServer" both software get installed properly)

So I assume that I am using it wrongly. Can someone give me an idea what I could try?

Thanks and best regards,
Adrian
Attachments
example_client.png
example_client.png (49.85 KiB) Viewed 9054 times
Catalin
Posts: 7513
Joined: Wed Jun 13, 2018 7:49 am

Re: Need help with ClientServerDlg installation

Hello Adrian,

Perhaps some steps have been missed here.

If possible, could you please try creating your project using the "Client/Server Application" predefined wizard and let me know if that helps?
Screenshot_190.png
Screenshot_190.png (9.35 KiB) Viewed 8686 times

The above mentioned wizard should guide you, step by step, in configuring such project.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
ALink
Posts: 9
Joined: Mon Aug 21, 2023 10:45 am

Re: Need help with ClientServerDlg installation

Hello Catalin,

good idea. With a "clean" Installer project it works like expected.

But I did a lot of changes in my existing installer and dont want to configure it all again. So I will just try to look at the differences concerning the Client Server settings betwenn the clean and my current version and change the current one to be similar to the clean one.

I will report back how it went :)

BR,
Adrian
Catalin
Posts: 7513
Joined: Wed Jun 13, 2018 7:49 am

Re: Need help with ClientServerDlg installation

Awesome, Adrian!

Glad to hear it worked on the new project.

And sure, please let me know if everything is working as expected.

Best regards,
Catalin
:)
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
ALink
Posts: 9
Joined: Mon Aug 21, 2023 10:45 am

Re: Need help with ClientServerDlg installation

Hello,

I am here to report back that I also got it to work on the new project now, I was missing an event in the ClientServerDlg which I noticed after comparing the two projects.

Thanks for the help!

BR,
Adrian
Catalin
Posts: 7513
Joined: Wed Jun 13, 2018 7:49 am

Re: Need help with ClientServerDlg installation

You are always welcome, Adrian!

Glad to hear everything is working as expected now.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”