I am developping a MSI installer by using WIX, I can create shortcut on desktop for only one user. Now what shall I do to make a shortcut for all users on the machine? Please advise. Thank you.
<Shortcut Id="desktopshortcut" Directory="DesktopFolder" Name="test"
WorkingDirectory='INSTALLDIR' Advertise="yes" />
How to Create a Desktop Shortcut to a Website Using Chrome. To create a desktop shortcut to a website using Google Chrome, go to a website and click the three-dot icon in the top-right corner of your browser window. Then go to More tools > Create shortcut. Finally, name your shortcut and click Create.
Click on start menu and select file explorer. Click on OS(C:) and click on user folder. Click on view on top of the right pane and check on Hidden item box. Now you can copy and paste the shortcut that you want on the folder.
You can have WiX set ALLUSERS=1
automatically by declaring Package/@InstallScope='perMachine'
... e.g.
<Package Description="!(loc.Package_Description) $(var.version)"
Comments="!(loc.Package_Comments)"
Manufacturer="!(loc.ManufacturerName)"
InstallerVersion="301"
Compressed="yes"
InstallPrivileges="elevated"
InstallScope="perMachine"
Platform="$(var.ProcessorArchitecture)" />
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With