Announcement

Collapse
No announcement yet.

Session Variables Question

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Session Variables Question

    On a 64bit Windows 10 box, when I use the following I get the following results:
    %ProgramFilesFolder64%: C:\Program Files\XXX
    %ProgramFilesFolder%: C:\Program Files\XXX


    How can I install in the (on 64bit): C:\Program Files (x86)\XXX

    I tried "%ProgramFilesFolder32%" but to no avail. I am simply trying to install the following example:

    Package01: C:\Program Files\XXX
    Package02: C:\Program Files (x86)\XXX
    Package03: C:\Program Files (x86)\XXXX
    Package04: C:\Program Files (x86)\XXXXX

    Any Guidance would be appreciated.

  • #2
    I was able to do a "work around", I am not sure if this is considered the "right practice", I thought I would shear: %ProgramFilesFolder% (x86) So I just added "(x86)".

    Comment


    • #3
      What you did is wrong. You should never use any hard coded paths.
      As your installer is most likely a 32-bit application, you should use %ProgramFilesFolder% to deploy the files into a sub folder of the 32-bit ProgramFiles folder (typically "C:\Program Files (x86)").
      This only changes if you are building a native 64-bit setup, which is defined in the Build Settings:

      Click image for larger version

Name:	SCRN-2017-10-30-02.png
Views:	70
Size:	2.0 KB
ID:	298740

      Ulrich

      Comment


      • #4
        I will take a look at that tonight, thanks again.

        Comment

        Working...
        X
        😀
        🥰
        🤢
        😎
        😡
        👍
        👎