Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I use a Sharepoint server as the Source for Inno Setup files?

I'm using Inno Setup for an application setup. Many of the data files that will be included with this application are stored on a Microsoft Sharepoint server. When I try to use the path Sharepoint provides in the 'Source:'

[Files]
Source: http://teams/sm/Symbols/*; DestDir: {app}\Symbols

I get the following error on compile:

Unknown filename prefix: "http:"

How can I properly call out a Sharepoint location as the source for my data files?

I'm using Inno Setup version 5.4.2

EDIT

I know what the documentation says.
I am looking for a solution to this problem. I am using InnoSetup, the files are on SharePoint; how can I make this work?

EDIT 2

Thanks to brian brinley. Below is the exact syntax that I used in InnoSetup thanks to his answer:

[Setup]
SourceDir=\\teams\sm

[Files]
Source: \Symbols\*; DestDir: {app}\Symbols
like image 734
Stewbob Avatar asked Dec 02 '25 16:12

Stewbob


2 Answers

SharePoint Libraries support WebDav so you can go to the library that is containing your setup files and open with explorer. Since you didn't specify which version of sharepoint, here are both options.

SharePoint 2010 - open the library, click on the library tools/library tab in the ribbon, and select "Open with Explorer"

SharePoint 2007 - Open the library, click on actions and then select open with windows explorer.

Once you open in explorer you will have the path. If it opens with http:// you can simply replace with \ i.e.. \myServer\myLibraryName

like image 50
brian brinley Avatar answered Dec 05 '25 22:12

brian brinley


This is not supported by Inno Setup. You should download your files from SharePoint and then create the installer (maybe you can create a script for this).

Here's more information on what you actually can put in the [Files] section.

Web installations are not supported either: Is there a "web install" feature?

like image 44
alf Avatar answered Dec 05 '25 20:12

alf