Quantcast
Channel: Flexera Community Forums
Viewing all articles
Browse latest Browse all 4553

Deleting unused files at end of Installation.

$
0
0
Hello All,

I have what should be a basic question... We have a complex logic structure to remove unused files based on how an xml file is generated. But basically we want to remove unused files. So since this logic is quite complex, i put it into a c# console application.

I call in the deferred in system context custom action, exe type, installed with product. (I'm using a basic MSI project).

When i call the exe, no files are deleted. However, when the installation is completed, and i double click the exe console app, the files are being deleted, no problem.

Is this because the installer has a hold on the files until the installation is 100% complete? I can't quite figure out what is going on. I've tried calling it in the Deferred sequence, Deferred in System Context.

Please advise.

TIA

Viewing all articles
Browse latest Browse all 4553

Trending Articles