Wednesday Oct 01, 2008

Windows Vista Support

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.
Issue 704 contains more details about the root causes and the solution for this problem.
About

News for projects adopting the multi-platform port of the Image Packaging System - aka pkg(5)

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today