Getting Ready for Windows Vista ® Chuck Walbourn SDE, Game Technology Group.

Slides:



Advertisements
Similar presentations
IEs Protected Mode in Windows Vista TM January 20, 2006 Marc Silbey Program Manager.
Advertisements

Where Developers Matter Vista Enable Your Applications Fredrik Haglund, Regional Developer Evangelist
Configuring Windows to run Dr.Web scanner remotely.
Securing. Agenda  Hard Drive Encryption  User Account Permissions  Root Level Access  Firewall Protection  Malware Protection.
Jeff McCashland. Agenda Supported Deployment Scenarios System Requirements Installing DTM Controller Installing the DTM Logo Tests Installing DTM Studio.
Windows Vista Security model and vulnerabilities.
Raymond R. Balise Health Research and Policy
©2006 Microsoft Corporation. All rights reserved. Application Compatibility in Windows Vista and the Application Compatibility Toolkit Micheal Sciacqua.
Windows Forms 2.0 – ClickOnce Stephen Turner Software Design Engineer
Configuring Windows Vista Security Chapter 3. IE7 Pop-up Blocker Pop-up Blocker prevents annoying and sometimes unsafe pop-ups from web sites Can block.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 9: Implementing and Using Group Policy.
Hands-On Microsoft Windows Server 2003 Chapter 2 Installing Windows Server 2003, Standard Edition.
Information for Developers Windows XP Service Pack 2 Information for Developers.
Certified for Windows Vista. Introducing the Windows Vista Logo Programs.
Installation Requirements. Agenda Installation requirements Installation options Installing to correct folder locations Installing Windows resources Creating.
File sharing. Connect the two win 7 systems with LAN card Open the network.
Ran Oelgiesser, Sr. Product Manager Praveen Vijayaraghavan, Program Manager (Virtual PC) Yigal Edery, Group Program Manager (MED-V)
Microsoft Desktop Virtualization Migrating to Windows 7 With MED-V.
Chapter 7 Installing and Using Windows XP Professional.
1 Windows Vista: Enabling Parental Controls in your Application Brian Trenbeath FUN304 Program Manager Microsoft Corporation.
© 2008 The McGraw-Hill Companies, Inc. All rights reserved. M I C R O S O F T ® Preparing for Electronic Distribution Lesson 14.
OFC302 Building Smart Document Solutions in Word & Excel Martin Sawicki Lead Program Manager.
Win & Web App Installers with WiX
Thrive Installation.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 9: Implementing and Using Group Policy.
Hands-On Microsoft Windows Server 2008
Chapter 7 Microsoft Windows XP. Windows XP Versions XP Home XP Home XP Professional XP Professional XP Professional 64-Bit XP Professional 64-Bit XP Media.
© 2012 The McGraw-Hill Companies, Inc. All rights reserved. 1 Third Edition Chapter 6 Today’s Windows Windows Vista and Windows 7 McGraw-Hill.
70-294: MCSE Guide to Microsoft Windows Server 2003 Active Directory Chapter 12: Deploying and Managing Software with Group Policy.
Tutorial 11 Installing, Updating, and Configuring Software
Electronic Field Study Administrative Training
Week #7 Objectives: Secure Windows 7 Desktop
Windows Vista User Account Control (UAC) and Delphi Fredrik Haglund Developer Evangelist.
© 2012 The McGraw-Hill Companies, Inc. All rights reserved. 1 Third Edition Chapter 5 Windows XP Professional McGraw-Hill.
CN1260 Client Operating System Kemtis Kunanuraksapong MSIS with Distinction MCT, MCITP, MCTS, MCDST, MCP, A+
Section 10: Assigning and Publishing Software Packages Using MSI Packages to Distribute Software Using Group Policy as a Software Deployment Method Deploying.
Troubleshooting Windows Vista Security Chapter 4.
Section 1: Introducing Group Policy What Is Group Policy? Group Policy Scenarios New Group Policy Features Introduced with Windows Server 2008 and Windows.
Installing Windows Vista Lesson 2. Skills Matrix Technology SkillObjective DomainObjective # Performing a Clean Installation Set up Windows Vista as the.
Testing Applications on Windows Vista TM Edited By Michael Shaw.
CN1176 Computer Support Kemtis Kunanuraksapong MSIS with Distinction MCT, MCTS, MCDST, MCP, A+
Windows XP to Windows 7 using P2V Migration. Agenda Deploying Local P2V Migration for SA Retro Mode Scripts Customize MDT 2010 with Disk2VHD Windows Virtual.
Mark Aslett Microsoft Introduction to Application Compatibility.
User Account Control Requirements. Agenda Introducing UAC The shield icon UAC manifests Least User Access (LUA) predictor tool Partitioning an application.
Windows Vista Inside Out Ch 10: Ch 10: Security Essentials Last modified
Creating Manageable Setups With The Windows ® Installer (Part 1 Of 2) Rob Collie, Program Manager Windows Installer Microsoft Corporation Jim Masson, Program.
Compatibility and Interoperability Requirements
Module 3 Configuring File Access and Printers on Windows ® 7 Clients.
Security Summit West 2004 Redmond, WA Darren Canavor Longhorn Security.
5 Lesson 5: Installing and Configuring Desktop Applications and Windows Store Apps MOAC : Configuring Windows 8.1.
WCL303 Business Desktop Deployment (BDD) 2007: Part 2, Deploying the 2007 Office system Michael Niehaus Systems Design Engineer Microsoft
Vista and halFILE. Vista Minimum Specs An 800 MHz processor 512 MB of RAM A 20 GB hard drive with 15 GB of free space.
PC Maintenance: Preparing for A+ Certification Chapter 28: Working with Applications.
Testing Code for Compliance. Agenda AppVerifier 3.1 Microsoft Windows Server 2003 R2 Platform SDK Command-line tools Third-party tools.
Windows Vista: User Account Protection Securing Your Application with Least Privilege User Account Steve Hiskey FUN 406 Lead Program Manager, SBTU - Security.
© 2012 The McGraw-Hill Companies, Inc. All rights reserved. 1 Third Edition Chapter 6 Today’s Windows Windows Vista and Windows 7 McGraw-Hill.
Windows Vista Inside Out Ch 3: Personalizing Windows Vista Last modified am.
Windows 7 SW Logo Kit No cost, Self-test w/ online submission 9 Requirements Less than 30 mins Windows ACK Windows App Certification Kit No cost,
Application Migration Fritz Ohman Alphageek
© ExplorNet’s Centers for Quality Teaching and Learning 1 Describe applications and services. Objective Course Weight 5%
By the end of this lesson you will be able to: 1. Determine the preventive support measures that are in place at your school.
Microsoft Virtual Academy Chris Oakman | Managing Partner Infrastructure Team | Eastridge Technology Curtis Sawin | Technical Solutions Professional |
A+ Guide to Managing and Maintaining Your PC, 7e Chapter 2 Introducing Operating Systems.
Managing User Desktops with Group Policy
Microsoft Build /13/2018 2:24 AM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
Microsoft Build /8/2018 8:41 PM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
Prepare your apps for Windows 8 and beyond
1/14/2019 3:57 AM © 2004 Microsoft Corporation. All rights reserved.
Best practices for packaging and distributing device drivers
Delivering great hardware solutions for Windows
Presentation transcript:

