I am attempting to read the list of web sites from the
applicationHost.config (IIS7 configuration file) file using a vbscript
function and present the user with a screen that allows them to choose
the web site onto which they want to install our web app (set up a
vdir, etc). But there seems to be some sort of permission problem when
reading this file during the UI sequence. To the vbscript it looks like
the file is empty.
If I copy the applicationHost.config file to %temp% and read it from
there, it works fine. But it does not work under the
%windir%system32\inetsrv\config dir (where applicationHost.config
lives).
I am guessing that the problem is that an msi is not elevated until the
InstallExecuteSequence. In other words, when you get to the "Install"
button in a GUI installation.
I know that I can modify the file and add the web app during the during
this (InstallExecute) sequence (that is when you are hit with the UAC
prompt), but I can't read the file properly before that happens.
I am launching the installer in an "Administrator" shell and the CA has
"Impersonate=no" as an attribute.
Does anyone have any thoughts on this? I can post the source if it
helps.
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users