473,804 Members | 2,112 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 programmaticall y.

Can it be done?
Jul 19 '05 #1
1 5872
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
sensitive):

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
http://support.microsoft.com/?id=255905.

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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1596
by: Oleg Ogurok | last post by:
Hi all, It seems a Web Deployment Project always installs as "Just Me". I have a merge module project that has to install as "All Users" as part of my web application. This is because in "File System" editor, I put some files under "User's Application Data" folder. If a deployment project is installed as "All Users", then files are placed under "C:\Documents And Settings\All Users\Application Data" rather than under "C:\Documents And...
1
1321
by: Lee Rouse | last post by:
I have a secured Access 2000 database. There are approximately 30 user accounts already set up. Each user logs into their copy of the front-end by via a desktop shortcut which includes their username and password. Would there be a problem if all users accessed the database via the SAME Access account username/password? I need to set up access to the database for 15 new employees, and it would save a lot of time to simply assign them the...
2
5363
by: Murphy | last post by:
Our website contains subdirectories for each subsidiary company, each company has it's own look and feel to the pages in their subdirectory although they are all part of the main website. The code below in the Web.Config file defines the authentication as forms and the aspx file required for login if the user is unauthenticated... this works well for the root level company web pages however when a user viewing the website of SubCompanyA...
5
1878
by: jensen bredal | last post by:
I need to keep track on user "session data" while still turning session off as i do not want users login to expire? Thanks JB
0
301
by: Richard | last post by:
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...
31
3574
by: damacy | last post by:
hi, there. i have a problem writing a program which can obtain ip addresses of machines running in the same local network. say, there are 4 machines present in the network; , , and and if i run my program on , it should be able to find "host names" and "ip addresses" of the other machines; , and ? i have read some threads posted on this group, however, they only work for localhost, not the entire network.
1
13117
by: goose28 | last post by:
Instructions for creating a silent install project in Visual Studio.NET 2003 for "All Users". 1) Create a default setup project for your application using Visual Studio (File/New/Setup and Deployment Projects) 2) Add all your components and fully test your setup project using default setup dialogue especially selecting "All users" option in Application Location dialogue. 3) In Visual Studio 2003, highlight your setup project and right mouse...
18
4773
by: =?Utf-8?B?VG9t?= | last post by:
is it possible to add a bunch of users to group and only allow group to access the web page or do I need to add each user to the web.config file? Or is there another way to do this? I just took over a project and most of the web sites have users defined in the web.config file that can access the site. Now users come and go so this config file is always being modified. Could I just add the users to a group and only allow that group, or...
4
1511
by: Pandu | last post by:
Hello: Our HR dept wants to allow users to download various HR forms from our comp intranet. But since there are over 20 forms, I need to allow users to select the files they want and then download the selected files using a single click to "Download All" button. How can I do this? Is there some canned script that would do this? Is this even possible with a client side script? Thanks.
0
9594
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10595
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10343
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10341
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7634
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6862
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5673
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4308
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3001
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.