As promised I have uploaded a simple installer example. It’s a Visual Studio 2008 Setup Project.
Download it here.
Problem: Visual Studio 2008 does not allow to disable the setup screen Select Install Folder. Hence someone who runs your setup can change the install location und you can’t avoid it! Changing the install location isn’t a good idea because the installed Surface Shell configuration file (an XML file which tells the Surface Shell where to find the installed application and preview icons) is set to the default install location!
Solution: Check out the Microsoft Windows Software Development Kit Update for Windows Vista. It contains a tool called Orca which allows you to modify the MSI package i.e. disable the Select Install Folder screen and much more customizations!
Have fun!
