amurphy100
Posts: 12
Joined: Mon Jan 15, 2007 12:41 pm

Launch one install from within another install

:? Hi There,

I am using the prerequesit area to specify that another application must be installed. If the other application is not available it launches an MSI install for the product.

This all works great but I would like to specify the default install folder on the launched MSI to be the windows programfilesfolder . Is there a way i can specify this perhaps using a command line?

Many thanks in advance to any help
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

The installation folder can be configured from "Install Parameters" page "Application Folder" field.

You can set it via command line like this: APPDIR="C:\".

Best Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
amurphy100
Posts: 12
Joined: Mon Jan 15, 2007 12:41 pm

Many thanks for the command line parameter. Is there a way of passing in that the installer should use the programfiles folder

i.e something line

APPDIR=%ProgramFilesFolder%\myapp\

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

Hi,

I'm afraid that you cannot set a property with the value of other property from command line. Windows Installer interpret the value to be set as plain text.

But for what you need to set the value of APPDIR from command line since you can configure it in the "Install Parameters" page or you can set it with a custom action.

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

Return to “Common Problems”