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

Silent installation to "all users"

P: n/a
I'm using a .net Setup Project to install my .net Windows
Application. I want the application installed for "all
users". The Installation Folder dialog in the User
Interface Editor includes a nice radio button for doing
just that. But I want the installation to be silent. I
achieve this by deleting all the forms from the User
Interface Editor. But then the user can't select the radio
button and I can't see a way of doing so programmatically.

Can it be done?
Jul 19 '05 #1
Share this Question
Share on Google+
1 Reply

P: n/a
Hey Richard,

What you need to do is pass the installation the ALLUSERS property with
a value of 1. You can implement this in two ways. You can call your install
from the command line with the flowing syntax (please note this is case

msiexec /i <path to your package> ALLUSERS=1

If you want your package to always run "per machine" without using the
command line parameter, you can use a tool like Orca to add the ALLUSERS
property to the property table with a value of one. Orca can be downloaded
for free the Microsoft web site at For assistance
using Orca please knowledge base article Q255905 HOWTO: Use the Orca
Database Editor to Edit Windows Installer Files which can be viewed at

Adam Semel
Windows Installer Team
Microsoft Developer Support

This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use.

Jul 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.