Accessing a file from a shared location - Advanced Installer Community
aexyr
Posts: 1
Joined: Thu Feb 13, 2020 1:10 pm

Accessing a file from a shared location

Hello all ! I am new to Advanced Installer and trying to create a new MSI. The conditions presented to me are such that. The dialog box will ask me to enter the PC name which will have a shared folder. In the shared folder there will be a particular file. If that file exists, than only the installation should proceed and the installation should also provide the user with the capability to create a mapped drive with a default letter of 'V', if that drive option is not available than the user should also be able to provide other drive letters.

So, how can I achieve this, starting with, checking of the file in the specified PC name ? Kindly guide me through the process.
Catalin
Posts: 7852
Joined: Wed Jun 13, 2018 7:49 am

Re: Accessing a file from a shared location

Hello and welcome to Advanced Installer forums,

First of all, please accept my apologies for the delayed reply, but we were quite busy lately.

In what regards your first request, this can be achieved using the following:

- Search

- A custom launch condition based on our search

Basically, the search will be looking for our file and, if the file is not found, the launch condition will fail the installation.

In what regards your second request (about the new partition), I am afraid Advanced Installer does not support such scenario.

However, this may still be achievable through a custom approach (e.g. a script/executable/dll that can create the drive based on your condition).

Hope this helps.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”