Installer reports error 2738 - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

Robbie
Posts: 13
Joined: Thu Jul 24, 2008 12:25 am

Installer reports error 2738

Using Installer 6.5.1.
After creating an installer .exe package I tested this successfully on XP.
Then tested the same on Vista Ultimate (32bit) and got an error:

The installer has encountered an unexpected error
installing this package. This may indicate a problem with
this package. The error code is 2738.

My software does not generate an error 2738.
Is there anywhere I can find out what this error means?

The Installer is required to run as Administrator and correctly prompts to switch to admin mode.
The error is reported when displaying the installation progress bar at 0% .
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Installer reports error 2738

Hi,

The error 2738 means "Could not access VBScript run time for custom action [2]". Most likely a custom action in your package is failing when the installation is started. Please note that on Vista custom actions which modify the system should run as "Deferred with no impersonation" in order to have the necessary privileges.

If your custom action is set to run as "Deferred with no impersonation" and the problem persists, please send us the AIP you are using and a log to support at advancedinstaller dot com so we can investigate them.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Robbie
Posts: 13
Joined: Thu Jul 24, 2008 12:25 am

Re: Installer reports error 2738

I have 2 custom actions, both running a backup and restore VB script, supplied from your examples.
I am unable to set the indicated run requirement, as this option is disabled for me.

AIP and installer log file supplied as requested.
phil999
Posts: 4
Joined: Thu Sep 04, 2008 11:36 am

Re: Installer reports error 2738

"Deferred with no impersonation" -

I would also be interested in this as this is grayed out in my aip as well as in the future i plan to support vista.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Installer reports error 2738

Hi Rob,
AIP and installer log file supplied as requested.
The project seems to be configured correctly and the log doesn't contain many details about the problem. Perhaps the problem is caused by the target machine.

Please try the approach explained here:
http://blogs.msdn.com/astebner/archive/ ... 51752.aspx
"Deferred with no impersonation" -
I would also be interested in this as this is grayed out in my aip as well as in the future i plan to support vista.
Please note that Deferred custom actions can be scheduled only between the InstallInitialize and InstallFinalize standard actions. Therefore, if your project contains a custom action scheduled before InstallInitialize or after InstallFinalize, it cannot be set as deferred.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Robbie
Posts: 13
Joined: Thu Jul 24, 2008 12:25 am

Re: Installer reports error 2738

Hi Cosmin,
Thank you for the supplied link. I have no idea why the %WinRoot%\system32\vbscript.dll was not registered, but after executing regsvr32 %winRoot%\system32\vbscript.dll as Administrator the problem was solved.
Cheers.
max2u
Posts: 3
Joined: Mon Sep 07, 2009 8:42 am

Re: Installer reports error 2738

Hi there,
i have the same problem but i only show a MessageBox in VBScript, well what should i do to solv this problem,
p.s. i have windows vista64 ,
i want the installer to run on windows xp and vista 32 and 64 bit,
thanks a lot.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Installer reports error 2738

Hi,

I'm not sure I understand the problem you are encountering. Are you receiving a 2738 error? If so, you can try the approach from the article I mentioned.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”