I’m trying to make a Windows batch file that will download and install some extensions. From the Server Admin Guide, I tried the code below:
echo Setting up KNIME extensions. Please wait…
call knime.exe -nosplash -consoleLog -application org.eclipse.equinox.p2.director^
Yet it doesn’t seem to download from the repository.
There might be something wrong in the syntax.
I’m currently reading the p2_director guide. But if you have had the similar situation and solved it, please share.
quick update: opening command prompt, navigating to the folder of knime.exe and manually executing:
knime –nosplash –consolelog -application org.eclipse.equinox.p2.director -r http://update.knime.com/analytics-platform/4.0,http://update.knime.com/community-contributions/trusted/4.0,http://download.nodepit.com/palladian/4.0,http://update.knime.com/partner/4.0 -i org.knime.features.datageneration.feature.group,org.knime.features.expressions.feature.group -d C:/MyFolder/KNIME
a new CMD window is opened and it executes and installs the extensions as expected… but when placing the command in a batch file, it doesn’t seem to execute (and the new window doesn’t open)… I may have missed some syntax when placing the command in a batch file…
hope this helps add clarity…
Try quoting the values of the
-d arguments. Also the following arguments might be useful:
-profile KNIMEProfile -profileProperties org.eclipse.update.install.features=true
although if it works without…!
Hi there @codvknime,
just to check are you installing extensions for Analytics Platform or Server when you mentioning Server Admin Guide?
I’m just making a batch file to automate my local install of KNIME extensions… I’ve read the Server Admin Guide for the command syntax…
I’ve managed to make it work; I had a typo on the hyphen when entering my arguments… Windows command doesn’t recognize some forms of hyphens…
And yes @s.roughley, it works without the quotes!
I’ll post the batch file tomorrow, it’s on my other laptop… Hope it solves some similar problems. In the meantime, please don’t close this thread.
ok. I see. Nice one catching that
Don’t worry. Topic will be open. At least for another 6 months if you don’t mark reply as a solution
Here’s the content of the batch file; Hope it helps similar issues on installing extensions using a batch file for Windows…
install_KNIME_extensions.txt (1.2 KB)
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.