Thnaks, its working now. Dima
On Fri, Apr 17, 2009 at 8:02 PM, John Nannenga <john.nanne...@microsoft.com> wrote: > Reference the "TerminalServerAware" attribute of the CustomAction element in > the WiX help. > > TerminalServerAware YesNoType This attribute specifies controls whether the > custom action will impersonate the installing user during per-machine > installs on Terminal Server machines. Deferred execution custom actions that > do not specify this attribute, or explicitly set it 'no', will run with no > user impersonation on Terminal Server machines during per-machine > installations. This attribute is only applicable when installing on the > Windows Server 2003 family. > > > -----Original Message----- > From: Dmitry Berkovich [mailto:dber...@gmail.com] > Sent: Friday, April 17, 2009 6:06 AM > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] IO permission problem in defered CA on Windows > Terminal Server 2003 > > Hi, > Do you know what I can do to allow to deferred CA that executed on > WTS get credentials of user that execute installer? > > Thanks, > Dima > > > On Fri, Apr 17, 2009 at 8:56 AM, Rob Mensching <r...@wixtoolset.org> wrote: >> Yeah, that all makes sense to me. That's the way I understand the >> Windows Installer works. >> >> Dmitry Berkovich wrote: >>> Hi, >>> I don't know what is expected behavior in Windows Installer, but I >>> have this problem only when my Installer executed on Windows Terminal >>> Server by user that belongs to local Administrators group (all other >>> users can not execute installation, since its disabled by policy). On >>> Windows XP and Windows 2003 its not happened. >>> >>> I don't have a lot experience in security, but I logged >>> Environment.UserName inside differed CA. When it executed on WindowsXP >>> or Windows 2003 its same username that executed the MSI, but when >>> installer executed on WTS - Environment.UserName = "SYSTEM". >>> >>> Thanks, >>> Dima >>> >>> On Fri, Apr 17, 2009 at 3:50 AM, Rob Mensching <r...@wixtoolset.org> wrote: >>> >>>> Isn't that the expected behavior with the Windows Installer? >>>> >>>> Dmitry Berkovich wrote: >>>> >>>>> Hi, >>>>> I have some issue with deferred CA on WTS. >>>>> I am creating installer package : <Package InstallerVersion="200" >>>>> Compressed="yes" InstallScope="perMachine" /> that execute deferred CA >>>>> that read some data from file that stored on network drive. When >>>>> installation is executed on Terminal Server and user that execute >>>>> installer have admin privileges - deferred CA do not see any network >>>>> drive. I checked with debugger that CA running with SYSTEM privileges >>>>> instead of user privileges. >>>>> >>>>> I found some web page >>>>> (http://msdn.microsoft.com/en-us/library/aa368073(VS.85).aspx ) that >>>>> explain this issue. But I don't know how to do it with Wix, >>>>> >>>>> Regards, >>>>> Dima >>>>> >>>>> ------------------------------------------------------------------------------ >>>>> 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 >>>>> >>>>> >>>> ------------------------------------------------------------------------------ >>>> 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 >>>> >>>> >>> >>> ------------------------------------------------------------------------------ >>> 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 >>> >> >> ------------------------------------------------------------------------------ >> 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 >> > > ------------------------------------------------------------------------------ > 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 > > > ------------------------------------------------------------------------------ > 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 > ------------------------------------------------------------------------------ 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