Friday, October 7, 2016

Windows 10 - Canon MF Toolbox fix for MF4730dn Scanner


Start> in the run box type. Services.msc

Scroll down to Windows Image Acquisition (WIA)

Right click, select Properties

Check that Startup type is set to Automatic

Click Log On Tab
Check that Local System account , and Allow service to interact with desktop is checked. Hit apply.

Click Recovery...Click on window next to First Failure, Scroll to Restart the Service. Hit apply.

Monday, September 5, 2016

Installing nodejs without admin rights and behind proxy

Select directories for NODE_PATH and add it to the path

Download node-v6.5.0-win-x64.zip(or the one for your platform) from http://nodejs.org/dist/latest/ into NODE_PATH
Unzip the file into the NODE_PATH directory
remove file "npm" in the directory if you want to change the "prefix" and "cache" settings to the same directory

Use the following commands to store the proxy in configuration
    npm config set proxy http://proxy.company.com:8080
    npm config set https-proxy http://proxy.company.com:8080

After this the npm commands should go through the proxy

If you need to specify credentials, they can be passed in the url using the following syntax.
    http://user_name:password@proxy.company.com:8080

Configuration parameters can be specified using -- when executing npm. So the proxy could also be specified as follows.
    npm --https-proxy=http://proxy.company.com:8080 -g install karma

To set the npm directories use the following commands
npm config --global set prefix "C:\ProgramData\npm"
npm config --global set cache "C:\ProgramData\npm-cache"

Wednesday, February 24, 2016

Installing JDK without admin privileges


Download the JDK
ex: jdk-8u73-windows-x64.exe

Open the .exe file with 7-Zip. It contains a single file tools.zip, which contains all the files we need.
Extract the tools.zip to the desired JDK directory (e.g. “C:\Java\jdk1.8.0_73”).

Now we need to unpack a few files packed with pack200. We do that by executing this script in a console windows inside the JDK directory (e.g. “C:\Java\jdk1.8.0_73”):
1
for /R %f in (.\*.pack) do @"C:\Java\jdk1.8.0_73\bin\unpack200" -r -v -l "" "%f" "%~pf%~nf.jar"
Regard that you will have to adjust the path of the unpack200 binary (“C:\Java\jdk1.8.0_73\bin\unpack200”) to your chosen directory.

Tuesday, February 9, 2016

Installing Python Without Admin Access

Download the install msi package

Ex: python-2.7.11.msi

Install python using the msiexec command line

msiexec /a python-2.7.11.msi TARGETDIR=C:\MyBin\Python27 ADDLOCAL="all"

Installing pip from behind a proxy

Download get_pip.py

set environment variable
set http_proxy=http://server.proxy.com:port
set https_proxy=https://server.proxy.com:port

Execute
python get_pip.py

pip is installed under Scripts folder


Saturday, January 23, 2016

Installing SourceTree without Admin Privileges

To extract files from SourceTreeSetup_1.6.12.exe file at the command line, type:
SourceTreeSetup_1.6.12.exe /extract
msiexec /a SourceTreeSetup_1.6.12.msi /qb TARGETDIR="%temp%\SourceTree"
xcopy "%temp%\SourceTree" "drive\PortableApps\SourceTreePortable\App\SourceTree" /S
rmdir "%temp%\SourceTree" /S