ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Environment Variable for program files.

    IT Discussion
    1
    1
    271
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      Jason Banned
      last edited by

      So I need a Environment Variable for Program Files that maps to Programs Files (x86) on a 64bit computer and Program files on a 32bit computer.

      I always thought that's what %ProgramW6432% what just that be it seems to only be evaluating what process runs.

      So is my only option to make this consistent across 32bit OS installs and 64bit is to deploy the 32bit MSI and then force it to always install to C:\Program Files\ even though it's 32bit. My OCD doesn't like hardcoding work around so is there a better way that can get me what I need? I suppose I could make a 64bit GPO and 32bit GPO and then I could deploy them separately (and use the 64bit software, but there's no real again in that for this software). and it's more work.

      1 Reply Last reply Reply Quote 0
      • 1 / 1
      • First post
        Last post