May 27, 200521 yr Hi All...I'm Trying To Make An Unattended Install Of Windows XP x64...Everything Is OK Except For The Fact That I Can't Find Or Figure Out The Variable You Can Use For The Location Of "Program Files (x86)" In winnt.sif (Since I'll Be Using The Unattended Install From CD Method) I Understand That If You Put:programfilesdir=******** (Where ********= Your Preferred Directory For "Program Files")It Will Create It In The Location You Specified. Now, What About "Program Files (x86)" What Is The Variable For That Folder?I Checked ref.chm In DEPLOY.CAB In The CD But Nothing There....Searched MSDN / TechNet & The Same goes For Them I Also Made Some Guesses Like:x86programfilesdir(x86)programfilesdirprogramfilesx86dirprogramfiles(x86)dirprogramfilesdirx86programfilesdir(x86)Any Help Or Guidance Will Be Greatly AppreciatedThanks!
May 27, 200521 yr What do you see if you type set at a dos prompt?would programfiles(x86)= "D:\my programs" work?
May 27, 200521 yr have u tried runnin setupmgr.exe from the x64 cd ? or maybe its listed in ref.chmits all in support\deploy.cablemme know
May 27, 200521 yr Author well i think microsoft doesn’t like the idea that u can specify that in an unattended install you see.....not even the variable for program files or profiles (in windows xp)is documented in the ref.chm (i took note of that long ago) i double checked with windows x64's ref.chm & the same goes no msdn no technet i even googled for hours....... i think it will be a challenge to do...
May 30, 200521 yr Having the same problem here, the $PROGS directory in $OEM just installs to the STD programme files folder..I have tryed $PROGS(x86) to no avail...does anyone know the correct directory structure for 64 bit xp?$PROGS86, $PROGS 86, $PROG86 , $86PROGS, ???????????????Dr!ll.
May 30, 200521 yr Having the same problem here, the $PROGS directory in $OEM just installs to the STD programme files folder..I have tryed $PROGS(x86) to no avail...does anyone know the correct directory structure for 64 bit xp?$PROGS86, $PROGS 86, $PROG86 , $86PROGS, ???????????????Dr!ll.<{POST_SNAPBACK}>You just gave me an Idea. I had a batch file that copied my winzipfiles to c:\Program Files(x86) to be installed. But I think if Icreate a directory on my cd of $OEM$\$1\Program Files(x86)\Winzip.They should be copied into the right directory for me.
May 30, 200521 yr Having the same problem here, the $PROGS directory in $OEM just installs to the STD programme files folder..I have tryed $PROGS(x86) to no avail...does anyone know the correct directory structure for 64 bit xp?$PROGS86, $PROGS 86, $PROG86 , $86PROGS, ???????????????Dr!ll.<{POST_SNAPBACK}>You can't see one or the other - the operating system presents one to 32-bit and the other to 64-bit applications - each will see only one. I doubt that what the original poster asked about is possible.
June 6, 200521 yr Author well people..i got it figured out! it is in fact :programfilesdir(x86)commonprogramfilesdir(x86) thanks for the help B)
February 14, 200620 yr When I use that syntax, I end up with c:\program files (x86), c:\program files (x86) (x86), d:\program files (x86) and d:\program files
November 23, 200817 yr When I use that syntax, I end up with c:\program files (x86), c:\program files (x86) (x86), d:\program files (x86) and d:\program filesI have the same problem... it doesn't work at all.
December 21, 200817 yr Well, you figured out the name of the variable. If you change its value (for example, to "Programs_x86") you will notice that there will be both a directory %SystemDrive%\Programs_x86 and a directory %SystemDrive%\Program Files (x86). That may be (my oppinion) because some programs (not very well written) don't really read the value of the variable from the registry (or don't use expandable strings) in order to find its actual value, they just assume that the value is "Program Files (x86)". So it is not wise to change this value, at least not until all these programs will get the correct value.
January 8, 200917 yr I've just tried an "echo" in CMD for %PROGRAMFILES(X86)% and it returns "C:\Program Files (x86)" so that works. There are a few more Environment Variables listed here
January 8, 200917 yr I've just tried an "echo" in CMD for %PROGRAMFILES(X86)% and it returns "C:\Program Files (x86)" so that works. There are a few more Environment Variables listed herejust do "set" and you'll get all the environment variables.Anyone knows the equivalent of $Progs for 32 bit programs under the $OEM$ folder structure? ($OEM$\$Progs will be copied to %ProgramFiles%)
Create an account or sign in to comment