Monthly Archives: August 2012

Activating volume licence Windows 8 from the GUI

Earlier I posted about the command line tricks required to activate Windows 8 installed from a volume licence media, because it seemed that the Change product key window is missing from the new OS (this was the case of the Activation Error: Code 0x8007232b. DNS Name does not exist – just for the search engines).

Well, the window is there, but you need a new way to display it. Here is the magic word you can enter into a Run dialog:

slui 3

Yes, seriously:

win8-activation-run

And here comes the well-known Enter product key to activate Windows dialog:

win8-activation-enter-product-key

Could someone bring back the button to the Computer properties window, please?

 

Technorati-címkék:
Advertisements

Visual Studio 2012 setup fails: The cabinet file is corrupt

A faced with a strange issue while installing Visual Studio 2012 RTM. I used this new feature of Windows 8 and mounted the setup ISO directly with Windows Explorer:

vs2012-mount-iso

The installer seemed to work fine, but finally it failed installing the Core Components. I found the following in the setup log:

ExecuteError: Package (vs_professionalcore) failed: Error Message Id: 1335

ErrorMessage: Error 1335.The cabinet file ‘cab3.cab’ required for this installation is corrupt and cannot be used. This could indicate a network error, an error reading from the CD-ROM, or a problem with this package.

So I sighed and went back to the old method, and used Daemon Tools to mount the ISO image, and the installer could complete successfully.

I opened a Connect bug for this issue, so if you encounter the same problem, you can vote for it here:

Visual Studio setup fails if the ISO is mounted with Windows Explorer

 

Technorati-címkék: ,,

Visual Studio 2012, the disk eater

Visual Studio was never a small software, it always required a bunch of disk space. This statement is especially true since the release of Visual Studio.NET (if you remember, that was the 2001 version for .NET 1.0), which combined several programming languages and you no longer had to install different IDEs for C++ and Visual Basic. But since then the setup provided options to install only those languages that you really use, for example I haven’t installed C++ and Visual Basic for years. The prerelease versions of Visual Studio 2012 didn’t provide such options, let’s see what happened with the RTM!

You will have your first Oh God moment in the first step, when you realize that the new Studio wants 8.48 GB from your disk. Besides that, everything looks OK:

vs2012-01

That’s a LOT, especially in the world of SSDs. Like it or not, you have no other options here. You have to check the I agree checkbox to step forward:

vs2012-02

In the next step you can relieve a bit, because fortunately here you can turn off some components. You will see the warning here, if you don’t have enough disk space:

vs2012-03

If you turn off everything, you will still need 5.90 GB disk space for Visual Studio 2012 Ultimate:

vs2012-04

Click on INSTALL to see the new progress bars:

vs2012-05

That’s all, no language selection. I miss that not only because it eats my disk space, but also because I create too much Visual Basic and F# projects since I install VS 2012 Mosolygó arc

So, the good news is, that you have more customization options than you had in the prerelease version, the bad news is, that there aren’t as many as you expected for the RTM. I’m on several internal mailing lists, and it’s obvious that the setup team is not satisfied with this situation, and you will see further improvements in the future. Till then, if you want to motivate them, you can vote here for this issue:

Visual Studio UserVoice: Provide installation customization options to exclude languages

 

Technorati-címkék:

Windows 8 VPN error 942

After installing Windows 8 RTM, I tried to setup a VPN connection as usual. On Windows 7 it was really trivial, it didn’t ask anything beside the VPN server address and the login credentials. However on Winodws 8 I got the following error message:

Error 942:

The connection could not be established because the authentication method used by your connection profile is not permitted for use by an access policy configured on the RAS/VPN server. Specifically, this could be due to configuration differences between the authentication method selected on the RAS/VPN server and the access policy configured for it.

You can find the problem on the Security tab of the VPN connection Properties window. By default none of the Authentication radio button are selected:

windows-8-vpn-error-942

The solution: explicitly select an authentication method. Thank God, it doesn’t work without it Mosolygó arc

 

Technorati-címkék: ,

Windows 8 activation error: Code 0x8007232b

UPDATE: You can do that from the GUI too!

If you installed Windows 8 from a volume licence media, you will probably see the following error message when you try to activate Windows:

Activation Error: Code 0x8007232b
DNS Name does not exist

The solution, just like earlier with Windows Server 2008, is to enter a valid product key, that was not requested during installation.

Unfortunately, this new version of Windows does not provide the Change product key option in the Computer properties window, so you will need an elevated Command Prompt:

slmgr.vbs –ipk "ENTER-YOUR-PRODUCT-KEY-HERE"

That’s all, now you can activate Windows without any error (hopefully).

 

Technorati-címkék:

70-481 exam preparation materials

With the release of Windows 8, the Microsoft certifications are naturally changing. The first exam of the new MCSD: Windows Metro style Apps using HTML5 certification is 70-481: Essentials of Developing Windows Metro style Apps using HTML5 and JavaScript which is currently available as a beta exam. Since I couldn’t find a complete exam preparation guide, I’ve collected some links that point to sources related to the topics of this exam.

Starters:

If you plan to take your exam in October or later, you can also pre-order the Beginning Windows 8 Application Development book.

