Put some tracing code in your service to see where it's breaking, check the results of API calls, catch errors, and generally make the code tell you what's wrong instead of crashing.
Phil Wilson -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of SaiTeja Sent: Tuesday, January 29, 2008 8:12 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Service is not started in Vista, working fine in xp Hi, Thanks for resp. Yaa I tried. When I start service manually from services.msc, I got error message as "Windows Couldnot start Service on Local Computer - Error 1067: The process terminated unexpectedly" Sebastian Brand-2 wrote: > > This definitely looks like a problem of the service, not MSI or WiX. > Have you tried to manually install the service in Vista? > > Best regards, > Sebastian Brand > > Instyler Software - http://www.instyler.com > > > On Jan 29, 2008, at 6:23 , SaiTeja wrote: > >> >> Continuation for the previous mail. >> >> When I start service manually from services.msc, I got error message >> as >> "Windows Couldnot start Service on Local Computer - Error 1067: The >> process >> terminated unexpectedly" >> >> >> >> SaiTeja wrote: >>> >>> Hi, >>> >>> Service is not started automatically after reboot in Vista. >>> >>> The same is working fine in XP. >>> >>> Following is my WIX Code. >>> >>> <Component Id="service.exe" Guid="{8382F93F- >>> A092-4344-9996-845A9F7DF9A7}"> >>> <Condition>(NOT VersionNT=500) AND (NOT >>> VersionNT64)</Condition> >>> <File Id="service.exe" Name="svc_1" KeyPath="yes" >>> LongName="service.exe" Compressed="yes" DiskId="1" >>> Source="service.exe" /> >>> <ServiceControl Id=SvcEvent" Name="Svc" Stop="uninstall" >>> Remove="uninstall" /> >>> <ServiceInstall Id="NewServiceInstall2" Name="Svc" >>> DisplayName="Service" Type="ownProcess" Start="auto" >>> ErrorControl="normal" >>> Description="Enables the Client service. If this service is stopped, >>> Client-protected content will be unavailable."> >>> <ServiceDependency Id="EventLog" /> >>> <ServiceDependency Id="RpcSs" /> >>> <ServiceDependency Id="Dnscache" /> >>> <ServiceDependency Id="CryptSvc" /> >>> <ServiceDependency Id="TermService" /> >>> </ServiceInstall> >>> </Component> >>> >>> Any Ideas??? >>> >>> >> >> -- >> View this message in context: >> http://www.nabble.com/Service-is-not-started-in-Vista%2C-working-fine-in-xp-tp15152610p15152698.html >> Sent from the wix-users mailing list archive at Nabble.com. >> >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Microsoft >> Defy all challenges. Microsoft(R) Visual Studio 2008. >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >> _______________________________________________ >> WiX-users mailing list >> WiX-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/wix-users > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > -- View this message in context: http://www.nabble.com/Service-is-not-started-in-Vista%2C-working-fine-in-xp-tp15152610p15175140.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users