Hi,I have a 64-bit application that is running as a windows service under LocalSystem account of a 64-Bit OS machine. I am using wyUpdate AutomaticUpdater to update this application. As part of one update, I need to install 2013_vcredist_x64.exe before the update. I tried to achieve this by adding the vcredist_x64.exe into temp folder and executing it before update is done.
However, I am facing the following problem: Since the application is running under LocalSystem account, wyUpdate.exe is creating the temp folder under C:\Windows\System32\config\systemprofile and copying the vcredist_64.exe to that folder. However, this installer exe is a 32 bit process (meant for 64 bit machines) and hence when invoked from any folder under C:\Windows\System32, results in AppCrash. However, when I manually try to invoke this installer exe from C:\Windows\SysWOW64 or any folder other than C:\Windows\System32, it works perfectly fine.
Can you help me out what I can do now to achieve the update? Any help is immensely appreciated.