Hi Rob,

Thanks for the reply. Actually, I just went into details of deferred
actions, and I realised that I don't want my custom actions to be deferred.
I had tried adding teh deferred attribute only so that I could use the
Impersonate attribute.

Also, my custom actions are being invoked at InstallUIsequence after
CostFinalize, and some are invoked at InstallExecuteSequence after
AppSearch, and after InstallFiles.

Is there a way, I could run my custom actions in elevated mode?

Regards,
Nimisha



On Tue, Oct 14, 2008 at 3:03 PM, Rob Hamflett <[EMAIL PROTECTED]> wrote:

> Why doesn't it compile?  What's the error that candle/light gives?  Are the
> custom actions scheduled
> in the correct part of the sequence to actually be deferred?
>
> Rob
>
> Nimisha Saboo wrote:
> >  Hi,
> >
> > I am new to WIX, and apologise if this has been asked before.
> > I am running a setup, that works fine on Widows server 2003, but fails on
> > Windows Server 2008.
> > However, if I do "Run as administrator", it succeeds on Windows Server
> 2008
> > as well.
> >
> > What I want to be able to do is;
> > Either elevate the privileges for my custom actions, or display a prompt
> > asking the user to Run as admin, when the user clicks the MSI.
> >
> > Is it possible to do with Windows Installer Version 2.0?
> >
> > I have tried using Impersonate="no" and execute="deferred" for my custom
> > actions, but it does not compile.
> >
> > Any insights on this will be really helpful.
> >
> > Thanks in advanve,
> > Nimisha
> > -------------------------------------------------------------------------
> > This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> > Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> > Grand prize is a trip for two to an Open Source event anywhere in the
> world
> > http://moblin-contest.org/redirect.php?banner_id=100&url=/
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to