Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

1722 Error when running EXE as custom action


2 replies to this topic

klee777

klee777
  • Full Members
  • 21 posts

Posted 12 April 2006 - 21:41

Hi,
My Basic MSI installs several DLLs & EXEs. I'd like to execute one EXE, e.g. my.exe) at the end of installation, so I did the followings:
1. In left-pane, click "Behavior and Logic" -> "Custom Actions"
2. In mid-pane, right-click on "Custom Actions" -> "New EXE" -> "Installed with product"
3. In right-pane, choose my.exe for "Executable filekey", "Commit Execution" for "In-Script Execution", "After ScheduleReboot" for "Install Exec Sequence", and type "1" for "Install Exec Condition"

Now once I build the media and run it, everything is installed and my.exe is launched, but at the end I got this 1722 error, and this install is rolled back. I even created a logfile but it didn't say much.

Can anyone help me?

Thanks!

Glytzhkof

Glytzhkof
  • Moderators
  • 1,447 posts

Posted 13 April 2006 - 11:15

Did you specify "ignore exit code"? The exe may return an exit code that MSIEXEC interprets as a failure message. This would trigger rollback.
Regards
-Stein Åsmul

klee777

klee777
  • Full Members
  • 21 posts

Posted 13 April 2006 - 14:12

Thank you for your advice!!!