Before installing with the offline installer, rename the "Opera GX Stable" folder to "Opera GX Stable old" just to see if that sorts things out. If not, totally uninstall Bitdefender (don't just disable it) as a test and then try to install Opera to test if Bitdefender is the cause. You can install Bitdefender again then and if it was the problem, see if you can add exceptions for Opera, its profile and cache folders, and Opera's install folder etc.
Are you able to fully download the offline installer with another browser? If so, once it's downloaded, double-left-click it to launch it, click "options", adjust the options as you like, and install.
If some, please be specific about what fails and when, and what version of Windows.
@uknown11111 That's weird. Are you sure you downloaded the offline installer? The offline installing doesn't need to download anything at all. You can be totally disconnected from the net and install Opera with it.
@razin999 By default, Opera will start with the opened pages from last session. If you don't want it to happen, you can change the behavior in settings page.
@marcolo well I think not so then the opera worked perfectly but soon when I went to download the honeygain again (I was sure I downloaded from the official website) before execute it the bit defend it gave with malware and the opera was together with several of your files being excluded, but I tried recoverals and take from the quarantine and even then it did not work, after literally one day (before the day I had enabled the opera opening upon windows) he simply opened and then I had no more problems