Archive for January, 2006

Published by alax on 10 Jan 2006

Authenticode’s Signcode

Some of you may be annoyed by the way signcode.exe keeps popping up the password prompt when trying to sign file from command line. There’s a workaround, however.

The utility catches password prompt and autoenters the password. After a minute of inactivity it quits. For use in bacth files like this:

start /b AutomateSigncodePassword.exe my-authenticode-password
signcode %1 -spc mycredentials.spc -v myprivatekey.pvk -t http://timestamp.verisign.com/scripts/timestamp.dll

Download the utility (23K)

Published by alax on 08 Jan 2006

Resource Updater

Sometimes an automated update of the binary resource is required, to update version, product name, some custom string etc. We have an utility for this and and it found itsself being very useful.

We are unlikely to document it, I just leave a sample code illustrating how it all works.

Sample.js:

Image = new ActiveXObject(”AlaxInfoResourceTools.Image”);
Image.Initialize(”C:\\Sample.dll”);
WScript.Echo(”Product Version: ” + Image.VersionInfo.ProductVersionString);
WScript.Echo(”File Version: ” + Image.VersionInfo.FileVersionString);
var ProductName = Image.VersionInfo.GetString(0, “ProductName”);
var OemProductName = Image.VersionInfo.GetString(0, “OemProductName”);
WScript.Echo(”ProductName: ” + ProductName);
WScript.Echo(”OemProductName: ” + OemProductName);
Image.VersionInfo.SetString(0, “OemProductName”, “// ” + ProductName);
Image.VersionInfo.Update();
Image.EndUpdate(false);

Curious ones are invited to open type library to find out the syntax.

Download the COM object (265K)

Published by alax on 08 Jan 2006

NTFS Links

A shell extension to create soft links to directories on NTFS file system through drag and drop operation.

Screenshot 1

Drag a directory with the right mouse button and notice new context menu command “Create Soft Link” when dropping the directory.

Download the extension (269K)

Published by alax on 01 Jan 2006

Aurora DSR Links

Aurora DSR Overview at ETSI

Aurora Evaluations, papers and presentations

RFC 3557

Published by alax on 01 Jan 2006

Coctail Party Effect

A review of the cocktail party effect

« Prev