The place to start is probably with the vbscript example in the Windows
Installer SDK, WiRunSql.vbs. That tells you the sequence of events, opening
the MSI file, getting a View etc. The key is the SQL to update the table:
"UPDATE Property SET Property.Value = 'ALL' WHERE
Property.Property='FolderForm_AllUsers'"
In .NET it's awkward because you need to to P/Invoke into the Win32 APIs,
MsiOpenDatabase, MsiDatabaseOpenView, MsiViewExecute etc.

Signature
Phil Wilson
[Microsoft MVP-Windows Installer]
Definitive Guide to Windows Installer
http://apress.com/book/bookDisplay.html?bID=280
> Hi all,
>
[quoted text clipped - 13 lines]
> thanks
> GV
Phil Wilson - 21 Jun 2005 23:56 GMT
p.s. VS 2005 has a project property to control whether the install is
per-user or per-system.

Signature
Phil Wilson [MVP Windows Installer]
----
> The place to start is probably with the vbscript example in the Windows
> Installer SDK, WiRunSql.vbs. That tells you the sequence of events,
[quoted text clipped - 22 lines]
>> thanks
>> GV
gv - 22 Jun 2005 17:12 GMT
thanks
Gerry
> The place to start is probably with the vbscript example in the Windows
> Installer SDK, WiRunSql.vbs. That tells you the sequence of events,
[quoted text clipped - 22 lines]
>> thanks
>> GV