Dear Jab,
those files will not be removed during un-install because are not part of your install process database.
It is true that the IA documentation about the command reports; "the files copied/moved by the command will be uninstalled normally without requiring manual deletion under NATIVE ENGINE" ... but with your approach, you are still using the Windows Installer Engine.
Because I suppose that it is your intention to continue to use the Windows Installer Engine, you must delete those files at un-install time via script and I may suggest you the following approach.
At Install Time:
Code: Select all
Apply Install (get result into variable SUCCESS)
Set Variable NATIVE_ENGINE to TRUE
Does Folder Exist $EXEDIR$\AuxFiles (get result into variable AUXFILES)
if Variable AUXFILES Equals TRUE
Does File Exist $EXEDIR$\AuxFiles\logo.png (get result into variable LOGOFILE)
if Variable LOGOFILE Equals TRUE
Copy Local Files $EXEDIR$\AuxFiles\logo.png to $TARGETDIR$ end
end
Set Variable NATIVE_ENGINE to FALSE
At Un-Install Time:
Code: Select all
Set Variable NATIVE_ENGINE to TRUE
Delete Files $TARGETDIR$\logo.png
Set Variable NATIVE_ENGINE to FALSE
Apply Uninstall (get result into variable SUCCESS)
With the above approach, the NATIVE ENGINE is only enabled in order to permit the immediate execution of the Windows Installer Commands (Purple Commands); Copy Local Files and Delete Files.
Hope this helps you.