Hi Philips,
Multiple runmode like publish, author, nosamplescontent are supported OOTB in JEE installation. ‘nosamplecontent’ can be configured through LCM while configuring CRX. You need to uncheck "Install AEM Samples" checkbox for the same.
Alternately you may modify the web.xml of cq-author ear and update the runmodes section. Then deploy this modified ear. But the modified EAR will be wiped off when patching the environment in the future.
So the best option is to uncheck "Install AEM Samples" checkbox while configuring CRX through LCM.
Regards
Sameer Dhawan