Client/Server q:use multiple input dirs & 1 output dir - Advanced Installer Community

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!

frances
Posts: 4
Joined: Sun May 01, 2011 6:13 pm

Client/Server q:use multiple input dirs & 1 output dir

Hey everyone,
I'm creating a Client/Server installer and don't quite understand how do do this.
I have an application that has two (slightly) different versions. One Client, one Server.
I have the ClientServerDlg in my AdvancedInstaller project.
The Input directories for the project look like this:
z:\ApplName\Client
z:\ApplName\Server

When the user selects the "Client" button in the "Choose Installation Type" (ClientServerDlg) I want the output path to be
z:\ApplName\Appl

in the "New Client/Server Installation Project" on the "add files and folders to client configuration" I have added the files in z:\ApplName\Client and z:\ApplName\Server in the appropriate screens. At the bottom there is a checkbox for "place resources in a customer folder" which I have checked, and I specify z:\ApplName\Appl in the "folder name" field.

However, I've found that if i have the output folder names the same the dialog disappears from my project. If I have the folder names different then two different folder names are created. Problem with that is 1) I don't want two folders created and 2) the "Exit Dialog" only allows you to specify ONE .exe file to be run at the end of the installation.

Am I just missing something simple and if so where is it?
I'm almost there....
thanks in advance for any help. :)
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Client/Server q:use multiple input dirs & 1 output dir

Hi,
When the user selects the "Client" button in the "Choose Installation Type" (ClientServerDlg) I want the output path to be
z:\ApplName\Appl
The installation path can be set in Application Folder combo from Install Parameters page.
At the bottom there is a checkbox for "place resources in a customer folder" which I have checked, and I specify z:\ApplName\Appl in the "folder name" field.
Please note that these controls are referring to the folder structure inside your installer (the ones shown in "Files and Folders" page). So for the client files you should use something like "Client Resources" and for server files something like "Server Resources".
If I have the folder names different then two different folder names are created. Problem with that is 1) I don't want two folders created
The 2 different folders are used just for structural purposes. They help you organize your installer. Like the wizard option mentions, the selected files and folders will still be installed in the target application folder, even if they are placed in separate folders in your installer.
the "Exit Dialog" only allows you to specify ONE .exe file to be run at the end of the installation.
You can edit the file path after selecting a file. Instead of using a file reference (something like [#myapp.exe]), you can use a path which looks like this:

Code: Select all

[APPDIR]myapp.exe
APPDIR is the installer property associated with "Application Folder" from Files and Folders page and it's automatically resolved during install.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”