Getting Ready for Windows Vista ® Chuck Walbourn SDE, Game Technology Group

Windows Vista Highlights Desktop uses Direct3D 9 New display and audio driver models User Account Control (aka LUA/UAP)

Windows Vista for Gamers Direct3D 10 Game Explorer Parental Controls

Agenda Game Explorer Account Privilege Application Compatibility Installation & Patching Games for Windows logo

Games Explorer Linked directly off the Start menu Displays games installed on the system Shows meta-data such as developer, publisher, various ratings, links, etc. Parental controls system will lock out some games based on rating if enabled Basic information including rating is already provided for many legacy titles (~2500)

Games Definition File A title provides meta-data through a piece of XML called a Game Definition File (GDF) The GDF is embedded as a resource into a binary ( exe or dll ) Thumbnail image must be also embedded in the same binary Game Definition File Editor tool in the DirectX SDK

Aside: Code signing GDF containing binary must have a valid Authenticode signing to provide a rating Great security measure to ensure bits you ship are the bits a user has on their machine Works on exe, dll, msi / msp, cab files Windows XP presents this data in many places Windows Vista relies on this even more Verisign ID required to access WinQual data See DirectX Documentation topic Authenticode Signing for Game Developers

Game Explorer Integration Use IGameExplorer COM object to register the GDF- containing binary during install/patch Use the COM object to double-check ratings access in your game’s startup ( VerifyAccess ) GE can show saved games with thumbnails Prepending a structure at the beginning of your save game files Support command-line launch with a save game file Depends on the existing extension/shell launch system Use a unique extension for your save game files! See the DirectX Documentation topic Windows Game Explorer Integration and GE documentation for more details

Agenda Game Explorer Account Privilege Application Compatibility Installation & Patching Games for Windows logo

Account Privilege User Account Control (UAC) Key security feature in Windows Vista “Standard User” New name for Restricted User (LUA) on Windows XP Does not have full access to the system Read only to most of the hard drive and registry Can only write to per-user and specific common areas Cannot install drivers, start/stop services, change Firewall settings Changes in the OS make heavy use of this Every account on the system runs most processes as “Standard User”!

