Delete a folder help required
Hi ,
When I uninstall my msi . It is not removing the Installdir(Though all files are removed in side it ) . I have given remove file entry but still it is not working .So to counter this I have place a vbscript just before INstall finalize(No CA after the vbscript cutom action except install finalise) in execute deffered mode. But it is still not working .
I have checked it by putting after Install finalize but then the unistallation is not working. When I run the script out side the msi it is working fine.
I have tried to pause the installation so that if any custom action uses the Installdir it would be release in the mean while .But even that is not working. I have observed that the folder can be deleted only after msi uninstallation is done.
Please help how to delete the folder.
When I uninstall my msi . It is not removing the Installdir(Though all files are removed in side it ) . I have given remove file entry but still it is not working .So to counter this I have place a vbscript just before INstall finalize(No CA after the vbscript cutom action except install finalise) in execute deffered mode. But it is still not working .
I have checked it by putting after Install finalize but then the unistallation is not working. When I run the script out side the msi it is working fine.
I have tried to pause the installation so that if any custom action uses the Installdir it would be release in the mean while .But even that is not working. I have observed that the folder can be deleted only after msi uninstallation is done.
Please help how to delete the folder.
0 Comments
[ + ] Show comments
Answers (2)
Please log in to answer
Posted by:
Bula
13 years ago
Hi,
You cannot put any action after Install finalize in Deffered mode, this is reason why your MSI is not working correctly.
What you can try to create custom action in Execute Deffered, with Processing set to Asynch No wait.
Custom Action must be a vbs script with Sleep function. wscript.sleep (5500). Put enough time, to be sure that MSI will finished uninstalation process.
You cannot put any action after Install finalize in Deffered mode, this is reason why your MSI is not working correctly.
What you can try to create custom action in Execute Deffered, with Processing set to Asynch No wait.
Custom Action must be a vbs script with Sleep function. wscript.sleep (5500). Put enough time, to be sure that MSI will finished uninstalation process.
Posted by:
itolutions
13 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.