New user, 1721 error. - Advanced Installer Community
chatter
Posts: 2
Joined: Fri Feb 10, 2017 10:28 pm

New user, 1721 error.

Hi, there.

I'm a new user and thought I was trying to do something simple. I specify files to copy to APPDIR and then, with a custom action, run one of the exe files after "Add Resources". No matter what I do, I get the 1721 error. I can run this manually from the command line if I remove the custom action (i.e. after installation), but not when I want it run.

Help, please?

Marc
chatter
Posts: 2
Joined: Fri Feb 10, 2017 10:28 pm

Re: New user, 1721 error.

I should note that if I remove the custom action, the files install, and the exe file runs perfectly from the command line after cd to the app directory.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: New user, 1721 error.

Hello and welcome to our forums,

This may happen if the custom action is not configured to run as deferred. Can you please make sure you have selected the "When the system is being modified (deferred)" execution time and see how this works? Also, try to uncheck the "Fail if custom actions returns an error" execution option and see if this helps. If an application launched by a custom action exits with a code different than 0 (zero), then Windows Installer will interpret this as a failure.

If this is of no help, then can you please send us the .aip (project file) to support at advancedinstaller dot com so we can investigate its settings?

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

Return to “Common Problems”