Account Privilege Elevation “Administrator” A user with administrator privileges can elevate a process to run at ‘admin’ level Must happen when the process is created! The system prompts every time you launch the app Child processes do inherit the elevation UAC detects common exe names that require admin rights ( SETUP.EXE, etc.) Executables can be marked in a manifest to require ‘admin’ privileges Can explicitly use “Run As…”

Supporting UAC Follow all the guidance for Limited User Accounts on Windows XP! Parental Controls only works on “Standard User” accounts i.e. a controlled account cannot have any admin rights If your game requires admin privileges to run, it cannot be played by accounts with Parental Controls active See the article Gaming with Least-Privileged User Accounts in the DirectX SDK

Agenda Game Explorer Account Privilege Application Compatibility Installation & Patching Xbox 360 Controller for Windows Games for Windows logo

Application Compatibility Windows Vista is compatible with most existing Windows applications Common compatibility concerns for games x64 Edition Media Center Edition Multicore Legacy APIs Current and upcoming technical articles in the DirectX SDK address these in detail

Improving Application Compatibility Use the Application Verifier tool Integrated version in VS 2005 Team System Make sure any drivers you install have both 32- bit and 64-bit versions Investigate deprecation warnings from VS2005 Be sure to revisit your game timing code! See the DirectX SDK topic Game Timing and Multicore Processors

App Compat Testing Include testing on Windows XP Pro x64 Edition, Windows XP MCE, Windows Vista consumer SKUs (Home Basic, Home Premium, Ultimate) Test using single and multicore CPUs from all major vendors Be sure to try 4 GB RAM configurations Exposes 32-bit overflows in configuration code Do not force your game to run with or require ‘admin’ privileges enabled! Test on Windows XP under a Limited User Account Test on Windows Vista with UAC active

Agenda Game Explorer Account Privilege Application Compatibility Installation & Patching Xbox 360 Controller for Windows Games for Windows logo

Installation Typically install and uninstall require ‘admin’ privileges Needs to write to C:\Program Files and HKEY_LOCAL_MACHINE Setup Windows Firewall, install any drivers, etc. If using a non-standard setup, you might need to add a manifest to your setup program For causal games, might be able to do a fully per-user installation instead

Installation Traditional installers are way too complicated! Simplify the setup Q & A Create an Express install option that bypasses most prompting Consider play from media, background copy, or install on demand approaches See the installation articles in the DirectX SDK

Direct Setup DirectX runtime install is usually not optional! DirectSetup needs to install components like D3DX, XINPUT, XACT, etc. not part of “DirectX 9.0c” Combine the DirectX EULA into your own, always run Direct Setup in silent mode Don’t prompt user about installing DirectX or try to guard it with a version check!

Aside: Direct Setup size Don’t assume you have to ship every cab in the REDIST folder for your game You can save a lot of space on media and in your self-extracting download packages See Installing DirectX with Direct Setup in the DirectX SDK for details

Installation Issues Watch out for 16-bit code in older installers Will fail to run on x64 Editions Drivers have to be code signed by default to install on Windows Vista Uninstall will likely need to walk per-user registry and directories to fully clean up Neat shell functions can help SHFileOperation, SHDeleteKey Badly written OS version checks are a bane! Don’t do them If you must do them, do them right and test thoroughly!

Patching Need to plan how patching will work under “Standard User” scenarios Windows Installer MSP technology Require elevation to patch (only if rarely!) Use of per-user and common data areas See upcoming article in the DirectX SDK (April 2006) for details

Agenda Game Explorer Account Privilege Application Compatibility Installation & Patching Games for Windows logo

Task Switching Most developers are doing this well Fast User Switching alive and well in Windows Vista! See the DirectX Documentation topic Games for Microsoft Windows Logo for Applications for scenarios to test If the Windows key or the accessibly features conflict with your game’s keyboard layout, see the DirectX Documentation topic Disabling Shortcut Keys in Games

Games for Windows logo Windows Error Reporting Rethrow or call ReportFault API in any custom UEH Avoid using catch(…) in your code Make sure all your binaries ( exe, dll ) have a VERSIONINFO resource with real information! See the DirectX Documentation topic Crash Dump Analysis

Call to Action Check out the various DirectX SDK articles Make sure your testers and installer developers review this deck! Try your back catalogue and games in development on Windows Vista Beta 2 in May Games this year should support the Game Explorer and “Standard User”

Questions?

Resources GDC 2006 Presentations DirectX Developer Center XNA Developer Center XNA, DirectX, XACT Forums addresses (DirectX & Windows development) (XNA Feedback)

© 2006 Microsoft Corporation. All rights reserved. Microsoft, DirectX, Xbox 360, the Xbox logo, and XNA are either registered trademarks or trademarks of Microsoft Corporation in the United Sates and / or other countries. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.