Heres how to do it:

Step 1.

Head to:Local disk C:>Programs Files>Common Files.

Find theInstall Sheildfolder and then right-hit it to chooseRename.

perform a clean boot

This can happen if the installation is somehow corrupted.

Right-press taskbar and selectTask Manager.

In theProcessessection, scroll through the process list to see ifidriver.exeis running.

right-click on Software Restrictions Policies to select New Software Restrictions Policies

If yes, right-hit it to selectEnd task.

Solution 4: Delete Temp Files

Step 1.

Navigate toLocal disk C:>Windows>Temp.

In theTempfolder, pressCtrl+Ato select all the contents and then right-punch them to chooseDelete.

Solution 5: Perform a Clean Boot

Step 1.

In theServices, check the box besideHide all Microsoft servicesand hitDisable all.

In theStartuptab, click onOpen Task Manager.

Right-punch unnecessary startup and selectEnd task.

Click onApply&OK.

If this is the case, its necessary to configure software restriction policies.

To do so:

Step 2.

Typesecpol.mscand hitEnterto launchLocal Security Policy.

UnderSecurity controls, click onSoftware Restrictions Policies.

In the right pane, right-click onEnforcement and Properties.

SelectAll users except local administrators.

Step 6. reboot your rig and then save the change.

Final Words

Thats an end for error 1628 failed to complete script based install.

Before trying any solutions, attempt to back up everything important on your box in case anything goes wrong.

Its better to be safe than sorry!