Hello Krishna,
Honestly, this is a quite strange log file. I think it's the first time I see one like this
Judging by the log file, it looks like a rollback has been performed, indeed.
Running a transacted installation.
Beginning the Install phase of the installation.
See the contents of the log file for the C:\Pharmsuite\MPSITSCHService.exe assembly's progress.
The file is located at C:\Pharmsuite\MPSITSCHService.InstallLog.
Installing assembly 'C:\Pharmsuite\MPSITSCHService.exe'.
Affected parameters are:
logtoconsole =
logfile = C:\Pharmsuite\MPSITSCHService.InstallLog
assemblypath = C:\Pharmsuite\MPSITSCHService.exe
Installing service MPSITSCHService...
Creating EventLog source MPSITSCHService in log Application...
An exception occurred during the Install phase.
System.ComponentModel.Win32Exception: The specified service already exists
The Rollback phase of the installation is beginning.
See the contents of the log file for the C:\Pharmsuite\MPSITSCHService.exe assembly's progress.
The file is located at C:\Pharmsuite\MPSITSCHService.InstallLog.
Rolling back assembly 'C:\Pharmsuite\MPSITSCHService.exe'.
Affected parameters are:
logtoconsole =
logfile = C:\Pharmsuite\MPSITSCHService.InstallLog
assemblypath = C:\Pharmsuite\MPSITSCHService.exe
Restoring event log to previous state for source MPSITSCHService.
The Rollback phase completed successfully.
The transacted install has completed.
The installation failed, and the rollback has been performed.
The above does not seem like a log created by the Windows Installer. Upon further research, it looks like that log portion is generated by the
"InstallUtil.exe" executable.
It looks like the installation of the service fails.
Since I do not have the .AIP file, I am not quite sure how you are trying to install the service. Is it through a custom action that calls
InstallUtil.exe?
I am not really experienced in using the
InstallUtil tool, but here is how I would try to debug this:
- although most of the times the error message is not directly related to the error itself, please make sure that the service indeed does not already exist on the system
Additional info: you can try to run the following before installing the service:
(please be aware that you should provide the service name,
not the Display Name)
- please make sure that you run the setup elevated, as working with services requires elevated privileges
- try to install the service outside of the setup created by Advanced Installer by using the
InstallUtil tool. If the installation of the service still fails, then this most probably is something related either to the service itself or to the target machine
This is pretty much all I can think about as for this moment.
Hope this helps.
Best regards,
Catalin
FOLLOW US
Get the latest news in Application Packaging