/build/static/layout/Breadcrumb_cap_w.png

Unhandled Exception error

I am running into an issue to which I am unable to find the root-cause and an elegant solution.
Issue: We have received an EXE,an icon file and a config file from the development team with a specific set of req to be embedded in an mSI.
One of the req says that the EXE should run as soon as the msi is launched. Hence, to implement this have added a CA in the MSI which runs after insallfinalize.
The issue is that when the exe launches after msi install it gives an "unhandled exception" error and the eror is resolved if we copy these files in system32. Ofcourse, this solution is not a great solution and is not permissible in our environment.
The strange thing is the provided EXE works like a charm if we run it manually.

Also calling the EXE using vbscript CA doesnt work. If we copy the cscript/wscript in the same locn as in exe then the error does not appear.
It is somehow taking system32 as it's working directory and this might be the cause.
please help me understand this problem and find a solution to it.

0 Comments   [ + ] Show comments

Answers (1)

Posted by: MicrosoftBob 12 years ago
Blue Belt
0

Can you copy the EXE to the TEMP folder and then put the complete path to the .EXE file in the CA?

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
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