Hello and welcome to our forums,
If a per-machine installation will be performed, then the shortcut will be installed for all users. That means at logon the application will start automatically for any user that logs in onto the machine, since the shortcut is placed in a public (shared) location:
Code: Select all
C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup
There are two types of startup folders; a local and a global startup folder. There’s a local startup folder for every user. The apps that a user chooses to launch when they sign in are in this folder. The global startup folder contains apps that will launch at startup for all users. The trick about this folder is that not everyone can add and remove apps from it. Only an administrator can. In order to prevent users from disabling startup apps, you need to add those apps to the global startup folder. This means you just need to have a per-machine installation and the shortcut will be added to the global startup folder.
In order to create the shortcut, you can have a look at the
create shortcut article and place it in the
Start Menu -> Startup folder from
Files and Folders page, in your Advanced Installer project.
- startup.png (61.01 KiB) Viewed 4529 times
When a standard user logs in and the application has been installed per-machine, he cannot delete the startup shortcut:
- denied.png (114.48 KiB) Viewed 4529 times
Hope this helps! If you have any other questions, please don’t hesitate to contact us.
Best regards,
Liviu