Program Files direcory localisation
Posted: Tue Mar 11, 2014 9:33 am
I've created a generic setup which can be started with a command line.
This command line contacins the setup location lik "Program files"
Inside my script i detect if the current OS is 32 or 64 bits and alter the location to "Program Files(x86)" if the system is 64 bits.
But because in some countries this path do not have "program files" I would like to get the default "program files" directory name oth the current county.
See:
http://en.wikipedia.org/wiki/Program_Files
in .NET you can retreive it with this code: http://stackoverflow.com/questions/194157/c-sharp-how-to-get-program-files-x86-on-windows-vista-64-bit
in vb6 you can make an api call like this : http://www.developerfusion.com/code/251/special-folder-paths/
The question is, does IA has a similar function? or do i have to make a api call?
This command line contacins the setup location lik "Program files"
Inside my script i detect if the current OS is 32 or 64 bits and alter the location to "Program Files(x86)" if the system is 64 bits.
But because in some countries this path do not have "program files" I would like to get the default "program files" directory name oth the current county.
See:
http://en.wikipedia.org/wiki/Program_Files
in .NET you can retreive it with this code: http://stackoverflow.com/questions/194157/c-sharp-how-to-get-program-files-x86-on-windows-vista-64-bit
in vb6 you can make an api call like this : http://www.developerfusion.com/code/251/special-folder-paths/
The question is, does IA has a similar function? or do i have to make a api call?