Pages

Showing posts with label Windows. Show all posts
Showing posts with label Windows. Show all posts

Wednesday, August 8, 2007

Windows Installer error 1601

Windows Installer error 1601 and msiexec.exe cannot be started

#
Start Windows Installer Service manually
Under Windows XP Professional
Control Panel -> Administrative Tools -> Services -> Windows Installer -> right click and choose "Start"

Under Windows XP Home
If XP Home doesn't have "Services" in its Control Panel, try typing "Services.msc" at the run or command

Try to install your desired program

#
Make sure that your system has up-to-date system files
start -> Run... -> cmd -> sfc /scannow

#
You may not have a right permission on your Windows XP as an administrator. Even though your account type appears as Computer Administrator in User Accounts under Control Panel, you may not have full permission of Computer Administrator. To have full control on Windows Installer, your account must be an administrator. To do that,

0. re-register Windows Installer Service
  • start -> Run... -> cmd -> msiexec.exe /unregister
  • msiexec.exe /regserver
1. open registry editor
start -> Run... -> regedit
2. Click the following registry hive: HKEY_CLASSES_ROOT
3. On the Edit menu, click Permissions
4. Change your account type to be an administrator
Click Advanced button -> Select Owner tab -> double click your account name to get ownership on your computer -> OK -> Apply
5. cmd -> Services.msc -> Windows Installer -> Properties -> "Log On" tab -> check "allow service to interact with desktop" -> "General" tab -> Change "startup type" to automatic -> ok


5. Restart the computer

6. If SYSTEM is not listed in the Group or user names list,
  • click Add, make sure that the local computer name appears in the From this location box
  • -> type system in the Enter the object names to select box, click Check Names, and then click OK
  • -> click SYSTEM in the Group or user names list
  • -> select the Full Control check box under allow in the Permissions for SYSTEM box
  • -> Apply,
  • -> OK
  • -> quit Registry Editor
  • -> Restart the computer

Reference: http://www.annoyances.org/exec/forum/winxp/1059790283

Saturday, July 21, 2007

Switch Caps Lock to Ctrl

On Windows XP Professional
It's actually not switch but swap Caps Lock key with Control key on a Windows XP professional version.

1. start -> Run -> regedit
2. Find the Keyboard Layout directory where is in
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout
3. Click on Edit->New->Binary Value
4. Name it "Scancode Map" without the quotes
5. Right click -> Modify
6. Input the values below
00,00,00,00,00,00,00,00,
03,00,00,00,1d,00,3a,00,
3a,00,1d,00,00,00,00,00

Reference: http://www.usnetizen.com/fix_capslock.html

On Ubuntu 7.04 Feisty
1. create .Xmodmap file in your home directory
$ vi ~/.Xmodmap
2. write down below
! Switch caps lock and left control
remove Lock = Caps_Lock
remove Control = Control_L
keysym Control_L = Caps_Lock
keysym Caps_Lock = Control_L
add Lock = Caps_Lock
add Control = Control_L
3. load .Xmodmap file
$ xmodmap ~/.Xmodmap
4. next time you log in to your Gnome, it will detect .Xmodmap file automatically. Thus, next steps are not really necessary.

If ~/.xinitrc doesn't exist
$ cp /etc/X11/xinit/xinitrc ~/.xinitrc
In all cases
$ vi ~/.xinitrc
in the first line,
xmodmap ~/.Xmodmap

References:
http://ubuntuguide.org/wiki/Ubuntu:Feisty#How_to_remap_the_Caps_Lock_key_as_another_Control_key
http://dinomite.net/archives/caps-lock-to-control-on-ubuntu