Set Variable PICTUREEXIST to FALSE
Does File Exist c:\\temp\\bild.bmp (get result into variable PICTUREEXIST)
if Variable PICTUREEXIST Equals TRUE
Move Local Files c:\\temp\\bild.bmp to c:\\bild.bmp
end
Delete Files c:\\temp\\*.* (when installing)
This Code cause an install Error when you running the setup because the move brings an Error that the file does't exist.
Change the Installer the Order of the commands ???
Order of Install commands ???
-
chriscraft
- Posts: 3
- Joined: Tue Oct 14, 2008 2:43 am
delete files recoursive
Hi chriscraft,
you might use the "delete files recursive" command in the "direct execute" section, but make sure to call it after "apply install".
This way, you make no assumption, in which order WindowsInstaller executes your commands.
Or you could read through the documentation of WindowsInstaller to find out exactly how it performs its operations. I read only small parts of it. It's huge and complicated.
Rgds
Richard
you might use the "delete files recursive" command in the "direct execute" section, but make sure to call it after "apply install".
This way, you make no assumption, in which order WindowsInstaller executes your commands.
Or you could read through the documentation of WindowsInstaller to find out exactly how it performs its operations. I read only small parts of it. It's huge and complicated.
Rgds
Richard

