I guess in that case then the user would need to perform a repair to put the inf file back before doing the uninstall. Either that or you need to keep a copy of the INF file somewhere else. Maybe have a DLL custom action that contains a copy of the inf, extracts it, and then calls DPInst. That sounds a bit complex though. Do you usually have the problem of users deleting the inf file? If it's a rare occurence it might be enough to have users do a repair as and when (and if) it happens.
Rob On 04/07/2011 09:44, yheip p wrote: > Oh..what I meant was , the file are deleted manually after the installation. > So, when launching the installer for uninstallation, the installer couldn't > find that inf. > > 2011/7/4 Rob Hamflett<r...@snsys.com> > >> You could schedule it before the RemoveFiles action. >> >> Rob >> >> On 04/07/2011 08:56, Yuk Hei Pang wrote: >>> Hi, I am currently having a msi created with wix 3.5 to install a driver >>> package along with an application. >>> The following custom action is used for uninstalling the driver package. >>> >>> <CustomAction Id='Uninstall_driver' BinaryKey='DPInst.exe' >>> ExeCommand='/U"[DriversDir]mydriver. >>> inf" /SW /D' Return='ignore'/> >>> >>> but if the file mydriver.inf is deleted , DPInst would not be able to >> remove >>> the driver package. >>> >>> Is there any way to ensure that inf is there?? something like placing the >>> inf back there?? >>> >>> Thank in advance! >>> >> ------------------------------------------------------------------------------ >>> All of the data generated in your IT infrastructure is seriously >> valuable. >>> Why? It contains a definitive record of application performance, security >>> threats, fraudulent activity, and more. Splunk takes this data and makes >>> sense of it. IT sense. And common sense. >>> http://p.sf.net/sfu/splunk-d2d-c2 >> >> >> >> ------------------------------------------------------------------------------ >> All of the data generated in your IT infrastructure is seriously valuable. >> Why? It contains a definitive record of application performance, security >> threats, fraudulent activity, and more. Splunk takes this data and makes >> sense of it. IT sense. And common sense. >> http://p.sf.net/sfu/splunk-d2d-c2 >> _______________________________________________ >> WiX-users mailing list >> WiX-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/wix-users >> > ------------------------------------------------------------------------------ > All of the data generated in your IT infrastructure is seriously valuable. > Why? It contains a definitive record of application performance, security > threats, fraudulent activity, and more. Splunk takes this data and makes > sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2d-c2 ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users