custom action not execute - 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!

toosensitive
Posts: 30
Joined: Wed Dec 07, 2011 8:27 pm

custom action not execute

Hi, Sir:
In installer of My Excel AddIn , there is a custom action which should run when install,
In fact, it simply run install.xls
It works fine until recently it stops working.

The behavior expected during install, after files are copied to install folder, then install.xls is open/run in Excel, then close Excel automatically
that's what happened before.

Now, I did not see install.xls open, Excel open w/o install.xls and excel does not close automatically

the log for this part is

MSI (s) (78:A8) [21:14:26:012]: Doing action: viewer.exe
Action start 21:14:26: viewer.exe.
MSI (s) (78:A8) [21:14:26:012]: Note: 1: 2262 2: CustomAction 3: -2147287038
MSI (s) (78:A8) [21:14:26:022]: Transforming table CustomAction.

MSI (s) (78:A8) [21:14:26:022]: Note: 1: 2262 2: Binary 3: -2147287038
MSI (s) (78:A8) [21:14:26:022]: Transforming table Binary.

Action ended 21:14:56: viewer.exe. Return value 1.

I wonder what does the log mean. Does it mean the customaction fails.
How to read/interpret it

thanks
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: custom action not execute

Hello,

I'm not sure why you are encountering this behavior. Please keep in mind that a return value 1 (in a log file) means that the action completed successfully. You can take a look on "Logging of Action Return Values" article.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”