Setup in Windows 8 and Visual Studio.

I joined the Developer Division almost 2 years ago. When I announced the move I spoke about my new focus on the short and long term of setup on Windows. In the Windows 8 keynote and the Developer Preview bits available now you can see the results of both. It all starts in the keynote when Antoine Leblond comes on stage and fires up Visual Studio.

  1. Setup in the Build - all Metro-style apps must be registered before they can be launched (even to debug). To register you need your application's setup information. That means setup is in the build; just like it should be.
  2. Setup Designer - given that setup is required from the very beginning there is a designer (aka: manifest editor) to make the common tasks easy. You saw Antoine click one thing here during the demo. I keep telling the team, "We will be incredibly successful if devs spend near zero time in the designer."
  3. Packaging into a new Format - when you are ready to send your application off to another machine, you put all the binaries and the setup information into a new package file called an .appx. This process happens via the Package command in Visual Studio and isn't necessary to debug (which makes F5 much faster).
  4. Upload to Windows Store - with .appx in hand you can upload it to the Windows Store. You'll find this and more in the Store menu.

Basically, Antoine demoed all of our features in the keynote. If you follow me on Twitter then you might have caught a little bit of excitement.

Then Mike Angulo announced that everyone is getting tablets with a special build of Windows 8 with Visual Studio Express for Windows 8 preinstalled. This announcement touches on the other half of my job: Visual Studio setup.

It starts with Burn. You won't see it because Visual Studio is already installed but it's there. Bob Arnson found evidence in the temp folder. I haven't tried but you may be able to see the new VS setup UI by going to ARP and clicking the Change/Uninstall button. I think the new VS setup UI is a fantastic example what can be built on top of Burn.

Our team was also responsible with a lot of the image creation and hand offs to Windows to put the whole Windows 8 Developer Preview build image together. Lots of coordination and lots of effort was necessary to deliver all the bits that you now have on those Samsung tablets or can download freely.

Setup is the foundation for it all.

Over the next few weeks, I'll dig into more details about both the short (WiX v3.6) and long (Win8) term view of setup. I'm so happy we can finally discuss details publicly.

In the mean time, keep coding. You know I am!

 

4 Comments

Comment by Aaron on Wednesday, September 14, 2011 6:31 AM

Is Windows Installer going to be deprecated by this, eventually?

Comment by Mike Rudge on Wednesday, September 14, 2011 3:42 PM

I knew something big was brewing when you moved to the tools team. Several months later Visual Studio Setup and Deployment was deprecated and I figured that was not by chance and I expected bigger news to follow. It was a long wait but I'm glad Microsoft/Windows is going to have, what appears to be from this initial info, a more comprehensive story around deployment for developers.

I had a feeling the new Metro apps would involve a new deployment paradigm. Will the new Metro app packages also based on a declarative system? I'm very curious about the technical details of how this will all be implemented and how Windows Installer and the new system will coexist/interact within Windows 8. Can traditional Win32/.NET apps be packaged and deployed using the new .appx packages or are they forced to remain in Windows Installer?

Comment by Rob Mensching on Wednesday, September 14, 2011 8:34 PM

@Aaron, eventually is a long time. Anything can be deprecated eventually. All I know right now is that Windows Installer isn't going anywhere in Windows 8.

Comment by Rob Mensching on Wednesday, September 14, 2011 8:46 PM

@Mike, I'll be digging into more details in coming blog posts. Some quick answers. Yes, very much declarative. AppX is for Metro-style apps and MSI is for everything else. More soon.

Leave a comment
optional