470,819 Members | 1,592 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,819 developers. It's quick & easy.

Silent installation to "all users"

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
1 5500
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
http://www.microsoft.com/msdownload/...sdk/sdkupdate/. 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.

Similar topics

reply views Thread by Oleg Ogurok | last post: by
5 posts views Thread by jensen bredal | last post: by
reply views Thread by Richard | last post: by
18 posts views Thread by =?Utf-8?B?VG9t?= | last post: by
4 posts views Thread by Pandu | last post: by
reply views Thread by mihailmihai484 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.