Hi Sheila,
1. Please see the following thread for details on replacing files:
http://www.advancedinstaller.com/forums ... .php?t=826
2. To execute a BAT file, follow the steps below:
a. Include the BAT file in your project using the Files and
Folders page of Advanced Installer.
b. Switch to the Custom Actions page and select a Standard Action
after which the BAT file will be executed. Because the file is included
with the application it has to be installed before it is executed.
Therefore you must select a Standard Action
after the
InstallFiles stage. One such action is
Commit. If you need to
select another stage of the installation process, use the Show Standard
Action toolbar button.
c. Right click on the Commit item (or the one you require) and
select Add Predefined Custom Action -> Launch File or Open URL.
d. In the Command Line field, type:
e. Alternatively, you could use the Edit button at the right to
select the BAT file you have included in step 2.a above.
f. Make sure that the Execution Option is set to "Deferred" or "Commit".
g. If necessary, set the Execution Condition to something appropriate.
Hope this helps.
Regards,
Denis