[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:32:46 CEST

Simon Large wrote:

>Do you happen to know if it is possible to get the installation to
>default to "all users" as opposed to "current user only"?

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.

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:39:34 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.