Jason,

If you already have custom actions doing this you could put the files you
are looking for into the Binary table in the MSI and stream them over
(immediate CA -> deferred CA) and then invoke you actions on those files.
This is generally the less touchy way of getting references to needed files
on install/ROLLBACK/uninstall.

Hope that helps,

Brian Rogers
"Intelligence removes complexity." - Me
http://icumove.spaces.live.com


On Tue, Apr 14, 2009 at 6:55 AM, Jason Birch <jason.bi...@nanaimo.ca> wrote:

> Hi all,
>
> I've got an installer that sets up some IIS7 features using appcmd.exe.  I
> am having difficulty finding a way to successfully uninstall these IIS7
> configurations on a server with UAC enabled.  I'm still fumbling my way into
> MSI, so this is likely just ignorance on my part...
>
> On installation, the CAs run deferred and are able to escalate and
> configure the web server properly.
>
> On uninstall, I have tried a couple things:
>
> - Running the CAs deferred doesn't seem to work because the files have
> already been removed (even if I schedule the actions before RemoveFiles)
>
> - Running the CAs immediate doesn't work because the installer (running as
> current user) doesn't have permissions to access the IIS7 config files.
>
> Any help would be appreciated!
>
> Thanks,
> Jason
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by:
> High Quality Requirements in a Collaborative Environment.
> Download a free trial of Rational Requirements Composer Now!
> http://p.sf.net/sfu/www-ibm-com
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to