This is basically an exercise in debugging. Standard operating procedure is something like this:
1) Did it even load and start? Adding a messagebox call as a debug aid first thing in the code will tell you whether it loaded and started. If it doesn't get that far the issue is usually a dependency on something like the C++ runtime, assemblies in the GAC, other missing dependent Dlls/assemblies. 2) If it starts ok then it's crashing. The general answer in these cases is to always check results of API calls - code defensively assuming any one of them will fail. Most cases of crashing custom actions that I've seen fall into this category. 3) If it's a C++ custom action Dll then log its activity to the MSI log so you can run the install with a log and see what's going on. Phil Wilson -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of SaiTeja Sent: Friday, January 04, 2008 5:23 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Err A program run as part of the setup did not finish as expected Hi, While installing am getting following error. am using all merge modules(ATL,CRT,DebugCRT,DebugMFC,MFCLOC,DebugMFCLOC etc) can any one tell me what is the problem hre Action 18:46:08: PublishProduct. Publishing product information 1: ARPPRODUCTICON.exe 1: console.exe 1: help.chm Action 18:46:11: IstallBundleLoader. Error 1722. There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor. Action InstallBundleLoader, location: C:\Program Files\TesProgram\Client\xyz.exe, command: EnsureInjection "C:\Program Files\Test Program\Client\BundleLoader.dll" Action ended 18:46:14: InstallFinalize. Return value 3. Action 18:46:14: Rollback. Rolling back action: Rollback: InstallBundleLoader Rollback: Publishing product information Rollback: Publishing Product Features Rollback: Registering product Rollback: Registering type libraries Rollback: Updating environment strings Rollback: Writing system registry values -- View this message in context: http://www.nabble.com/Err-A-program-run-as-part-of-the-setup-did-not-finish-as-expected-tp14616198p14616198.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users