How to Install Windows 7/ Vista from USB Drive

Requirements:
– USB Flash Drive (Minimum 4GB)
– Windows 7 or Vista installation files.
– Windows & or Vista machine

Follow the below steps to create bootable Windows 7/Vista USB drive using which you can install Windows 7/Vista easily.

1. Plug-in your USB flash drive to USB port and move all the contents from USB drive to a safe location on your system.

2. Open Command Prompt with admin rights. Use any of the below methods to open Command Prompt with admin rights.

*Type cmd in Start menu search box and hit Ctrl+ Shift+ Enter.

Or

*Go to Start menu > All programs > Accessories, right click on Command Prompt and select Run as administrator.

3. You need to know about the USB drive a little bit. Type in the following commands in the command prompt:

First type DISKPART and hit enter to see the below message.

Next type LIST DISK command and note down the Disk number (ex: Disk 1) of your USB flash drive. In the below screenshot my Flash Drive Disk no is Disk 1.

Instructions1

4. Next type all the below commands one by one. Here I assume that your disk drive no is “Disk 1”.If you have Disk 2 as your USB flash drive then use Disk 2.Refer the above step to confirm it.

So below are the commands you need to type and execute one by one:

SELECT DISK 1

CLEAN

CREATE PARTITION PRIMARY

SELECT PARTITION 1

ACTIVE

FORMAT FS=NTFS

(Format process may take few seconds)

ASSIGN

EXIT

Don’t close the command prompt as we need to execute one more command at the next step. Just minimize it.

5. Next insert your Windows7/Vista DVD into the optical drive and check the drive letter of the DVD drive. In this guide I will assume that your DVD drive letter is “D” and USB drive letter is “G” (open my computer to know about it).

Instructions2

6. Maximize the minimized Command Prompt in the 4th step.Type the following command now:

D:CD BOOT and hit enter.Where “D” is your DVD drive letter.

CD BOOT and hit enter to see the below message.

7. Type another command given below to update the USB drive with BOOTMGR compatible code.

BOOTSECT.EXE/NT60 G:

———————————–

Where “G” is your USB drive letter. Once you enter the above command you will see the below message.

8. Copy your Windows 7/Vista DVD contents to the USB flash drive.

Instructions

9. Your USB drive is ready to boot and install Windows 7/Vista. Only thing you need to change the boot priority at the BIOS to USB from the HDD or CD ROM drive. I won’t explain it as it’s just the matter the changing the boot priority or enabling the USB boot option in the BIOS.

Note: If you are not able to boot after following this guide means you haven’t set the BIOS priority to USB. If you got any problem in following this guide feel free to ask questions by leaving comment.
———————————–
Source:

http://www.intowindows.com/how-to-install-windows-7vista-from-usb-drive-detailed-100-working-guide/

Advertisements

Update Visual Studio 2005 in Windows 7 / Windows Vista

There are some Issues when running Visual Studio 2005 in windows Vista and Windows 7
after hours of searching the net I come up with this walkthrough on VS2005 update.

Visual Studio 2005 is supported on Windows 7 with the some limitations.To use Visual Studio 2005 on Windows 7 you will need to install both Visual Studio 2005 Service Pack 1 and the Visual Studio 2005 Service Pack 1 Update for Windows Vista.

While Microsoft have made tremendous investments in Windows Vista to ensure backwards compatibility, some of the system enhancements, such as User Account Control, changes to the networking stack, and the new graphics model, make Windows Vista behave differently from previous versions of Windows.

However, your existing .NET Framework 1.1 and 2.0 based applications will continue to work on Windows Vista, and will be able to take advantage of many of the new features available to Windows Vista applications.

If you install first

Visual Studio 2005 Service Pack 1 Update for Windows Vista

(VS80sp1-KB932232-X86-ENU.exe – 28.9 MB)

This Error Message will apear
“The upgrade patch cannot be installed by the Windows Installer service because the program to be upgraded may be missing, or the upgrade patch may update a different version of the program. Verify that the program to be upgraded exists on your computer and that you have the correct upgrade patch.”

So follow this Step by Step instructions:

1. Download
Microsoft® Visual Studio® 2005 Team Suite Service Pack 1
VS80sp1-KB926601-X86-ENU (431 MB)

Visual Studio 2005 Service Pack 1 Update for Windows Vista
VS80sp1-KB932232-X86-ENU.exe (28.9 MB)

