kietvta
Posts: 16
Joined: Thu Dec 08, 2016 8:44 am

Error "Could not access network location WindowsVolume"

Hi all

I add a Dialog for user to select a second installation folder during the installation, in addition to the Application Folder. I did that as the following instruction: http://www.advancedinstaller.com/user-g ... older.html but it raised
an error "Could not access network location WindowsVolume". How can I solve it?
Please see my .api attachment file for details.

Thanks in advance.

Kietvta
Attachments
PACS WORKSTATION - Copy.rar
(66.76 KiB) Downloaded 311 times
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Error "Could not access network location WindowsVolume"

Dear Kietvta,

The error is shown from the "SetProperty" custom action. As indicated in the article, you have to set MY_DIR property to [WindowsVolume] instead of WindowsVolume.

This is because the "Value" field is formatted and the correct way to reference installer properties is between straight brackets.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
kietvta
Posts: 16
Joined: Thu Dec 08, 2016 8:44 am

Re: Error "Could not access network location WindowsVolume"

The problem was solve. Thank you so much.
May I have more question. How can I set default path value for the Folder Dialog.
Please my illustration image I attached here.

Thank you.
Attachments
dialog.png
dialog.png (36.58 KiB) Viewed 12541 times
Daniel
Posts: 8239
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Error "Could not access network location WindowsVolume"

Hello,

You can set the default path of the installation folder from "Install Parameters" page -> "Application Folder" field.

If you have any questions just let us know.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”