My latest project is to build an installer that runs all of the SQL scripts required to update 14 schema versions.
I have done this without a problem except that I want to remove what I have installed, which I do with VBScript CA using msiexec /q /x <Product Code>.
However, I cannot get rid of the APPDIR presumably because I am actually working in it.
I have tried a CA off the Finish button as a Published Event and I have also tried to launch a vbs script but in fact the launch comes before the attached CA's in th elog. I don't even know whether I can launch a vbs script in this way but it didn;t seem to complain.
Whatever I do the directory remains. I can delete it from thesame machine eithout a problem. It is marked as ead only but I am forcing delete anyway in the VBScript.
I wonder how the removal operation copes with this, however it is obviously in a different context to the installation.
Weird having an installed product uninstalling iteslf but maybe interesting nonetheless.
Any ideas that would help me with the above I will be very eager to listen to.
Regards,
John
FOLLOW US
Get the latest news in Application Packaging