Skip to main content

Posts

InstallShield crashing when run from a remote machine using STAF

I have been using STAF/STAX for a while now as a framework on top of software test automation. When we started moving some of our tests in Windows Vista noticed that there have been cases where uninstallation of the software under test is crashing. I thought it was some component not playing well with Windows Vista but I when I tried to perform the uninstallation sequence manually everything was fine and dandy. So I started digging around and I found out that in Windows Vista, the following command may fail. C:\>staf remotemachine process start command "C:\PROGRA~1\COMMON~1\INSTAL~1\Driver\1150\INTEL3~1\IDriver.exe /M^{1CD6500F-DE1E-44AC-A279-4C85247A9A85^}" Poking around even more and I finally found a workaround, to get the above command working in Vista, do: C:\>staf remotemachine process start shell command "C:\PROGRA~1\COMMON~1\INSTAL~1\Driver\1150\INTEL3~1\IDriver.exe /M^{1CD6500F-DE1E-44AC-A279-4C85247A9A85^}" Notice the use of shell to ma

wxPython nuggets

Sample code playing around canvas, cursors, images. Another wxPython Tutorial The wxPython Tutorial - The wxPython tutorial is the largest and most advanced wxPython tutorial available on the Internet. Suitable for beginners and intermediate programmers Rubberbanding in wxPython

Add items to Vista Send To Menu

This is the Microsoft Windows Vista Send To: Adding item to Sent To menu in Vista is easy, just create an item (the item can be a shortcut, a small application, a folder etc..). The location of this folder is in: %APPDATA%\Microsoft\Windows\SendTo You can type this in Run dialog (Window+R), in Start Search box, in Windows Explorer locator bar. Another shortcut to this is : Shell:sendto As before you can type this in Run Dialog(Window+R) or Windows Search bar ~ts

Enable SVN access to Sourceforge project

SVN repository is not enabled by default when creating a project in SourceForge . To enable SVN is easy. Go to the summary page, see below for sample screen shot, then hover to Admin tab. You should see the screen below, then just enable "The following box should be checked to enable Subversion" and Update and off you go. Enjoy! TS

Changing Eclipse text editor font

Working long hours tinkering with code can greatly strain your eyes. I think this is the reason why most programmers are so picky with the font they are using. I spend quite a lot of time looking for the best font (my personal best). Proggy fonts are quite good, so is Envy Code R. But for quite sometime, I believe more than a year, I developed love and hate relationship with Consolas . This font is optimized for Microsoft ClearType. The problem is not all of the machines I used are upgraded to RDP 6.x clients. Older remote desktop clients does not support ClearType, so I have to use non-cleartype friendly fonts. Courier New is good candidate but most of the time I settle with Proggy fonts. Anyway, to use Consolas in Eclipse 3.4.1 (Ganymede) is easy and oh note that this font is designed for VS2005 and VS2008. Just hit on Windows | Prerences | General | Appearance | Colors and Fonts | Basic | Text Font. See below for screen shot where to access this option. Step 1: Window | Prefer