1. Design Metro style Apps (20%)

1.1. Design the UI layout and structure.
This objective may include but is not limited to: evaluate the conceptual design; decide how the UI will be composed; design for the inheritance and re-use of visual elements (e.g., styles, resources); design for accessibility; decide when custom controls are needed

1.2. Design for separation of concerns.
This objective may include but is not limited to: plan the logical layers of your solution to meet application requirements; design loosely coupled layers; incorporate WinMD components

1.3. Design and implement Process Lifetime Management (PLM).
This objective may include but is not limited to: choose a state management strategy; handle the suspend event (oncheckpoint); prepare for app termination; handle the onactivated event; check the ActivationKind and previous state

1.4. Plan for an application deployment.
This objective may include but is not limited to: plan a deployment based on Windows 8 Application certification requirements; prepare an app manifest (capabilities and declarations); sign an app; plan the requirements for an enterprise deployment

2. Develop Metro style Apps by Using WinRT (20%)

2.1. Access and display contacts.
This objective may include but is not limited to: call the ContactsPicker (windows.applicationmodel.contacts) class; filter which contacts to display; display a set number of contacts; create and modify contact information; select specific contact data

2.2. Design for charms and contracts.
This objective may include but is not limited to: choose the appropriate charms based on app requirements; design an application to be charm- and contract-aware; configure the application manifest for correct permissions

2.3. Implement search.
This objective may include but is not limited to: provide search suggestions using the SearchPane class; search and launch other apps; provide and constrain search within an app, including inside and outside of search charm; provide search result previews; implement activation from within search

2.4. Implement Share in an app.
This objective may include but is not limited to: use the DataTransferManager class to share data with other apps; accept sharing requests by implementing activation from within Share; limit the scope of sharing using the DataPackage object; implement in-app Share outside of Share charm

2.5. Manage application settings and preferences.
This objective may include but is not limited to: choose which application features are accessed in AppSettings; add entry points for AppSettings in the Settings window; create settings flyouts using the SettingsFlyout control; add settings options to SettingsFlyout; store and retrieve settings from the roaming app data store

3. Create the User Interface (21%)

3.1. Implement WinJS controls.
This objective may include but is not limited to: flipview; flyout; grid layout; list layout; menu object

3.2. Implement HTML layout controls.
This objective may include but is not limited to: implement layout controls to structure your layout; support scrolling and zooming with CSS3; manage text flow and presentation, including overflow

3.3. Create layout-aware apps to handle view states.
This objective may include but is not limited to: handle viewState events; choose among application view states; use CSS3 media queries to handle different view states; respond to ApplicationViewStateChangedEvent

3.4. Design and implement the app bar.
This objective may include but is not limited to: determine what to put on the app bar based on app requirements; style and position app bar items; design the placement of controls on the app bar; handle AppBar events

3.5. Apply CSS styling.
This objective may include but is not limited to: implement gradients, grid layouts, zooming, scroll snapping, and media queries

4. Program User Interaction (20%)

4.1. Manage input devices.
This objective may include but is not limited to: capture gesture library events; create custom gesture recognizers; listen to mouse events or touch gestures; manage Stylus input and inking; handle drag and drop events

4.2. Design and implement navigation in an app.
This objective may include but is not limited to: handle navigation events, check navigation properties, and call navigation functions by using the WinJS.Navigation namespace; design navigation to meet app requirements; Semantic Zoom; load HTML fragments

4.3. Create and manage tiles.
This objective may include but is not limited to: create and update tiles and tile contents; create and update badges (the TileUpdateManager class); respond to notification requests; choose an appropriate tile update schedule based on app requirements

4.4. Notify users by using toast.
This objective may include but is not limited to: enable an app for toast notifications; populate toast notifications with images and text by using the ToastUpdateManager; play sounds with toast notifications; respond to toast events; control toast duration

5. Manage Security and Data (19%)

5.1. Choose a data access strategy.
This objective may include but is not limited to: choose the appropriate data access strategy (file based; web service; remote storage, including Windows Azure storage) based on requirements

5.2. Retrieve data remotely.
This objective may include but is not limited to: use XHR to retrieve web services; set appropriate HTTP verb for REST; handle progress of data requests; consume SOAP/WCF services; use WebSockets for bidirectional communication

5.3. Implement data binding.
This objective may include but is not limited to: choose and implement data-bound controls, including WinJS.UI.ListView, to meet requirements; bind data to item templates such as WinJS.Binding.Template; bind data to controls by using data-win-control and data-win-bind; configure an iterator with data-win-options; enable filtering, sorting, and grouping data in the user interface

5.4. Manage Windows Authentication and Authorization.
This objective may include but is not limited to: retrieve a user’s roles or claims; store and retrieve credentials by using the PasswordVault class; implement the CredentialPicker class

5.5. Manage Web Authentication.
This objective may include but is not limited to: use the Windows.Security.Authentication.Web namespace; set up OAuth2 for authentication; CredentialPicker; set up single sign-on (SSO); implement credential roaming; implement the WebAuthenticationBroker class

If you are aware of any other useful resource, please share its link here!

 

Technorati-címkék: ,,