SourceForge has been redesigned. Learn more.
Close

Wrong interpretation of the variable %ProgramFiles%

2014-02-10
2014-10-26
  • David Bichsel

    David Bichsel - 2014-02-10

    When running appupdaterw.exe as administrator I have the following problem.
    I call a powershell script as the Uninstal Instruction using the environment variable %ProgramFiles%. For some reasons, AppUpdater interpreted it as "C:\Program Files (x86)" and not "C:\Program Files".

    When I run it as normal user, I haven't got this problem.

    I have check if the environment variable are correct on Windows and they are for both user: administrator and normal user.

    I am running the version 2.0 on a Windows 7 64 bits operating system.

    Some help would be greatly appreciated.

     
  • Christophe Perez

    Same here, "Configuration Information" returns:
    Environment


    UNAME: ('Windows', '-----', '7', '6.1.7601', 'x86', 'Intel64 Family 6 Model 37 Stepping 5, GenuineIntel')
    Architecture: ('32bit', 'WindowsPE')


    Shouldn't "Architecture" be 64bit?

    Regards,

     

Log in to post a comment.