I always ignore those instructions and have yet to have an install problem because of it.

However, if you feel you need to stop avast for the install then right click on the avast icon (the blue ball) in the system tray and the select the menu item “Stop On-access Protection”.

Don’t forget to use the same method to start avast again after your install is completed.