Added option for adapting custom actions in Windows; small custom actions improvements.