pete Posted September 29, 2015 Posted September 29, 2015 Has anyone got this working via SCCM yet? Looking at it, it should work as a standard NSIS package (installername.exe /S) but it's hanging on what looks like an elevation dialogue (doesn't error out, just sits there until the process is killed). Pushed out via psexec, (psexec \\computername -s "\\server\share\folder\installername.exe" /S) I see the same behaviour. If the silent install is launched manually from an already-elevated command prompt it works. Looking on the Jetbrains KB I've seen a couple of threads with the same issue, but no response. I'm leaning towards "terrible installer that I'll need to edit", but just wondered if anyone else has had and fixed this?
sturgeo Posted October 2, 2015 Posted October 2, 2015 Same issue here, i contacted them asking about network deployment and got this reply: There is no msi packages. There is an option for silent installation http://devnet.jetbrains.com/docs/DOC-242 which can be used. License is stored in the config directory which is different for every user: http://intellij-support.jetbrains.com/entries/23358108 . You may need to use the license server or change the config directory configuration so that it's the same for all the users: http://intellij-support.jetbrains.com/entries/23348963 . See Home - License Server - Confluence for the license server. 1
pete Posted January 5, 2016 Author Posted January 5, 2016 (edited) Just a note about this (manually deployed the last lot and bundled it with an image). Assuming you're using a proxy (I'm giving the devs the benefit of the doubt and assuming that without a proxy it would work). From an elevated local prompt, Installername.exe /S will result in a "python.txt is invalid. Python will not be downloaded" prompt. It will then install cleanly. Looking here: git.jetbrains.org - idea/community.git/blob - python/edu/build/idea.nsi 918 getPythonFileInfo: 919 inetc::get "http://www.jetbrains.com/updates/python.txt" "$TEMP\python.txt" 920 ${LineSum} "$TEMP\python.txt" $R0 921 IfErrors cantOpenFile 922 StrCmp $R0 ${PYTHON_VERSIONS} getPythonInfo 923 cantOpenFile: 924 MessageBox MB_OK|MB_ICONEXCLAMATION "python.txt is not exist. Python will not be downloaded." 925 goto association it appears that if it can't download and then read $TEMP\python.txt it breaks the "silent" nature of the installer to tell you, causing unattended installs to hang. In an ideal world, it would check for a python version locally (where python), check whether Pycharm works with it and just silently install or sling an error in the application log. Edited January 5, 2016 by pete
pete Posted January 5, 2016 Author Posted January 5, 2016 Thinking about it, set a pre-install task that just creates python.txt? Initially as a blank file, then add actual info if it still squawks about it?
Bladez Posted June 28, 2016 Posted June 28, 2016 did anybody ever get this working, what a nightmare. just managed to finally get the license server up and running, and auto discovered. But i cannot get a silient install to push out. And they say this version is easier to deploy than others. I think they are just Nelson Thornes under another name.
pete Posted June 29, 2016 Author Posted June 29, 2016 ^ From memory, regardless of where I put python.txt (downloaded from Internet) as part of the package, it still squawked if it couldn't pull the one from the Internet at install time. I suppose you could edit the installer to remove that check (and set python as a dependency package in SCCM/WPP so it ensured a version of Python was installed), but it's on my "probably will do, but not important right now" list. A possible quick-and-dirty hack would be to point JetBrains: Development Tools for Professionals and Teams to an internal webserver with an "updates" folder holding the correct python.txt while you're deploying it.
Bobby_Moore Posted July 11, 2016 Posted July 11, 2016 The dirty hack doesn't work, thought i'd let people know I guess the local service needs access to it, so would probably work with a 'netsh winhttp set proxy' command. Not feasible solution mind.
pete Posted July 11, 2016 Author Posted July 11, 2016 Yeah, it was an outside chance and you'd end up having to mirror python.org etc... I emailed Jetbrains support (they sent me a "how are we doing?" email) and my request was tagged onto the end of the ticket here: https://youtrack.jetbrains.com/issue/IDEA-144263
FWBD Posted November 27, 2018 Posted November 27, 2018 Bit late to the party on this one but we've recently got PyCharm and I can deploy it silently and manually licence it but I'd like to automate the licence server process. Has anyone had any luck with this?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now