Installation Fail - 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!

lekfir
Posts: 130
Joined: Sun Feb 15, 2009 5:26 pm

Installation Fail

Hi,
I am trying to run the following command using Call Function From Standard DLL custom action:
rundll32 syssetup,SetupInfObjectInstallAction DefaultInstall 128 C:\Program Files\MyApp\App.inf

My Settings are:
Source Type: Dynamic Link Library (*.dll)
Function Name: SetupInfObjectInstallAction
Action Data:
[SystemFolder]syssetup.dll?V;;C;SetupInfObjectInstallAction;Q;s;I;DefaultInstall?V;I;I;128?Q;s;I;C:\Program Files\MyApp\App.inf?
ignore return code
Deferred with no impersonation

But it fails to run. Any idea?
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Installation Fail

Hello,
Function Name: SetupInfObjectInstallAction
You need to leave this field with its default value, which is "CallStdFcn". After doing so, it should work.

Regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”