Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't install offline #242

Open
pjblecha opened this issue Jan 22, 2020 · 3 comments
Open

Can't install offline #242

pjblecha opened this issue Jan 22, 2020 · 3 comments

Comments

@pjblecha
Copy link

Is there any way someone could put together a comprehensive list of all necessary tools and packages needed to install this offline? My SharePoint instance is on a private network and I can't connect it to the internet. At. All.
Thanks.

@wobba
Copy link
Collaborator

wobba commented Jan 22, 2020

Could you specify which solution/tool you are asking about?

@pjblecha
Copy link
Author

pjblecha commented Jan 30, 2020

Sure, I thought that was obvious since I'm on the PnP-Tools site. I installed the SharePointPnPPowerShell2016.msi and then I was using the directions found at https://social.technet.microsoft.com/wiki/contents/articles/36862.sharepoint-2016-how-to-implement-responsive-ui.aspx to try to install the SharePoint.UI.Responsive namespace to my site collection. The error I receive indicates that I don't have Connect-PnPOnline installed; this is an on-premises instance so I won't be going online and I have no way to auto-connect to Github from my detached network to get that tool. So, rather than go through hundreds of iterations of dependencies that are missing (because it is a network that is not online), I would like to just step through the process manually to get this installed.

@pjblecha
Copy link
Author

Got it! I figured out the issue and got it to work. The solution was:

Install the SharePointPnPPowerShell2016.msi from within the PowerShell window that is running as the context of your farm administrator (i.e., the SharePoint Management Shell, Run as Administrator, log in as your farm admin account, then run the MSI from command line); when it launched the installer, click the Advanced button, then select Install Just For You (for whatever reason, installing to the machine for all accounts doesn't work), complete the install as normal, then restart your Powershell session and the Connect-PnPOnline namespace should be available.

Hopefully this is useful to other on-premises users of SharePoint who would like to install the Responsive UI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants