Greetings everyone!

I need your help!!.I always get this error "Error 1722. There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected" ,when i try to add any custom action in MSI thr INSTALLSHIELD.

Especially when i try to run a batch script which is stored in installdir.I am positive that the script was intact.

Please advice.

Disha
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
One of the first things to do is to check that the MSI file can locate and execute the external batch file. Turn on full verbose logging, but if that doesn't reveal anything, use FileMon (from SysInternals, now Microsoft). Once your know that the file can be located it's worth checking that each part of the batch file can be executed fully when ran from within an MSI. I'd use FileMon again to check that any location paths are not being mistranslated, as it only takes one failure to make the 1722 error appear.
Answered 01/15/2008 by: Netviz
Senior Yellow Belt

Please log in to comment
0
When i selected ignore return code in custom action, installation went fine.This seems to fix issues with this error.
Answered 01/18/2008 by: DishaDisha
Senior Yellow Belt

Please log in to comment
Answer this question or Comment on this question for clarity