I want to install a 3rd party service with WIX. it was originally not a windows service but 3rd party has supplied one more exe and with help of some commands we can install this as windows service. I tried it with custom action as System.Diagnostics.Process and argument I supplied was:
startServiceProcess.StartInfo.FileName = installExePath;
startServiceProcess.StartInfo.Arguments = string.Format(CultureInfo.InvariantCulture, "{0} {1} {2} {3}", "-c " + FilesPath, @"-e " + ExePath, @"-l " + debugFilePath, "-n " + NewServiceName);
I want to install this service with ServiceInstall element in WIX (without custom action).
Is there any way I can supply custom argument to ServiceInstall? These argument contain some path as well.