A lighting system (100, 300, 400) for illuminating an environment, the lighting system (100, 300, 400) comprising: - a plurality of lighting modules (110, 120, 204, 206, 310, 320, 402.. 408), the lighting modules (110, 120, 204, 206, 310, 320, 402.. 408) comprising a light source (118, 128) for emitting light, a programmable controller (114, 124) for controlling an operation of the light source (118, 128) and a network interface (116, 126) for allowing the lighting modules (110, 120, 310, 320) to communicate with other lighting modules and devices of the lighting system (100, 300, 400) via a network, the lighting modules (110, 120, 204, 206, 310, 320, 402.. 408) being configured to receive a program for the programmable controller (114, 124) via the network interface (116, 126) and the lighting modules (110, 120, 204, 206, 310, 320, 402.. 408) being configured to install the program on the programmable controller (114, 124) in dependence on a program installation decision, the plurality of lighting modules (110, 120, 204, 206, 310, 320, 402.. 408) comprising a particular lighting module (110, 310) and at least one neighboring lighting module (120, 320) that is arranged to illuminate together with the particular lighting module (110, 310) a portion of the environment, - an installation decision generator (112, 344) for generating a program installation decision to start the installation of the program on the programmable controller (114, 124) of the particular lighting module (110, 310), the installation decision generator (112, 344) being configured to obtain operational information relating to a light emission operation of the neighboring lighting module (120, 320), wherein the installation decision generator (112, 344) is configured to base the program installation decision on information, comprising the obtained operational information, to enable illumination of the portion of the environment to be sufficiently close to a desired illumination (Imin) of the portion of the environment during the period of time that the program is being installed. - a plurality of lighting modules (110, 120, 204, 206, 310, 320, 402.. 408), the lighting modules (110, 120, 204, 206, 310, 320, 402.. 408) comprising a light source (118, 128) for emitting light, a programmable controller (114, 124) for controlling an operation of the light source (118, 128) and a network interface (116, 126) for allowing the lighting modules (110, 120, 310, 320) to communicate with other lighting modules and devices of the lighting system (100, 300, 400) via a network, the lighting modules (110, 120, 204, 206, 310, 320, 402.. 408) being configured to receive a program for the programmable controller (114, 124) via the network interface (116, 126) and the lighting modules (110, 120, 204, 206, 310, 320, 402.. 408) being configured to install the program on the programmable controller (114, 124) in dependence on a program installation decision, the plurality of lighting modules (110, 120, 204, 206, 310, 320, 402.. 408) comprising a particular lighting module (110, 310) and at least one neighboring lighting module (120, 320) that is arranged to illuminate together with the particular lighting module (110, 310) a portion of the environment, - an installation decision generator (112, 344) for generating a program installation decision to start the installation of the program on the programmable controller (114, 124) of the particular lighting module (110, 310), the installation decision generator (112, 344) being configured to obtain operational information relating to a light emission operation of the neighboring lighting module (120, 320), wherein the installation decision generator (112, 344) is configured to base the program installation decision on information, comprising the obtained operational information, to enable illumination of the portion of the environment to be sufficiently close to a desired illumination (Imin) of the portion of the environment during the period of time that the program is being installed.