/build/static/layout/Breadcrumb_cap_w.png

Installed Exe must run as Administrator otherwise throws "Undefined Error, Cannot continue." error.

  • 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   [ + ] Show comments

Answers (2)

Posted by: anonymous_9363 6 years ago
Red Belt
1
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.
Posted by: pace-support 6 years ago
10th Degree Black Belt
0
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. 
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