Is that a C# service class that you install with InstallUtil? If so, then you can pass arguments to InstallUtil when installing the service. -- Nir Bar, Independent WiX Expert. Creator of- JetBA: WiX WPF Bootstrapper User Interface Framework JetBA++: WiX Native Bootstrapper User Interface Framework