Amazon.com Widgets misc

WilliaBlog.Net

I dream in code

About the author

Robert Williams is an internet application developer for the Salem Web Network.
E-mail me Send mail
Go Daddy Deal of the Week: 30% off your order at GoDaddy.com! Offer expires 11/6/12

Recent comments

Archive

Authors

Tags

Code Project Associate Logo

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.


Installing 32 bit software supplied with a .inf file on 64 bit Windows

Back in the days before Windows had UAC and 64 bits it was possible to distribute simple software, such as the lossless video codec Huffyuv without an installer. All you needed was the dll and an .inf file. To install it you would simply right click on the .inf file and click install, and windows would take care of copying the dll to the system folder, registering it and creating a few registry keys for you. Sadly those days are gone. If you download the Huffyuv codec today for your 64 bit version of Windows, extract the files and try that method of install, you won't see any error messages, but that codec will not appear in your list either.

To install it, you will need to open a command prompt and be logged in with a user account that has administrative privileges.

  • Go to the Start menu/button > All Programs > Accessories and right click on Command Prompt then Left Click on "Run as Administrator".
  • A little black DOS window should appear that will say "Administrator Command Prompt" at the top.
  • In this example we are assuming that your copy of Windows was installed to the standard directory (C:\Windows), and that you extracted the huffyuv files to a folder on your c drive called "downloads". navigate to the SysWOW64 folder by typing: cd c:\windows\syswow64 and then press enter.
  • Again, in the DOS box, type rundll32.exe setupapi.dll,InstallHinfSection DefaultInstall 0 c:\downloads\huffyuv.inf and press enter. Pay close attention to the spacing (or lack thereof). And that's a "zero" in the last half of the command, not the letter "O". There's no space around that comma. What you type has to match perfectly.
  • If there are no error messages, then it has installed correctly.

Tags:
Categories: misc | Windows
Posted by Williarob on Wednesday, July 24, 2013 5:44 PM
Permalink | Comments (0) | Post RSSRSS comment feed

ISO to USB Flash Drive

If you have a laptop or a mini computer without a cd/dvd-rom drive, or your CD/DVD-ROM drive simply broke but you need to use a bootable cd, you can substitute a USB flash memory stick or pen drive in its place. Obviously, if you don't already have an ISO image of your disc, you will need to use another computer that has a functioning CD/DVD-ROM drive to create one. To do this, use some sort of CD Burning software such as Slysoft CloneCD, Nero Burning Rom, etc. to create your ISO image. Then all you need to do download a tool like UNetbootin or BootMyIso and follow the onscreen instructions to make your bootable Flash drive. These tools were designed to create Live versions of Linux, but they do work equally well with any bootable ISO image such as your Windows operating system disk, or Symantec Ghost Recovery disc. Just to be clear, they will not make Windows run live from a USB stick in the same way you can run Ubuntu from a flash drive, but they will allow you to boot your PC into the setup screens required to install Windows on your system in just the same way you could with the original CD and an optical drive.


Posted by Williarob on Monday, March 22, 2010 9:43 AM
Permalink | Comments (0) | Post RSSRSS comment feed