How to create "Drag to Applications Folder" in dmg?
Here is a roadmap:

Create an empty folder.

Give it a good name.

Put your app in the folder.

Create an alias of /Applications in the folder.

Change the name of the alias to &quot; &quot;.

Resize the folder to your taste.

Give a suitable background image to the folder. See these instructions for instance.

Create the dmg from the folder.