Win7 and Vista InstallShield error code: -5001 : 0x80070002

Only in Vista and Win7 am I getting the error -5001 : 0x80070002 in the following scenario:
1. Product installation.
2. Product uninstallation.
3. Windows log-off for system.
4. With the same user account to log-in to windows —à.
During login to Windows install Shield Error pops up.(Attachment has the screen shot).
After searching the internet, I know now that it maybe is because of a lost installation file but I can’t find out which one.
Windows update has been applied, and I also tried ISClear tool. I also tried to remove UAC (User Account Control) but without results.
