The culprit is :
public partial class Installer : Installer
You are trying to define a
partial
class which inherits itself. It has nothing to do with installer but you are going against the basic principles.
Create a new class which inherits
Installer
class.
public partial class MyInstaller : Installer