Re: [WiX-users] Error 1721 - How to resolve
Without seeing your code I can't be sure of this, but many custom actions are woefully short of error checking. Calling APIs and not checking the result is unfortunately common, so you need to check these things. You can log errors into the MSI log with something like this in your custom action: UINT LogMessage (MSIHANDLE hInstall, LPCTSTR msg) { PMSIHANDLE rec = MsiCreateRecord (1); MsiRecordSetString (rec, 0, msg); MsiProcessMessage (hInstall, INSTALLMESSAGE(INSTALLMESSAGE_INFO), rec); return ERROR_SUCCESS; } Phil Wilson -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of SaiTeja Sent: Tuesday, November 27, 2007 10:18 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Error 1721 - How to resolve Yaa I understand. Could you tell me how to resolve this Thanks Rob Mensching-4 wrote: > > Your custom action failed (i.e. returned non-zero). > > SaiTeja wrote: >> Hi, >> >> Below is my custom action >> >> > HideTarget="no" >> Execute="deferred" Impersonate="yes" TerminalServerAware="no" >> ExeCommand="UninstallComService" FileKey="qmireg.exe"> >> >> >> >> Installed And >> REMOVE="ALL" >> >> >> >> >> When am trying to uninstall am getting following error. Can any one tell >> me >> what is the probelm??? >> >> Error 1721. There is a problem with this Windows Installer package. A >> program required for this install to complete could not be run. Contact >> your >> support personnel or package vendor. Action: LQ_UninstallComService, >> location: C:\Program Files\LQ\manifests\qmireg.exe, command: >> UninstallComService >> >> >> Thanks >> > > > - > SF.Net email is sponsored by: The Future of Linux Business White Paper > from Novell. From the desktop to the data center, Linux is going > mainstream. Let it simplify your IT future. > http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 > ___ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > -- View this message in context: http://www.nabble.com/Error-1721---How-to-resolve-tf4859815.html#a139865 91 Sent from the wix-users mailing list archive at Nabble.com. - SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Error 1721 - How to resolve
Yaa I understand. Could you tell me how to resolve this Thanks Rob Mensching-4 wrote: > > Your custom action failed (i.e. returned non-zero). > > SaiTeja wrote: >> Hi, >> >> Below is my custom action >> >> > HideTarget="no" >> Execute="deferred" Impersonate="yes" TerminalServerAware="no" >> ExeCommand="UninstallComService" FileKey="qmireg.exe"> >> >> >> >> Installed And >> REMOVE="ALL" >> >> >> >> >> When am trying to uninstall am getting following error. Can any one tell >> me >> what is the probelm??? >> >> Error 1721. There is a problem with this Windows Installer package. A >> program required for this install to complete could not be run. Contact >> your >> support personnel or package vendor. Action: LQ_UninstallComService, >> location: C:\Program Files\LQ\manifests\qmireg.exe, command: >> UninstallComService >> >> >> Thanks >> > > > - > SF.Net email is sponsored by: The Future of Linux Business White Paper > from Novell. From the desktop to the data center, Linux is going > mainstream. Let it simplify your IT future. > http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 > ___ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > -- View this message in context: http://www.nabble.com/Error-1721---How-to-resolve-tf4859815.html#a13986591 Sent from the wix-users mailing list archive at Nabble.com. - SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Error 1721 - How to resolve
Your custom action failed (i.e. returned non-zero). SaiTeja wrote: > Hi, > > Below is my custom action > > Execute="deferred" Impersonate="yes" TerminalServerAware="no" > ExeCommand="UninstallComService" FileKey="qmireg.exe"> > > > > Installed And > REMOVE="ALL" > > > > > When am trying to uninstall am getting following error. Can any one tell me > what is the probelm??? > > Error 1721. There is a problem with this Windows Installer package. A > program required for this install to complete could not be run. Contact your > support personnel or package vendor. Action: LQ_UninstallComService, > location: C:\Program Files\LQ\manifests\qmireg.exe, command: > UninstallComService > > > Thanks > - SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Error 1721 - How to resolve
Hi, Below is my custom action Installed And REMOVE="ALL" When am trying to uninstall am getting following error. Can any one tell me what is the probelm??? Error 1721. There is a problem with this Windows Installer package. A program required for this install to complete could not be run. Contact your support personnel or package vendor. Action: LQ_UninstallComService, location: C:\Program Files\LQ\manifests\qmireg.exe, command: UninstallComService Thanks -- View this message in context: http://www.nabble.com/Error-1721---How-to-resolve-tf4859815.html#a13907072 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/vse012070mrt/direct/01/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users