Normally I build my installers on my "normal" PC in the office, and the EXEs are then stored on the company NAS.
Now (Corona, homeoffice) I modified the installer scripts. I added a #define NoNetwork
, so the office-network is not needed.
At the moment I need to active the define when I build the installer at home and comment it out when I build the installer in the office.
Is there a way to activate a define only when on the machine where the installer is compiled/created a certain registry key is set (or a special file exists, or....) So that I don't have to modify the install script every time I switch from home to office?
Thanks!