tonisa
10-28-2010, 10:59 AM
Hi,
I would like to build a setup of my application which contains server and client-part in a single installer. When the setup detects the server-part already installed (may be from another or also the same PC - checking the folder from which the setup.exe is invoked) the only option should be to install the client-part. If the server-part is not already installed, so the the install-options should contain server-part and client-part. If the PC contains a just the client-part installed, the only option should be to update it (if setup has newer version regarding the one installed).
Viceversa when invoking the setup for uninstalling (removing) only the options should be available which were installed previously from invoking PC. Removing the server-part a message should appear if there are still clients with client-part installed (could be controlled by an .ini-value on the server, which is inc/decremented with every install/deinstallation).
For the update-part I think the sample "Detect previous application A.sb7" could be a point to start. Do you have some sample for the mixed part client/server-setup pointing me in the right direction?
best regards
Toni
I would like to build a setup of my application which contains server and client-part in a single installer. When the setup detects the server-part already installed (may be from another or also the same PC - checking the folder from which the setup.exe is invoked) the only option should be to install the client-part. If the server-part is not already installed, so the the install-options should contain server-part and client-part. If the PC contains a just the client-part installed, the only option should be to update it (if setup has newer version regarding the one installed).
Viceversa when invoking the setup for uninstalling (removing) only the options should be available which were installed previously from invoking PC. Removing the server-part a message should appear if there are still clients with client-part installed (could be controlled by an .ini-value on the server, which is inc/decremented with every install/deinstallation).
For the update-part I think the sample "Detect previous application A.sb7" could be a point to start. Do you have some sample for the mixed part client/server-setup pointing me in the right direction?
best regards
Toni