Uninstallation of local files
Posted: Tue Aug 26, 2014 8:39 pm
I am copying some local files during installation. I understand from the documentation that, in order to have the files uninstalled automatically, I need to use the native engine. So, I tried this:
Unfortunately, logo.png is not removed during uninstall. What am I doing wrong?
Thanks!
JAB
Code: Select all
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
Apply Install (get result into variable SUCCESS)
Unfortunately, logo.png is not removed during uninstall. What am I doing wrong?
Thanks!
JAB