Luciano
Posts: 9
Joined: Mon Apr 10, 2006 10:07 pm

retrieve installation location path

hi,

it is possible to retrieve the location path somehow after the installation ???

cause i need the location path to run a bat files after the installation.

Thank , Luciano.
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

The path where the application is installed is given by the [APPDIR] Property. If you encounter any problems to run a BAT file after the installation take a look at this link:
http://www.advancedinstaller.com/forums ... =3870#3870

Regards,
Gigi
_____________________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
Luciano
Posts: 9
Joined: Mon Apr 10, 2006 10:07 pm

thank you for ur short notice response.

i have a another question ...

i try to run two batch files after the installation is done.
i put them in commit, its working fine.

my problem is i try to run both files one after the another batch files is finish. Because right now, they both running at the same time. and that causing me a problem ...

So, how can i tell to run two batch files one after another one at the commit state. (when the installation is done).

Thank in advance

Regards,
Luciano
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

Please tell me what "Execution Properties" you use for the CAs? If you use an "Asynchronous execution" then both CAs are executed simultaneously. To avoid this put a "Synchronous execution" as an "Execution Properties" for both CAs. In this case the CAs are executed in the order that they appears in the "Commit" section.

For a "Synchronous execution" of the CAs the main thread of the installation waits for the custom action thread to complete. If you want to read more about how to use CAs in Advanced Installer please follow this link: http://www.advancedinstaller.com/user-g ... -page.html

Regards,
Gigi
________________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com

Return to “Common Problems”