Ok, so just in case somebody else struggles with this: It's resolved.

The problem was not WIX after all. I had simply forgotten that my CA was 
accessing a msi property and deferred CA's can't do that. So when I changed my 
CA from immediate to deferred, it couldn't gather all its necessary information 
and failed. Since I got no details on the failure, I guessed it was again the 
privileges causing the trouble.

So let's sum up:

1) CA deferred, impersonate=no

2) <Package ... InstallPrivileges="elevated" />

Cheers


Marcus

-----Original Message-----
From: Alex Ivanoff [mailto:alex.ivan...@shavlik.com]
Sent: Sonntag, 29. März 2009 21:43
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] http namespace reservation in WIX

Main is native.


-----Original Message-----
From: Marcus Gelderie [mailto:t-mge...@microsoft.com]
Sent: Sunday, March 29, 2009 02:46
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] http namespace reservation in WIX

Thanks for all your suggestions. Unfortunately none of these worked for me :(

I tried running the custom action deferred, impersonate='no' -> no success

Also tried running it as immediate: no success either.

(InstallPrivileges="elevated" in both attempts)

I am beginning to wonder whether the problem arises because the CA is managed. 
Those of you, who mentioned that you have working CAs in place, are yours 
managed or native? I really don't see any other reason, why these settings work 
for you, but don't work for me.

-----Original Message-----
From: Bob Arnson [mailto:b...@joyofsetup.com]
Sent: Freitag, 27. März 2009 18:13
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] http namespace reservation in WIX

Marcus Gelderie wrote:
> A colleague just told me he had similar problems when working with 
> certificates within a custom action. Same pattern: code needs admin 
> privileges, works fine when run in an elevated console app but won't work in 
> a custom action.
>

That means that the custom action isn't authored correctly: It must be
both deferred and no-impersonate. Otherwise it runs with user privileges.

--
sig://boB
http://joyofsetup.com/



------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to