We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

danielgrigg
Posts: 1
Joined: Thu Feb 06, 2014 6:14 am

Creating per-user shortcuts

Hi there,

I'm having some trouble creating an installer that can create shortcuts on each user's desktop to a location with their home folder.

The desired flow is:

1. (Admin) user installs the application
2. Folder X is created in every user's home folder
3. A shorcut to folder X is created on every user's desktop

Creating an Installation Type of Per-machine only seemed to essentially do the above, but instead of substituting the user's account name into the paths for 2 and 3, it just reused the path from the installing user...

The workaround I'm using is to perform steps 2-3 when the user runs the application for the first time. Is that the preferred way to do it or is there a more standard approach using just the installer?
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Creating per-user shortcuts

Hello and welcome to Advanced Installer forums,

Thank you for your interest in Advanced Installer.
The workaround I'm using is to perform steps 2-3 when the user runs the application for the first time. Is that the preferred way to do it or is there a more standard approach using just the installer?
Indeed, considering your scenario I think the workaround you are using is the recommended one. Also, you can try to use the Windows Installer seal-healing mechanism if it is suitable for your scenario.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”