By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
457,976 Members | 1,139 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 457,976 IT Pros & Developers. It's quick & easy.

How to change default installation to "Everyone" instead of "Just Me"

P: n/a
Yay!!! They fixed this for VS2005. You can now set the default
installation to be "Everyone" instead of "Just Me" and you can control
whether you even want those radio button installed in your Setup
program.
From the Documentation

http://msdn2.microsoft.com/en-us/library/5f981xa1.aspx

================================================== =========
"The InstallAllUsers property for a deployment project determines
whether an application is installed for all users of a computer or only
for the user performing the installation. The InstallAllUsers property
can be set in the Properties window when a deployment project is
selected in the Solution Explorer.

Settings

False - The application will only be installed for the current user
and will not be visible to other users of the computer (the default).

True - The application will be installed for all users.

InstallAllUsersVisible Property

The InstallAllUsersVisible property for the Installation Folder user
interface dialog box determines whether the Install MyApplication for
yourself, or for anyone who uses this computer label and corresponding
Everyone and Just me option buttons appear during installation. The
InstallAllUsersVisible can be set in the Properties window when the
Installation Folder node is selected in the User Interface editor.

Settings

True - The Install MyApplication for yourself, or for anyone who uses
this computer label and corresponding Everyone and Just me option
buttons will be shown during installation, and the user's choice
determines the installation method.

False - The Install MyApplication for yourself, or for anyone who
uses this computer label and corresponding Everyone and Just me option
buttons will not be visible during installation."

================================================== =========
So here's Step-by-step what you do to install for Everyone as default
without the radio button choices appearing for your users who are
installing your product.:
1. Click on your setup project in your Solution Explorer.
2. Look in the Properties window and set the property InstallAllUsers
to be True
3. Click on the icon in the Solution Explorer toolbar that has the
pop-up tooltip "User Interface Editor"
4. Click on the "Installation Folder" item in the panel that appears.
5. Look in the Properties window and set the InstallAllUsersVisible to
be False.
6. Rebuild your solution.

I've tried it and it works as advertised.
Best wishes.....

Apr 26 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Yes indeed, sometimes Microsoft does things we actually like :-)
Apr 27 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.