Yes, in most cases. The warning is often generated by the Microsoft software called SmartScreen, which checks the reputation of a file i.e. software. A code signing certificate supports SmartScreen and helps it to determine whether a file or application is authenticated and safe. However, this cannot be guaranteed for all application cases.