dispher Posted May 27, 2005 Share Posted May 27, 2005 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! Link to comment Share on other sites More sharing options...
jbm Posted May 27, 2005 Share Posted May 27, 2005 What do you see if you type set at a dos prompt?would programfiles(x86)= "D:\my programs" work? Link to comment Share on other sites More sharing options...
Weed Posted May 27, 2005 Share Posted May 27, 2005 have u tried runnin setupmgr.exe from the x64 cd ? or maybe its listed in ref.chmits all in support\deploy.cablemme know Link to comment Share on other sites More sharing options...
dispher Posted May 27, 2005 Author Share Posted May 27, 2005 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... Link to comment Share on other sites More sharing options...
TheDr!ll Posted May 30, 2005 Share Posted May 30, 2005 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. Link to comment Share on other sites More sharing options...
jbm Posted May 30, 2005 Share Posted May 30, 2005 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. Link to comment Share on other sites More sharing options...
getwired Posted May 30, 2005 Share Posted May 30, 2005 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. Link to comment Share on other sites More sharing options...
dispher Posted June 6, 2005 Author Share Posted June 6, 2005 well people..i got it figured out! it is in fact :programfilesdir(x86)commonprogramfilesdir(x86) thanks for the help B) Link to comment Share on other sites More sharing options...
rindi Posted February 14, 2006 Share Posted February 14, 2006 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 Link to comment Share on other sites More sharing options...
darks0ul Posted November 23, 2008 Share Posted November 23, 2008 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. Link to comment Share on other sites More sharing options...
MrCobra Posted November 25, 2008 Share Posted November 25, 2008 (edited) delete Edited November 25, 2008 by MrCobra Link to comment Share on other sites More sharing options...
impopia Posted December 21, 2008 Share Posted December 21, 2008 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. Link to comment Share on other sites More sharing options...
Zoom7000 Posted January 8, 2009 Share Posted January 8, 2009 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 Link to comment Share on other sites More sharing options...
darks0ul Posted January 8, 2009 Share Posted January 8, 2009 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%) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now