Installing opencv 4.5.3 in offline mode

How to install opencv in the offline mode ? I already have opencv 4.7 installed but for my project I need opencv 4.5.3.
I have downloaded opencv from sourceforge.net now I need steps to install this opencv in my working environment

Any guidance will greatly appreciated.