A support device which supports development of a human machine interface, HMI, program to be executed by a target device of factory automation, FA, the support device comprising: a receiving part which receives specification of at least one user interface, UI, element configuring the HMI program with a program code compatible with a first type of operation system, OS; a storage part storing an external control provided as an UI element of the at least one UI element compatible with the first type of OS; a code generation part which generates I/F conversion source code from code of the external control by extracting properties from the code of the external control that match properties required as an UI element compatible with a second type of OS, the I/F conversion source code includes a name of the called external control and a converted program code of a UI element compatible with the second type of OS, the converted program code of the UI element compatible with the second type of OS is a source code for presenting the external control as the UI element compatible with the second type of OS; and a wrapper generation part which compiles the I/F conversion source code to generate a wrapper program comprising a source code interpretable and executable by the first type of OS, the converted program code compatible with the second type of OS and an instruction code, the source code comprising the name of the called external control and code to call and execute the external control, the instruction code includes when executed, a code causing the target device to determine an OS type and instructing to execute the converted program code to generate an execution module for presenting the UI element according to the converted program code compatible with the second type of OS instead of the external control when a condition that an OS possessed by the target device is not the first type of OS is satisfied, wherein the wrapper program is incorporated into the HMI program, and a program in executable code is generated from the HMI program as a UI element with the program code compatible with the first type of OS. a receiving part which receives specification of at least one user interface, UI, element configuring the HMI program with a program code compatible with a first type of operation system, OS; a storage part storing an external control provided as an UI element of the at least one UI element compatible with the first type of OS; a code generation part which generates I/F conversion source code from code of the external control by extracting properties from the code of the external control that match properties required as an UI element compatible with a second type of OS, the I/F conversion source code includes a name of the called external control and a converted program code of a UI element compatible with the second type of OS, the converted program code of the UI element compatible with the second type of OS is a source code for presenting the external control as the UI element compatible with the second type of OS; and a wrapper generation part which compiles the I/F conversion source code to generate a wrapper program comprising a source code interpretable and executable by the first type of OS, the converted program code compatible with the second type of OS and an instruction code, the source code comprising the name of the called external control and code to call and execute the external control, the instruction code includes when executed, a code causing the target device to determine an OS type and instructing to execute the converted program code to generate an execution module for presenting the UI element according to the converted program code compatible with the second type of OS instead of the external control when a condition that an OS possessed by the target device is not the first type of OS is satisfied, wherein the wrapper program is incorporated into the HMI program, and a program in executable code is generated from the HMI program as a UI element with the program code compatible with the first type of OS.