Laurin
Posts: 58
Joined: Thu Jun 12, 2008 4:27 pm

Installing from a Network drive

Hi guys,

The following scenario:
We have a client / server application.

The server setup includes the client application setup. If the server is installing, the user can choose a place to extract the client setup (most likely a network share). So the normal client setup.exe is extracted to this share. But if we want to install the setup from a user pc, started from the network share, there is always a error message like this ' can not access \\server\\client_setup\\App.config ' while installing.
The client setup has also two files in the same directory which are copied by a File Operation into the application directory - one of file is the app.config. If I copy the hole client setup folder local, everything works fine. Do you have any idea? Can a file operation not copy something from the network dir?

kind regards
laurin
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Installing from a Network drive

Hi Laurin,

Please note that the copying operation runs under the local SYSTEM account, not the currently logged in account. Perhaps the server does not grant read access to this account?

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
Laurin
Posts: 58
Joined: Thu Jun 12, 2008 4:27 pm

Re: Installing from a Network drive

The share is set to everyone read.... that should suffice... any further idee?
Laurin
Posts: 58
Joined: Thu Jun 12, 2008 4:27 pm

Re: Installing from a Network drive

Hi together,

Attached there is a verbose log.
It's not possible that's a network issue, because we tested it in four different networks :-)
Attachments
msilog.log
Verbose Log
(93.84 KiB) Downloaded 593 times
JDMils
Posts: 50
Joined: Tue Aug 10, 2010 12:42 pm

Re: Installing from a Network drive

Have a look here:

http://support.microsoft.com/kb/886549

Does it happen on all workstation trying to access the shared folder?
Can you write to the shared folder from each workstation? I would set Everyone rights to Full to test if it is a permissions issue.
Are you installing from a UNC path or connected network drive? What happens when you run the install located locally on the workstation?

You might try to create a new AI project, but very simple where it only installs a single exe. If that works, progressively add to the project and re-install until you find why your project is crashing.
Laurin
Posts: 58
Joined: Thu Jun 12, 2008 4:27 pm

Re: Installing from a Network drive

I tried to set full permissions.... failed
I tried to map as a network drive... failed

It seems that a copy file operation in AI can not copy from a network location... is that possible?
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Installing from a Network drive

Hello,

Your installer seems to be breaking during the CostFinalize step. Perhaps you have a property based folder which is not correctly configured?
Also, try making a new installer responsible just with the copy operation. Keep it as simple as possible, to test if the copy succeeds.
If you still can not troubleshoot the issue, please send your .aip project file to support at advancedinstaller dot com

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
Laurin
Posts: 58
Joined: Thu Jun 12, 2008 4:27 pm

Re: Installing from a Network drive

Thank you. You are right i have a property based folder.
I will try to reconfigure it. if it does not work, i'll send you my aip.
thanks!

Return to “Common Problems”