Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account


Photo

What About Program Files (x86)?

- - - - -

  • Please log in to reply
13 replies to this topic

#1
dispher

dispher
  • Member
  • 5 posts
  • OS:Windows 8.1 x64
  • Country: Country Flag
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)programfilesdir
programfilesx86dir
programfiles(x86)dir
programfilesdirx86
programfilesdir(x86)

Any Help Or Guidance Will Be Greatly Appreciated

Thanks!


How to remove advertisement from MSFN

#2
jbm

jbm

    Senior Member

  • Member
  • PipPipPipPip
  • 642 posts
  • OS:Windows 7 x64
  • Country: Country Flag
What do you see if you type set at a dos prompt?
would programfiles(x86)= "D:\my programs" work?

#3
Weed

Weed

    U got brainwashed from everyone since u can walk!!

  • Member
  • PipPipPip
  • 381 posts
  • OS:none specified
  • Country: Country Flag
have u tried runnin setupmgr.exe from the x64 cd ? or maybe its listed in ref.chm
its all in support\deploy.cab
lemme know :)
"No one knows our faces, no one knows our Names, we travel like a shadow across the Streets the City, with the target destroyin our Enemies, our Power to brace and in ones night to get the World domination"
"Humans doesnt search the truth, so we compare them like Animals."
"Anyone who dont use there brain and fight for his Freedom, they dont miss it anyway" The Illuminati

#4
dispher

dispher
  • Member
  • 5 posts
  • OS:Windows 8.1 x64
  • Country: Country Flag
well i think microsoft doesn’t like the idea that u can specify that in an unattended install :wacko:

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 :angry: i even googled for hours....... :realmad:

i think it will be a challenge to do...

#5
TheDr!ll

TheDr!ll

    Newbie

  • Member
  • 29 posts
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.

#6
jbm

jbm

    Senior Member

  • Member
  • PipPipPipPip
  • 642 posts
  • OS:Windows 7 x64
  • Country: Country Flag

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 winzip
files to c:\Program Files(x86) to be installed. But I think if I
create a directory on my cd of $OEM$\$1\Program Files(x86)\Winzip.
They should be copied into the right directory for me.

#7
getwired

getwired

    Member

  • Member
  • PipPip
  • 231 posts

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.

#8
dispher

dispher
  • Member
  • 5 posts
  • OS:Windows 8.1 x64
  • Country: Country Flag
well people..

i got it figured out! it is in fact :

programfilesdir(x86)
commonprogramfilesdir(x86)

:whistle:

thanks for the help

B)

#9
rindi

rindi
  • Member
  • 5 posts
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

#10
darks0ul

darks0ul

    Member

  • Member
  • PipPip
  • 148 posts

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

I have the same problem... it doesn't work at all.

#11
MrCobra

MrCobra

    Member

  • Member
  • PipPip
  • 194 posts
delete

Edited by MrCobra, 25 November 2008 - 11:43 AM.


#12
impopia

impopia
  • Member
  • 2 posts
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.

#13
Zoom7000

Zoom7000

    Member

  • Member
  • PipPip
  • 114 posts
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
Intel Pentium 4 3.2Ghz 640 800Mhz FSB LGA775 - Gigabyte GA-8IPE775-G Motherboard - Crucial 1Gb RAM (2 x 512Mb) - GeForce 6200A 512Mb AGP - Pioneer DVR-110D DVD±R/RW/RAM DL 16x - Pioneer DVR-108 DVD±R/RW DL 16x - Western Digital 160Gb 2Mb Cache, Maxtor 250GB 7200rpm ATA/133 16MB Cache - Antec Sonata II - Zalman CNPS9500-LED Aero Flower

Read the rules!...

#14
darks0ul

darks0ul

    Member

  • Member
  • PipPip
  • 148 posts

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

just 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%)




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users



How to remove advertisement from MSFN