Ok. Actually the dependencies I mentioned before are "Custom" Dlls, etc, that where written in-house so I'm not really working with merge modules. Would this still be handled the same way?
Jim -----Original Message----- From: Rob Hamflett [mailto:r...@snsys.com] Sent: Tuesday, March 24, 2009 12:36 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Unable to install Services due to lack of privileges My product installer includes the VC80 runtime merge modules. I found that on Vista 64 the files runtime files are not available until after InstallFinalize. I had to change the ServiceControl element not to start the service, and had to use a commit custom action to do it after the installation had completed. Rob MacDiarmid, James D wrote: > Ok, I determined this wasn't related to "lack of privileges" but rather the dependency files needed to be loaded and registered first. Is there a way to tell the install to install and register these dependency files (DLLs, etc) first? > > Thanks, > Jim > > -----Original Message----- > From: James Geall [mailto:jage...@gmail.com] > Sent: Tuesday, March 24, 2009 2:29 AM > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Unable to install Services due to lack of > privileges > > Does the user you are installing the service to run under have the LogOnAsService right? That would prevent your service from starting. > > you can see the set of users with this right granted under > Administrative Tools > Local Security Policy.msc and then Local > Policies > User Rights Assignment > Log On as Service > > You can grant it using the user element in the wix util schema/extension if this is the problem. > > HTH > James > > On Fri, Mar 20, 2009 at 5:10 PM, MacDiarmid, James D <james.macdiar...@eds.com> wrote: >> Ok.. Here is a snippet of my XML file. Am I missing anything from this? >> >> <Directory Id="BAService" >> FileSource="D:\Projects\NFTS\Src\apps\nfts\NFTS V3 Batch >> Processors\BAService" Name="BAServ_1" LongName="BAService"> >> <Component Id="BAService" >> Guid="{084F1F01-AD55-4F5D-B32D-1031C7A56347}"> >> <File Id="FL_BAService.dll" Name="BAServ_1" >> LongName="BAService.dll" DiskId="1" >> Source="D:\Projects\NFTS\Src\apps\nfts\NFTS V3 Batch >> Processors\BAService\BAService.dll" KeyPath="yes" SelfRegCost="1" /> >> <ServiceInstall Id="BAService" Name="BAService" >> DisplayName="NFTS Batch Audit " Type="ownProcess" Interactive="no" >> Start="auto" Vital="yes" ErrorControl="normal" Account="NFTSWebUser" >> Password="Nftsgroup11"> >> <Permission User="Administators" >> ServiceUserDefinedControl="yes" ServiceStop="yes" ServiceStart="yes" >> ServiceQueryStatus="yes" ServiceQueryConfig="yes" >> ServicePauseContinue="yes" ServiceInterrogate="yes" >> ServiceEnumerateDependents="yes" ServiceChangeConfig="yes" >> Extended="yes" /> >> </ServiceInstall> >> <ServiceControl Id="BAService" Name="BAService" >> Start="install" Stop="both" Remove="uninstall" Wait="yes" /> >> <File Id="FL_BAService.exe" Name="BAServ_1" >> LongName="BAService.exe" Source="D:\Projects\NFTS\Src\apps\nfts\NFTS >> V3 Batch Processors\BAService\BAService.exe" DiskId="1" KeyPath="no"> >> </File> >> </Component> >> </Directory> >> >> >> >> -----Original Message----- >> From: MacDiarmid, James D [mailto:james.macdiar...@eds.com] >> Sent: Friday, March 20, 2009 12:44 PM >> To: General discussion for Windows Installer XML toolset. >> Subject: [WiX-users] Unable to install Services due to lack of >> privileges >> >> >> I'm hoping someone can offer some direction on how to proceed. I'm >> in the process of testing an MSI package on a test server however do >> to server hardening restrictions it's not allowing my MSI package to >> install some Services. I've contacted my SA and they seem to feel >> that the account I'm logging in with has the rights to do the install. >> Could I be over looking something in Wix setting? >> >> Thanks, >> Jim >> >> >> --------------------------------------------------------------------- >> - >> -- >> ------ >> Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) >> are powering Web 2.0 with engaging, cross-platform capabilities. >> Quickly and easily build your RIAs with Flex Builder, the >> Eclipse(TM)based development software that enables intelligent coding >> and step-through debugging. >> Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com >> _______________________________________________ >> WiX-users mailing list >> WiX-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/wix-users >> >> --------------------------------------------------------------------- >> - >> -------- Apps built with the Adobe(R) Flex(R) framework and Flex >> Builder(TM) are powering Web 2.0 with engaging, cross-platform >> capabilities. Quickly and easily build your RIAs with Flex Builder, >> the Eclipse(TM)based development software that enables intelligent >> coding and step-through debugging. >> Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com >> _______________________________________________ >> WiX-users mailing list >> WiX-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/wix-users >> > > ---------------------------------------------------------------------- > -------- Apps built with the Adobe(R) Flex(R) framework and Flex > Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. > Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > ---------------------------------------------------------------------- > -------- Apps built with the Adobe(R) Flex(R) framework and Flex > Builder(TM) are powering Web 2.0 with engaging, cross-platform > capabilities. Quickly and easily build your RIAs with Flex Builder, > the Eclipse(TM)based development software that enables intelligent > coding and step-through debugging. > Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com ------------------------------------------------------------------------ ------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users