Custom Action returns 1, but does nothing - 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!

alan.jones
Posts: 2
Joined: Thu Feb 07, 2013 9:22 pm

Custom Action returns 1, but does nothing

I have an installer which runs several Custom Actions. These are the execution of some files by an included application, a script-installer.

The installer completes without error. The files and folders which should be added to the target system are added correctly.

The custom actions in question finish with a return code of 1, but they definitely are not executing. There is no effect from these actions on the target system.

If I perform these actions on the target system manually they are applied correctly.

I have gone through the project and the action conditions over and over and cannot see some parameter I must be missing which would cause this.

The actions in question are the execution of a file called "ESScriptExecuter" and they occur between lines 2879-2944 of the attached log.

The actions which are not executed because the condition is false are correct for this installer. The problem is that the ones which should execute are returning 1, yet doing nothing.

The log looks to me like those actions are completing correctly, but there is definitely something I'm missing.

Any help or advice you might have would be much appreciated.

Thanks.
Last edited by alan.jones on Thu Feb 07, 2013 10:54 pm, edited 1 time in total.
alan.jones
Posts: 2
Joined: Thu Feb 07, 2013 9:22 pm

Re: Custom Action returns 1, but does nothing

Got this, turned out to be an action before the ones referenced which was incorrect. After changing that the installer worked well.

Thanks.

Return to “Common Problems”