Installation order (purple and black commands)
Posted: Wed Jul 13, 2011 3:05 pm
Using Installaware 11.
Let's say I have the following commands:
Basicly two purple Copy Local Files commands on a folder.
Then the third command is a black Recursively Delete Files command on the same folder.
Then the fourth command is a green Call DLL Function command which removes that folder.
These are in the Perform First Time or Maintenance Installation region.
My understanding are the purple commands don't happend until after the Apply Install... but the black and green ones happen immediately.
So should I be doing the sequence of commands I have done above??? Or should the black Recursively Delete and gree Call DLL Function be called after the Apply Install has completed?
Thanks,
Greg
Let's say I have the following commands:
Code: Select all
~InstallAware Clipboard Data~
~Call DLL Function~
~{E049EA28-833C-41A0-B27B-96D6E3E6DD33}~
~kernel32.dll,RemoveDirectoryA,void,,"pointer to string",$BAMPACOMPATIBILITYLOCATION$,$~
~mIDEFunc.dll\mEXEFunc.dll~
~Delete Files Recursive~
~{37F6EE1C-0E6E-4CED-9054-6D1186594963}~
~$BAMPACOMPATIBILITYLOCATION$\~
~Copy/Move Local Files~
~{B1923F75-AE5C-470C-87A6-7F8F458661C2}~
~$BAMPACOMPATIBILITYLOCATION$~
~*.*~
~$BAMPAAPPDATA$.OLD~
~~
~TRUE~
~FALSE|FALSE~
~Copy/Move Local Files~
~{E3B55510-47D3-4C3F-9E80-C224F227BDBD}~
~$BAMPACOMPATIBILITYLOCATION$~
~*.*~
~$BAMPAAPPDATA$~
~~
~TRUE~
~FALSE|FALSE~
Then the third command is a black Recursively Delete Files command on the same folder.
Then the fourth command is a green Call DLL Function command which removes that folder.
These are in the Perform First Time or Maintenance Installation region.
My understanding are the purple commands don't happend until after the Apply Install... but the black and green ones happen immediately.
So should I be doing the sequence of commands I have done above??? Or should the black Recursively Delete and gree Call DLL Function be called after the Apply Install has completed?
Thanks,
Greg