Error 1920
I am writing my first MSI package so I suppose my question would be pretty simple for a common MSI user.
My package contains a service exe that I want to run upon package installation and delete upon uninstall.
To accomplish that I add one row in two tables correspondingly : ServiceControl and ServiceInstall.
In ServiceControl row I set 129 in Event field. In ServiceInstall table I specify 2 as StartType of the service.
When I install the package everything works fine and my service is started properly.
When I uninstall the package I see my service is gone from the service list but before my uninstall is completed I get an error 1920: "Service failed to start. Verify that you have sufficient privileges to start system services."
From some reason the MSI attempts to start the service again when it is removed from the disk and I can't understand why.
Please, help me to find what I am doing wrong.
Thanks in advance.
My package contains a service exe that I want to run upon package installation and delete upon uninstall.
To accomplish that I add one row in two tables correspondingly : ServiceControl and ServiceInstall.
In ServiceControl row I set 129 in Event field. In ServiceInstall table I specify 2 as StartType of the service.
When I install the package everything works fine and my service is started properly.
When I uninstall the package I see my service is gone from the service list but before my uninstall is completed I get an error 1920: "Service failed to start. Verify that you have sufficient privileges to start system services."
From some reason the MSI attempts to start the service again when it is removed from the disk and I can't understand why.
Please, help me to find what I am doing wrong.
Thanks in advance.
0 Comments
[ + ] Show comments
Answers (1)
Please log in to answer
Posted by:
brenthunter2005
18 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.