Hi Team, I am using latest Release Wix 3.0 . During Uninstall of Web application installer Website name is not Remove on IIS.
I tried to save the Website name to store environment variable , during installing I am able to save this value but I cannot able to get the during uninstalling. <CustomAction Id="RemoveWebSite" Script="vbscript" Execute="deferred"> <![CDATA[ On error resume next Dim WshShl, Shell, UserVar, strCmd 'Set objects Set WshShl = WScript.CreateObject("WScript.Shell") Set Shell = WshShl.Environment("System") 'Read variable UserVar = Shell("SERVICENAME") msgbox UserVar 'Session.Property("SERVICENAME") = UserVar msgbox Session.Property("SERVICENAME") 'Cleanup Objects Set WshShl = Nothing Set Shell = Nothing 'Exit Script WScript.Quit() ]]> </CustomAction> On the above script I am not getting the value of SERVICENAME env variable value. -- Regards, Sunil Bisoyi ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users