[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [TSVN] Re: Re: Nightly installation bug?

From: Erv Walter <erv_at_ewal.net>
Date: 2004-10-25 16:51:15 CEST

Erv Walter wrote:

> Whether things are installed for all users vs current user is
> ultimately controlled by the value of the property "ALLUSERS". In the
> TSVN setup, this is chosen based on the radio buttons partway through
> the UI. Looking at the wix source, it looks like the default for that
> radio button is taken from the property "FolderForm_AllUsers". The
> default is setup to "ME" in the property table. In order to get the
> radio button to default to all users, the FolderForm_AllUsers needs to
> be set to ALL before the dialog box is displayed. It's not as simple
> as just setting the default to ALL all the time because that wouldn't
> work on Win9x and for non administrators. I think the right way to do
> this is to set the default to ME in the property table and then change
> it to ALL using a custom action that has an appropriate condition:
> "VersionNT>=400 AND Privileged=1" so that it only changes to ALL if on
> NT+ and if the person running it is an admin.
Caveat: I have not messed with this, so the above information might not
work :) In all of my work, the product being installed was a service
which required admin priviledges anyway, so it was easy to just set
ALLUSERS to force admin installs all the time (and non admins get an
error telling them they can't install).

To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Mon Oct 25 17:59:22 2004

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.