This download installs Service Pack 1 for Microsoft® Visual Studio® 2005 Team Suite. Fixes in this Service Pack include stability, performance and security enhancements made in many areas of the product. A comprehensive list of fixes requested by customers since the release of Visual Studio® 2005.

available at the microsoft downloads website
http://www.microsoft.com/downloads

2. Run as Administrator
VS80sp1-KB926601-X86-ENU.exe

Just Click OK, then I accept, then wait

Just Click OK

If the machine participated in the Visual Studio 2005 Service Pack 1 Update for Windows Vista Beta, please be sure to uninstall the beta first.
See Visual Studio 2005 Service Pack 1 Update for Windows Vista download page for more details.

then also run as administrator – VS80sp1-KB932232-X86-ENU.exe

Just Click OK, then I accept, then wait

Just Click OK and you’re done.

Additional Information:

If VS 2005 Professional, Visual Web Developer Express, and Visual Basic Express is installed on your system, it will run the patching process 3 times (since each of these installs have separate copies of some files). If you aren’t using all of these versions on your system, you might want to uninstall some of them – both to save yourself some disk space as well as to speed up the SP1 install process.

SP1 will patch/update all files/features in VS 2005 that you have installed. Sometimes I just click “install everything” when I setup VS 2005, in which case I get a lot of features that I often don’t use (for example: some of the C++ header/lib sources for ATL, MFC, etc). What I’ve seen on my personal system is that when I only have the features I use installed, the SP1 upgrade process takes about 15 minutes end to end. But with everything it can take closer to 45-50 minutes. You might want to consider unchecking certain features of VS if you aren’t using them and want to both save some disk space as well as speed up the SP1 install process

from reghakr from http://windows7forums.com/

Purefoods PBA Champions 2010

I have just watched the PBA finals in Solar TV Channel 9 , after the long wait the Purefoods Giants was crowned as the PBA Champions.

Purefoods PBA logo

I was hoping that Alaska should have extended the series to at least a game 5 , to avoid a championship game sweep of 4-0.

Purefoods Won over the Rain or shine team in the quarter finals and continue to dominate over the San Miguel Beermen in the Semis.

James Yap

James Yap was named as the conference and finals MVP – Most Valuable Player. I will also acknowledge the energy of the rookie Rico Maierhofer , and the good shooting of Kerby Raymundo.

Hoping for another good PBA season to start this March 21,2010.

The Scores:

Pureoods 86 – Yap J. 18, Yap R. 16, Raymundo 13,
Maierhofer 12, Pingris 9, Simon 5, Reavis 5, Canaleta 3, artadi 3, Salvador 2, Allado 0.

Alaska 76 – Thoss 19, Miller 17, Tenorio 11,
Hugnatan 9, Cariaso 5, De Vance 4, Fonacier 4,
Dela Cruz 4, Ferriols 2, Cablay 1, Borboran 0.

Quarters: 21-15, 40-40, 65-58, 86-76

PHP Tutorials Part 1

PHP Basic Tutorial

This is a compilation of syntax on the basics of the PHP languange much like C

PHP stands for PHP Hypertext Preprocessor.

PHP syntax is enclosed in
<?php
Your code goes starts here
Your code goes ends here
?>

Outputting a string

$myString = “Hello World!”;
echo $myString;

String Creation Heredoc

$my_string = <<<TEST
Put Text Here
TEST;
echo $my_string;

Operators

Assignment Operators (=)
Arithmetic Operators (+,-,*,/,%)
Comparison Operators (==,!=,,=)
String Operators Concatenate (.)
echo $string1 . $string2
Combination Arithmetic & Assignment Operators(+=,-=,*=,/=,%=,.=)
Pre/Post-Increment ($x++,$x–)
Pre/Post-Decrement (++$x,–$x)

Comments

Single line (//,#)
Multiline (/* …….. */ )

Php Include and Require

include(“menu.php”);
require(“menu.php”); – much recommended

If Statement

$x = “PHP”;
if($x == “PHP”){
echo “Hello PHP”;
} elseif($x == “HTML”){
echo “Hello HTML”;
}else {
echo “Hello Other Languange”;
}

Switch Statement(default is optional)

$x = 1;
switch ($x){
case 1:
echo “1 is chosen”;
break;
case 2:
echo “2 is chosen”;
break;
default:
echo “default output”;
break;
}

there are more codes to come and the installation process.

from
Tizag Tutorials