Re: [WiX-users] Unable to add permission for virtual account

2010-07-02 Thread Blair
y 02, 2010 6:56 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Unable to add permission for virtual account Thanks Blair! Yes, the util:PermissionEx works fine. And to my surprise, it works on my Vista machine with WI4.0 as well. (I've changed the account to "NT Au

Re: [WiX-users] Unable to add permission for virtual account

2010-07-02 Thread Elfe Xu
Thanks Blair! Yes, the util:PermissionEx works fine. And to my surprise, it works on my Vista machine with WI4.0 as well. (I've changed the account to "NT Authority\LocalService" for ServiceInstall, but the folder PermissionEx still use "NT Service\AtlGateway") I thought it might fail because htt

Re: [WiX-users] Unable to add permission for virtual account

2010-07-02 Thread Blair
WixUtilExtension. -Original Message- From: Blair [mailto:os...@live.com] Sent: Friday, July 02, 2010 12:03 PM To: 'General discussion for Windows Installer XML toolset.' Subject: RE: [WiX-users] Unable to add permission for virtual account Silly question: does it work if yo

Re: [WiX-users] Unable to add permission for virtual account

2010-07-02 Thread Blair
Silly question: does it work if you use -Original Message- From: Elfe Xu [mailto:elf...@microsoft.com] Sent: Friday, July 02, 2010 7:17 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Unable to add permission for virtual account Hi, My target machine is Win2k8 R2 or Win7

[WiX-users] Unable to add permission for virtual account

2010-07-02 Thread Elfe Xu
Hi, My target machine is Win2k8 R2 or Win7, which supports virtual account. In my setup code, I have a ServiceInstall and the account is set to virtual account NT Service\MyService And I have a CreateFolder, which I want to grant permissions to the virtual account The code is like: