I have used custom action to uninstall some of the older version (version installed prior to using Windows Installer MSI) of my product. I queried the registry for "Uninstall" String and used the value returned (C:\uninst.exe -f C:\Myproduct\DelsL1.isu .....) to run the uninstallation using a custom exe.
When I tried my few of test scenarios there is a case where the previous installation would have been deleted manually by the user instead of uninstalling thru the control pannel/menu.
In this case all the registry entry remains but none of the files exist particularly "C:\Myproduct\DelsL1.isu". So my custom action pops up with an error message saying it cannot uninstall.
Question?
Is there a way to detect the existance of the file "C:\Myproduct\DelsL1.isu" before I call the uninstall custom exe?
Appreciate any kind of help
Me (
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.
Uninstalling Very old version of application
Started by
sureshVed
, Oct 23 2002 17:16
1 reply to this topic