Hi,
1. How are you sure that this must be because of window installer package?
2. Are you able to install any other softwares on your computer?
This happens if the scripting runtime filevbscript.dll is not registered correctly in the system.
Try the method 1 and check if you are able to install windows cleanup utility.
Method 1:a. Click on start button, type cmd. In the search result right-click on cmd and selectRun as administrator.
b. Type cd %windir%\system 32 (Note: there is a space between system and 32) and press enter.
c. Type regsvr32 vbscript.dll in command prompt and press enter.
d. Type regsvr32 jscript.dll in command prompt and press enter.
If the registration was successful, you should now see the following message:
DllRegisterServer in vbscript.dll succeeded.
e. Now right-click on windows cleanup utility setup file and select Run as administrator.
Method 2: Perform sfc scan on your computer.
Refer: http://support.microsoft.com/kb/929833
I would suggest you to re-download the java software and try installing it.
Thanks and Regards
Umesh P - Microsoft Support. Visit our Microsoft Answers Feedback Forum and let us know what you think.
[If this post helps to resolve your issue, please click the "Mark as Answer" or "Helpful" button at the top of this message. By marking a post as Answered, or Helpful you help others find the answer faster.]