Wrong interpretation of the variable %ProgramFiles%

2014-02-10
2014-02-10
  • 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.