My installer receives credentials from the user then starts a service under
them.  If the user enters bad credentials or if the specified account
doesn't have permission to install a Service, the installer rolls back with
no error message.  I think it's a long shot, but am I doing something wrong
that there is no error telling the user what went wrong? The log file shows
this:

MSI (s) (D8:74) [14:16:46:110]: Executing op:
ServiceInstall(Name=ResponderQueryService,DisplayName=Responder Query
Service,ImagePath="C:\Program Files (x86)\Miner and
Miner\Responder\Server\Miner.Responder.QueryWindowsService.exe",ServiceType=16,StartType=2,ErrorControl=0,,Dependencies=msmq[~]Responder[~][~][~],,StartName=asdf,Password=**********,Description=Responder
Query Service used for query-only data processing,,)
InstallServices: Service: 
MSI (s) (D8:74) [14:16:46:149]: Note: 1: 2205 2:  3: Error 
MSI (s) (D8:74) [14:16:46:149]: Note: 1: 2228 2:  3: Error 4: SELECT
`Message` FROM `Error` WHERE `Error` = 1923 
*Info 1923.Service 'Responder Query Service' (ResponderQueryService) could
not be installed.  Verify that you have sufficient privileges to install
system services.
*Action ended 14:16:46: InstallFinalize. Return value 3.

Thanks!

- John Burak

--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Service-Install-with-bad-credentials-causes-rollback-no-error-dialog-tp7579248.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to