It seems that you have published your application via a setup project. The setup deployment will install the application into a client machine. Users can choose where to install the application. The default location is ‘[ProgramFilesFolder][Manufacturer]\[ProductName]’. However, you can get the application’s absolute path using the following code.