• Hello guys

I hope some of you can help me out here. I am struggling for the last 3 months to resolve this issue. I am using Wise Package Installer 7.1 to prepare the MSI. Software installed for ALL USERS. Installation packages run 100% without error. After installation if I run the EXE , it throws "Undefined error. Cannot continue.". So only the first time I have to Run as Administrator and from then on installed application can run without showing any error. Note Only the first time I need to Run as Administrator.

All the dependency is registered using Wise self registration. Note installed application is a VB6 ActiveX EXE.

I tried setting permission, manifest , add security template (inf and sdf) nothing worked.

Really waiting for a reply. Thank you in advance.


0 Comments   [ - ] Hide Comments


Please log in to comment

Community Chosen Answer


You can pretty much guarantee that the application is trying to write to an area which is protected by Windows.

Run it with ProcMon to minitor it (usual ProcMon provisos apply...filtering, etc). Look for 'ACCESS DENIED' in the 'Result' column. Once you've found out what's happening, you can open up permissions on the protected area(s) either using the built-in tables or, as most people do, using SetACL or similar.
Answered 10/24/2017 by: VBScab
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity


You should launch your MSI with the logging turned on and check the logs (you can show them here in case you will need more help). It seems that it's not your MSI that causes the error but rather some custom actions does. 
Answered 10/24/2017 by: pace-support
Fifth Degree Brown Belt

Please log in to comment