In our application, each user can install his "profile" (couple of
settings for our application) as standard user. This "profile" is in
fact a Windows Installer base launch by MsiInstallProduct from an exe
(for example, PerformMyProfile.exe...).
Under VISTA with UAC enabled (I think you guess the following...),
when a standard user apply his "profile" (in fact, launch
PerformMyProfile...), the system ask for elevation prompt with
administrator password.
My problem is that a standard user should have rights to install his
own "profile" without this administrator password.
So, my question : is there a way to install a profile without
elevation (or request admin privileges) ?
For information, during this installation, we do NOT write to "Program
Files\..." nor "HKLM\...".
I tried adding a manifest with "RequestedExecutionLevel
level=asinvoker" embedded in PerformMyProfile.exe ; but elevation
still prompts for admin password...
Thanks by advance,
Nicolas
http://msdn.microsoft.com/en-us/library/aa367800.aspx
--
Phil Wilson
Definitive Guide to Windows Installer
http://www.apress.com/book/view/1590592972
<nub...@arkoon.net> wrote in message
news:7194f0d9-5a03-4ddb...@s50g2000hsb.googlegroups.com...
If it could help somebody else, here is what I used to set the summary
information flag :
------------------------------------------------------------------------------------------------------------------------------------------------
PMSIHANDLE cSummaryInfo;
MsiGetSummaryInformation(0, pszPackageFile, 1, &(cSummaryInfo));
MsiSummaryInfoSetProperty (MSIHANDLE(cSummaryInfo), PID_WORDCOUNT,
VT_I4, 10, 0, 0);
MsiSummaryInfoPersist( MSIHANDLE(cSummaryInfo));
------------------------------------------------------------------------------------------------------------------------------------------------
Nicolas
On May 22, 7:11 pm, "Phil Wilson"