Community Forums
Results 1 to 2 of 2

Thread: Setup type

  1. #1
    Join Date
    May 2018
    Posts
    6

    Setup type

    Hi,

    I have two setup type: one is client, theone is server.

    I need copy two different sets of files for the client and server.

    Could you give me some quick guidance?

    Best,

  2. #2
    Join Date
    Jul 2003
    Location
    North Kingstown, RI, USA
    Posts
    1,351
    SignCAD,

    You do not state what type of installer you are using.

    I have an installer that contains files for a server install, and files for client install. It also has files that are common to all.

    I am using a basic MSI install.
    In my project I have one main Feature for all common files. Under this feature I have a feature for Server and a feature for Client. I set conditions on the feature InstallLevel so that only one or the other can be installed. As added insurance, for my server specific files, I add a component condition, and likewise for client specific components.

    In my UI for the installer, I have a "feature dialog" that only allows the user to select one or the other feature. I happen to use radio buttons, but you could use simple button controls in place of your navigation buttons. For instance, instead of the user clicking 'Next' to continue, they would click "Server" or "Client". How you accomplish this is up to you, but behind the scenes you are setting appropriate property values that get evaluated for the features.

    Finally, I have a number of custom actions that only run on a server install, and so for these I utilize the same property check as I do for my feature Install Level settings.
    Regards,
    Dan Lee

    Release Engineer

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •