I get the following error when MSI tries to run the this VBScript CA that deletes a folder
option explicit Dim fso,InstallPath,tmp,res Set installer = CreateObject("WindowsInstaller.Installer") Set fso = CreateObject("Scripting.FileSystemObject") InstallPath = Property("INSTALLDIR") tmp = Mid(InstallPath,1,3) res = tmp & "ConfigFolder" If (fso.FolderExists(res)) Then fso.DeleteFolder(res) msgbox "Left over folder found!Deleted!" Else msgbox "Folder not found!Nothing deleted!" End If Error 1720. There is a problem with this Windows Installer package. A script required for this install to complete could not be run. Contact your support personnel or package vendor. Custom action DeleteConfigFolder script error -2146827850, Microsoft VBScript runtime error: Object doesn't support this property or method: 'installer' Line 9, Column 1, Can anybody help me to understand this error? I've tried googling but could find anything helpful ----- Andy MSI Developer Schneider Electric:working: -- View this message in context: http://n2.nabble.com/VBScript-CA-Object-not-supported-error-tp791531p791531.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users