The location of installed app

Installing on a macOS is all new to me. I have now learned about:
  1. Signing with Developer ID

  2. Notarizing

  3. Stapling

I performed the above on a PKG file that came out of my Visual Studio for Mac build process.

I am aware of the following types of files:
  • Filename.app (the application itself)

  • Filename.pkg (the installer I tried to use)

  • Filename.dmg (an archive created from Visual Studio)

I am getting slightly confused. My macOS tester said that when he tried to "install" the PKG file (which was in his Download folder) that it ended up installed in the same downloads folder. This is not what I wanted. I was hoping it would end up where the rest of the applications get installed.

What extra steps must I check here to fix this issue?

Thank you.

Replies

I expanded the PKG into a temp folder and I saw:

install-location="/Applications" auth="root"

So it seems it should have installed to that folder and not the folder where the PKG was.
My colleague uninstalled the application and tried using the PKG file a second time and it did install to the Applications folder. I am not sure why it failed the first time.