Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

ALLUSER=1


1 reply to this topic

nibs

nibs
  • Members
  • 2 posts

Posted 24 October 2005 - 13:37

Hi!

I'm developing an msi project and i want it to be installed for all the users. I know i have to stablis ALLUSERS = 1. How do i do this with Visual Studio 2003?

Thanks


rgraham

rgraham
  • Members
  • 16 posts

Posted 27 October 2005 - 01:46

The easiest way to do this with an msi created with VS.NET is to simply exclude the dialog that allows the user to select the app folder because this is also the dialog that shows the per-user or per-machine installation option. Then once you have built your release setup, open the MSI with Orca, add a new row to the Property table with:

Property: ALLUSERS
Value: 2

This will cause the install to default to per-machine as long as the person running the setup has admin priviliges.

If you want to include the app folder selection dialog you will have to make a lot more modifications to the msi to hide the AllUsers option group.