Sometimes, you may encounter a run time error while installing a new program. This usually happens when the program does not fetch the necessary results in the Windows environment. It may also happen due to missing files in Windows. If you came across the comdlg32.ocx file error while setting up a portable app then you can try the simple steps given below to get rid of this problem.
Comdlg32.ocx Run Time Error Fix
Firstly, download Comdlg 32.ocx and extract it.
Once done, Comdlg 32.ocx needs to be copied into the Windows system folder. (C:/windows/system32)
Lastly, in the run box enter the following and hit enter:
Hopefully this should fix the problem.