[Solved] Cannot install 2.2.2 on Chinese Language

Discussions related to using VirtualBox on Windows hosts.
Post Reply
pigman5010
Posts: 4
Joined: 11. May 2009, 04:53
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: hjkhk

[Solved] Cannot install 2.2.2 on Chinese Language

Post by pigman5010 »

I can not install 2.2.2
It says "Could not creat temporary directory"

I have tried the method on this page:
http://forums.virtualbox.org/viewtopic. ... ory#p69516

But it didn't work. It didn't let me install as an administrator.
I have never installed any older VitualBox versions.

My windows XP is in Chinese.

What sould i do?
TerryE
Volunteer
Posts: 3572
Joined: 28. May 2008, 08:40
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Ubuntu 10.04 & 11.10, both Svr&Wstn, Debian, CentOS
Contact:

Re: Cannot install 2.2.2

Post by TerryE »

There is a know bug that prevent 2.2.2 installing if the environment variables TEMP and TMP contain the some UTF codes which have multibyte UTF8 representation (such as Chinese). Create a temporary directory c:\TEMP and set TEMP and TMP to that then try the install.
Read the Forum Posting Guide
Google your Q site:VirtualBox.org or search for the answer before posting.
pigman5010
Posts: 4
Joined: 11. May 2009, 04:53
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: hjkhk

Re: Cannot install 2.2.2

Post by pigman5010 »

how do i do that?
TerryE
Volunteer
Posts: 3572
Joined: 28. May 2008, 08:40
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Ubuntu 10.04 & 11.10, both Svr&Wstn, Debian, CentOS
Contact:

Re: Cannot install 2.2.2

Post by TerryE »

Not a VBox Q. Open a Command Prompt
  • mkdir c:\TEMP
    set TEMP=C\TEMP
    set TMP=C:\TEMP
    start explorer C:\TEMP
This opens up a folder browser. Drag and drop your copy of VirtualBox-2.2.2-46594-Win.exe in this folder.
  • start VirtualBox-2.2.2-46594-Win.exe
This will start the MSI installer as a child of the command shell and therefore inherit TEMP and TMP.
Read the Forum Posting Guide
Google your Q site:VirtualBox.org or search for the answer before posting.
pigman5010
Posts: 4
Joined: 11. May 2009, 04:53
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: hjkhk

Re: Cannot install 2.2.2

Post by pigman5010 »

i'm sorry but I tried everything but it still didn't work = =

Image

Image
vbox4me2
Volunteer
Posts: 5218
Joined: 21. Nov 2008, 20:27
Location: Rotterdam
Contact:

Re: Cannot install 2.2.2

Post by vbox4me2 »

After setting TEMP you stay within the cmd prompt and then CD to where the .exe is and type its name.
TerryE
Volunteer
Posts: 3572
Joined: 28. May 2008, 08:40
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Ubuntu 10.04 & 11.10, both Svr&Wstn, Debian, CentOS
Contact:

Re: Cannot install 2.2.2

Post by TerryE »

pigman5010 wrote:i'm sorry but I tried everything but it still didn't work.
Sorry, but as vbox4me says, I suspect that the one thing that you didn't try was exactly what I told you to do -- that is to type the start VirtualBox-2.2.2-46594-Win.exe command in the command window where you had set the TEMP and TMP variables. You need to do this here because a process inherits its environment from its parent. If you run the EXE from explorer then explorer is the parent, not the command process where you've set the variables.
Read the Forum Posting Guide
Google your Q site:VirtualBox.org or search for the answer before posting.
pigman5010
Posts: 4
Joined: 11. May 2009, 04:53
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: hjkhk

Re: Cannot install 2.2.2

Post by pigman5010 »

My bad, it all works out now.
Thank you so much!
Post Reply