Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do you override 'just me' with 'everyone'?

Status
Not open for further replies.

AHint

Programmer
Sep 12, 2003
20
GB
I am sure this is a dumb question but how do you override this property?

I have a C# application that I am rolling out by creating a deployment project.

On the Installation Folder the default is to install for 'just me' and I need it default to 'everyone'. What property do I need to set (I've searched high and low but can't find it myself) to override this?

Thanks in advance for your help.
 
Have you created the deployment as an MSI ? In that case you can change it with the ALLUSERS property.

 
I have created an msi. This was created in VS 2003 via a set up and deployment project.

Where do I set the ALLUSERS property? I've read up that I need to set the value of this property to 1 or 2 but can't find any info detailing where I change this.

Is there something I can set within the deployment project in VS?

Thanks
 
The quickest way would probably be to get a free copy of Orca from MS. Then you can open the MSI and go to the Properties table and set ALLUSERS to 1 or 2.

[red]"... isn't sanity really just a one trick pony anyway?! I mean, all you get is one trick, rational thinking, but when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick[/red]
 
Thanks - works a treat!!

Anyone looking at this in the future, I had to set the ALLUSERS property to 'ALL' or 'ME' as appropriate.
 
The values for ALLUSERS are Null, 1 or 2

If you put in ALL or ME its read as Null

Null means its installed per user regardless of the users "rights".
1 or 2 will install it for allusers depending of the users rights.

ALLUSERS is a public property you can set at install time. Wise uses a private propery called ApplicationUsers, which can be set to AllUsers or OnlyCurrentUser.
I am using Wise for most my projects, so I use the later to install to the user.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top