To play with Azure on visual studio 2010, the cloud service project page will give you a button to download Windows Azure Tools For Microsoft Visual Studio.
As my OS is Windows XP, the install program will give me a error page saying "To install this software, you must be running a 32-bit edition of Windows Server 2008 or a 32-bit edition of Windows Vista with Service Pack 1."
A search on this topic took me to here . I followed the steps in this post to be able to install the tools on XP.
1. Create an empty directory somewhere on your file system called Exported.
2. Navigate to the Tools folder under the install directory for the Windows Installer SDK.
In my case, this is under C:\Program Files\Microsoft SDKs\Windows\v7.0A\bin
3. Launch MsiDb.exe
4.) In the MsiTable - Select Database for Import/Export dialog, browse to and select the WindowsAzureSDK-x86.msi file.
5.) In the MsiTable - Select Folder containing Text Files dialog, browse to and select the Exported directory you created earlier.
6.) In the MsiTable - Database table import/export window, click the Export radio button.
7.) In the list, select LaunchCondition, and then click OK.
8.) Click the Quit button.
8.) Open "...\Exported\LaunchCondition.idt" in Notepad
9.) Remove the following lines in this file:
(VersionNT = 600 AND ServicePackLevel >= 1) OR (VersionNT > 600) To install this software, you must be running a 32-bit edition of Windows Server 2008 or a 32-bit edition of Windows Vista with Service Pack 1.
IISVERSION AND ASPNET To use this software, you must enable Internet Information Services 7.0 with ASP.NET support. See the product release notes for details.
10.) Save the file.
11.) Navigate to the Tools folder under the install directory for the Windows Installer SDK
12.) Launch MsiDb.exe
13.) In the MsiTable - Select Database for Import/Export dialog, browse to and select the WindowsAzureSDK-x86.msi file.
14.) In the MsiTable - Select Folder containing Text Files dialog, browse to and select the Exported directory you created earlier.
15.) In the MsiTable - Database table import/export window, click the Import radio button.
16.) In the list, select LaunchCondition.idt, and then click OK.
17.) Click the Quit button.
18.) Launch the WindowsAzureSDK-x86.msi file, and enjoy.
Tuesday, May 25, 2010
Thursday, May 13, 2010
How to remove ANTI MALWARE DOCTOR
- 重启到安全模式, 删除对应的文件和注册项
- 注意病毒文件是隐藏的, 要在"Folder Options"里显示隐藏文件才能看到病毒文件
- 如果注册表工具已经被禁止
\enemies-names.txt \Antimalware Doctor.exe
HKEY_CURRENT_USER\Software\Antimalware Doctor Inc\Antimalware Doctor
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Uninstall\Antimalware Doctor
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run "Antimalware Doctor.exe"
如果"Folder Options"被禁止, 使用如下注册表恢复:
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoFolderOptions"=dword:0000000
[HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Restrictions]
"NoBrowserOptions"=dword:00000000
把以下内容存成vbs后缀的文件, 并运行它:
'Enable/Disable Registry Editing tools
'?Doug Knox - rev 12/06/99
Option Explicit
'Declare variables
Dim WSHShell, n, MyBox, p, t, mustboot, errnum, vers
Dim enab, disab, jobfunc, itemtype
Set WSHShell = WScript.CreateObject("WScript.Shell")
p = "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System\"
p = p & "DisableRegistryTools"
itemtype = "REG_DWORD"
mustboot = "Log off and back on, or restart your pc to" & vbCR & "effect the changes"
enab = "ENABLED"
disab = "DISABLED"
jobfunc = "Registry Editing Tools are now "
'This section tries to read the registry key value. If not present an
'error is generated. Normal error return should be 0 if value is
'present
t = "Confirmation"
Err.Clear
On Error Resume Next
n = WSHShell.RegRead (p)
On Error Goto 0
errnum = Err.Number
if errnum <> 0 then
'Create the registry key value for DisableRegistryTools with value 0
WSHShell.RegWrite p, 0, itemtype
End If
'If the key is present, or was created, it is toggled
'Confirmations can be disabled by commenting out
'the two MyBox lines below
If n = 0 Then
n = 1
WSHShell.RegWrite p, n, itemtype
Mybox = MsgBox(jobfunc & disab & vbCR & mustboot, 4096, t)
ElseIf n = 1 then
n = 0
WSHShell.RegWrite p, n, itemtype
Mybox = MsgBox(jobfunc & enab & vbCR & mustboot, 4096, t)
End If
Subscribe to:
Posts (Atom)