Go to Google Groups Home    microsoft.public.platformsdk.msi
Re: Is Install Per User or Per Machine?

Phil Wilson <pdjwil...@nospam.cox.net>

Why can't ALLUSERS be used?
--
Phil Wilson
[MVP Windows Installer]

"Dennis Bareis" <dbar...@labyrinth.net.au> wrote in message

news:266bedb4.0408231518.62377a82@posting.google.com...
> Hi,

> This is either a hole in the API or I'm missing something obvious.

> During an install how can I tell if the install is per-user or
> per-machine?
> Windows Installer obviously makes this decision at some stage.
> The ALLUSERS property can't be used.
> A verbose log doesn't show any likely properties.
> There appears to nothing in the condition syntax to support it.
> The Mode method of the session object doesn't supply it.
> No other objects seem to supply it.

> Any ideas?  At this stage I'll call this a limitation (if only in
> documentation)...

> I probably wouldn't care too much if it wasn't for the limitation in
> the "Environment" table where unlike the "Registry" table I can't
> leave the per-user/per-machine decision up to Windows Installer.

> Thanks for any info,
> Dennis