I guess you should save those values to the registry (see RegistryKey / RegistryValue elements) and use the RegistrySearch element to populate the properties with those values. In this case, your uninstall should go smoothly.
-- Yan -----Original Message----- From: Thu Rein Win Htet [mailto:trwh...@gmail.com] Sent: Thursday, February 18, 2010 11:11 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Wix uninstall problem Hi, I am getting error while uninstalling my application, my database is not get dropped and the iis web application also not get removed, instead I am getting error message and the uninstall transaction end unsuccessfully. I am using property to get the user input in order to set up db and iis, and if I remove those properties and use the hard code values the application is uninstalled successfully. Any ideas.... <DirectoryRef Id="IISDIR" > <Component Id="OfficeManagerWebSiteComp" KeyPath="yes" Guid="151C04A0-9788-4d01-9313-0C8243782230"> <iis:WebSite Id="OfficeManagerWebsite" Description="Website" AutoStart="yes" StartOnInstall="yes" ConfigureIfExists="yes" Directory="IISDIR" ConnectionTimeout="360" > <iis:WebAddress Id="OfficeManagerWebAddress" Port="[IISPORT]" /> <iis:WebApplication Id="OfficeManagerApplication" Name="OM Web Site" ScriptTimeout="360" /> <iis:WebDirProperties Id="OfficeManagerWebDirProperties" Execute="yes" Read="yes" Script="yes" AnonymousAccess="yes" WindowsAuthentication="no" DefaultDocuments="Default.aspx" /> </iis:WebSite> </Component> </DirectoryRef> Thanks Thurein ------------------------------------------------------------------------ ------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users