Hi Everyone
I have written an installation where I can install, uninstall, repair by launching msi, but when I go to Control Panel and then Add Remove Programs and try to remove the program there, it gives me error 1721. I could not find anything unusual in the log. I have a custom action of type 50 for which I am setting the directory before running the custom action. If it is broken then why does it work when I uninstall it by launching the msi?
Any ideas?
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.
Remove gives error 1721 Add/Remove Programs in CP
Started by
waheeddanish
, Aug 11 2005 07:32
4 replies to this topic
Posted 11 August 2005 - 08:32
You need to provide some more information about the error.
Also try upping the logging level to verbose (use the gpedit.msc -> Computer Configuration->Administrative Templates->Windows Components->Windows Installer).
This might help find the cause of the problem
Also try upping the logging level to verbose (use the gpedit.msc -> Computer Configuration->Administrative Templates->Windows Components->Windows Installer).
This might help find the cause of the problem
Posted 11 August 2005 - 09:51
It might be related to the fact that your uninstall runs in Basic UI mode if launched from Add/Remove Programs, so the UI sequence is skipped in this case. Does your uninstall work if you call
msiexec.exe /x {ProductCodeGUID} /qb
msiexec.exe /x {ProductCodeGUID} /qb
Stefan Krüger
InstallSite.org twitter facebook
Posted 11 August 2005 - 10:30
Also bear in mind that when you "uninstall it by launching the msi", you are actually running an install (/i) with the "REMOVE" property set.
Posted 12 August 2005 - 06:23
The problem was with a property being set in the UISequence but was not present in the ExecuteSequence due to which the uninstall via Add/Remove was giving error 1721 as the custom action was launching an exe and the path was not set.
Thanks everyone for the reply.
Thanks everyone for the reply.