How to Delete file during post install?


I am using Wise Package Studio to repackage one of the application. This installs one dll file in System32 folder but I need to delete after installation is completed.

Tried with RemoveTable entries but did not work out. File is still present.

The file is getting deleted during uninstallation but I want to delete at the end of installation. fyi.

Your help would be greatly appreaciated!!!


0 Comments   [ + ] Show comments

Answers (3)

Posted by: mekaywe 13 years ago
Brown Belt
Write a CA to delete the file and condition it with "Not Installed"
Posted by: AngelD 13 years ago
Red Belt
Why install it if you don't want to have it installed?
The RemoveFiles action is sequenced prior to InstallFiles action, that is why the file is still "installed".
Posted by: WSPPackager 13 years ago
Senior Purple Belt
Hi All,

I got it done with CA. Thank you very much for your help.

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login


This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