We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

oxhey
Posts: 5
Joined: Mon Nov 10, 2014 10:38 am

Prerequisite Install Location

I have an application that will download a module from a server . This module is a msi package that the user is able to select in the main installation .

The problem im having is that if the user changes the install path of the main application , the module does not go to that path. Instead it goes to the default C drive.
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Prerequisite Install Location

Hi and welcome to Advanced Installer forums.

In order to use the main installer's path to the MSI package that is downloaded, you can send it through command line. If your downloaded MSI is installed as prerequisite (in the Prerequisites page), you can write that command in the "Install Command Line" fields from the "Setup File" tab.

However, you need to know the command that can be used to set the installation path of the downloaded MSI (it depends on the MSI authoring tool that it was created with).

For example in an MSI package created with Advanced Installer, the installation path is stored in the [APPDIR] property and you can set that property from command line as follows: APPDIR="C:\MyPath" or APPDIR="[APPDIR]" (the installation path of the main installer is set to the downloaded MSI).

Let us know if this helped, otherwise give us more details about your scenario.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
oxhey
Posts: 5
Joined: Mon Nov 10, 2014 10:38 am

Re: Prerequisite Install Location

Thank you !!

It worked . Thanks for the quick response and the great product.
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Prerequisite Install Location

You're welcome. I'm glad you got this working.

Just let us know anytime you need help.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”