I am bundling OracleJRE8u51_windows(x64).vm jre pack along with my installer to build setup.exe. By running the setup.exe, I am able to install the application successfully but I am not able to uninstall it. When I try to uninstall, it throws below error message.

================ Error Message =====================

Flexeraawy$aaa: Windows DLL failed to load
at Flexeraawy.af(Unknown Source)
at Flexeraawy.aa(Unknown Source)
at com.zerog.ia.installer.LifeCycleManager.init(Unknown Source)
at com.zerog.ia.installer.LifeCycleManager.executeApplication(Unknown Source)
at com.zerog.ia.installer.Main.main(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.zerog.lax.LAX.launch(Unknown Source)
at com.zerog.lax.LAX.main(Unknown Source)

================ Error Message =====================


The OS that I am using here is Windows 2012 R2.

Note: When I try the same installer on Windows 2008 R2, installation and uninstallation happens without any issue.

I am not able to proceed with the uninstallation, is there some issue w.r.t OS or InstallAnywhere?