Did you enter the /portal subdir in the fields for the URL and Physical Path? Cause the installdir is only used by the tracking module.
You should install opn via install.php There you are asked for some data, e.g url and physical path. Typically this installer creates the mainfile.php