Windows 11 Missing PROGRAMDATA Environment Variable when Chrome invokes a 64 bit binary that is wrongly packaged with Platform = x86 in the wix file

  • Thread starter Thread starter kanish garg
  • Start date Start date
K

kanish garg

Hi everyone!I have a query around the expansion of the %PROGRAMDATA% environment variable in a 64 bit binary mistakenly packaged with Platform = x86 in the wix file.Context: Recently, when we released the binary to our customers via Omaha, because of some reason (unknown to us as of now), ExpandEnvironmentStringsA (windows api in our binary) wasn't able to expand the path containing the %PROGRAMDATA% environment variable, which caused multiple issues.As per my understanding if a process A starts a child process B, environment variables for process A gets passed to process B. In our c

Continue reading...
 
Back
Top