Windows Vista Support
By ckamps on Oct 01, 2008
Windows Vista is one of the supported platforms for the Update Toolkit 2 toolkit, but recently we ran into some problems with using the toolkit on an image that was installed under the Program Files folder. In Windows Vista, the Program Files folder is protected so that standard users are not able to write to that part of the file system. If a user does attempt to write there, something called a virtual store is created to receive the written data. This gives programs that are using the virtual store the illusion that they are able to write to Program Files when they really can't. This worked fine for some operations, but there are some file operations that fail and so updatetool, running as a standard user, eventually got a permission failure.
To fix this problem, the UC2 team will be introducing appropriate application manifests into the Windows executables that are part of the toolkit, so that the programs run as administrator when they need to on Windows Vista. As a work-around, the tools can be run as an administrator manually using the following:
- If running updatetool from Windows Explorer or the start menu, right click on the icon and select "Run as administrator".
- If running command line tools such as the pkg(1) CLI or the UC2 bootstrap tools, start the command prompt window that will be used to run the tools using the same "Run as administrator" option. This requires finding the Command Prompt icon in the start menu rather than using the Run "cmd" option.