You get this because a repair is a reinstall, and a reinstall includes
running custom actions, and so the Installer class tries to reinstall the
Service.
You can correct this by adding a Condition of NOT REINSTALL on the Installer
class Install and Commit custom actions so that they don't get called during
a repair, when the Windows Installer REINSTALL property is set.
--
Phil Wilson
[Microsoft MVP-Windows Installer]
Definitive Guide to Windows Installer
http://apress.com/book/bookDisplay.html?bID=280
"Brian S" <(E-Mail Removed)> wrote in message
news:6B8BE2F3-5A74-4BDF-9CA9-(E-Mail Removed)...
> I've created a Windows Service and Installer using the MSDN Walkthrough
> article. However, if I select "Change" then "Repair" out of the Add /
> Remove
> Programs list then I get the error "The specified service already exists"
>
> Anyone know how to fix this error or disable the Repair function?
>
> Thanks!