28841

Visual Studio 2005 Setup Wizard - creating desktop shortcuts for all users

I'm using the setup wizard project to create an msi installer for a Windows Forms application. I've configured it to install a desktop shortcut, but unfortunately it only puts a shortcut on the desktop of user running the installer. Is there any way to configure it to put shortcuts on the desktops of <strong>all</strong> users?

Answer1:

In the file system editor of your project

<ol> <li>Create a new custom folder (Give it a name like "All Users Start Menu")</li> <li>Change the default location to [DesktopFolder] (same applies to [StartMenuFolder]) (See documentation and for Start Menu)</li> <li>Set the Property value to ALLUSERS</li> </ol>

That should do it, put your shortcuts in the new custom folder. This will allow you to install into the "All Users" folder even though you are installing for "Just Me" for the rest of the installer.

Answer2:

Set InstallAllUsers=True in the properties In "Installation Folder" on the "User Interface" page, set InstallAllUsersVisible. If you have an Install and an "Administrative Install" on the "User Interface" page, be sure to modify "Installation Folder" in both.

This will take away the user's choice of installing only for "me" and force the install to be for "everyone".

Now the shortcut you put in the "User's Desktop" of the File System should appear on everyone's desktop.

Recommend

  • Change size of tag when responsive Bootstrap [duplicate]
  • position:fixed not working on mobile, works on desktop
  • Touch event handler overrides click handlers
  • Center brand in navbar with items on each side [closed]
  • How to find via Python the icon associated with a Windows file?
  • BGL: How do I store edge_descriptors and vertex_descriptors efficiently?
  • How to move a column to another table, replacing a FK?
  • Shortcut for extract local variable in Visual Studio or ReSharper (for C#)
  • Configure Spring's MappingJacksonHttpMessageConverter
  • How do I retrieve the user information of a user authenticated with Apache's mod_ldap?
  • How do I configure context broker accept post requests from my remote sensor?
  • Alternative to overridePendingTransition() - Android
  • How to run “Deployd” on port 80 instead of port 5000 in webserver.
  • Rails Find when some params will be blank
  • MongoError: Incorrect arguments
  • C++ Partial template specialization - design simplification
  • Java: can you cast Class into a specific interface?
  • Linq Objects Group By & Sum
  • Optimizing database types to compact database (SQLite)
  • How to make a tree having multiple type of nodes and each node can have multiple child nodes in java
  • swift auto completion not working in Xcode6-Beta
  • AES padding and writing the ciphertext to a disk file
  • Updating server-side rendering client-side
  • How to extract text from Word files using C#?
  • Cassandra Data Model
  • ActionScript 2 vs ActionScript 3 performance
  • Timeout for blocking function call, i.e., how to stop waiting for user input after X seconds?
  • How can I estimate amount of memory left with calling System.gc()?
  • Apache 2.4 - remove | delete | uninstall
  • Run Powershell script from inside other Powershell script with dynamic redirection to file
  • Windows forms listbox.selecteditem displaying “System.Data.DataRowView” instead of actual value
  • Proper folder structure for lots of source files
  • Buffer size for converting unsigned long to string
  • Codeigniter doesn't let me update entry, because some fields must be unique
  • Load html files in TinyMce
  • How can I get HTML syntax highlighting in my editor for CakePHP?
  • coudnt use logback because of log4j
  • How does Linux kernel interrupt the application?
  • How to get NHibernate ISession to cache entity not retrieved by primary key
  • reshape alternating columns in less time and using less memory