Skip to content
This repository has been archived by the owner on Oct 3, 2020. It is now read-only.

Failure when installing SC #133

Closed
dannycohen opened this issue Apr 9, 2014 · 6 comments
Closed

Failure when installing SC #133

dannycohen opened this issue Apr 9, 2014 · 6 comments
Milestone

Comments

@dannycohen
Copy link

Error executing powershell: [ERROR] Running C:\Users\Danny\AppData\Local\Temp\chocolatey\ServiceControl\ServiceControlInstall.exe with /quiet  /L*V "C:\Users\Danny\AppData\Local\Temp\chocolatey\ServiceControl\msiexe.log" was not successful. Exit code was '1638'.
Error executing powershell: ServiceControl did not finish successfully. Boo to the chocolatey gods!
-----------------------
[ERROR] [ERROR] Running C:\Users\Danny\AppData\Local\Temp\chocolatey\ServiceControl\ServiceControlInstall.exe with /quiet  /L*V "C:\Users\Danny\AppData\Local\Temp\chocolatey\ServiceControl\msiexe.log" was not successful. Exit code was '1638'.
-----------------------
Error executing powershell: Package 'ServiceControl.install v1.0.0-Beta8' did not install successfully: [ERROR] Running C:\Users\Danny\AppData\Local\Temp\chocolatey\ServiceControl\ServiceControlInstall.exe with /quiet  /L*V "C:\Users\Danny\AppData\Local\Temp\chocolatey\ServiceControl\msiexe.log" was not successful. Exit code was '1638'.

See full log in email

@dannycohen dannycohen added this to the 1.0.0 milestone Apr 9, 2014
@dannycohen dannycohen added the bug label Apr 9, 2014
@dannycohen
Copy link
Author

Update:

  1. I uninstalled SC and the installation proceeded as expected
  2. I assume this is related to me having a Beta version installed
  3. Can we detect this and provide better guidance ? (e.g. "Please unintsall beta installations of and try again").

@andreasohlund
Copy link
Member

We could detect the 1638 error and combine that with the package name to give a "X is already installed, please unistall it manually" error? cc @SimonCropp

@andreasohlund
Copy link
Member

Should I go ahead with this @SimonCropp ?

@SimonCropp
Copy link
Contributor

@andreasohlund not against doing this to add value for some things that cannot be fixed in the MSI but this is not one of those cases. If someone used the installer without the PI we dont want them having to debug msi error codes (if we can avoid it).

The installer should handle uninstalling previous versions even if they are beta. see Particular/ServiceControl#302

@andreasohlund
Copy link
Member

Makes sense, lets fix it in the installer if possible

Sent from my iPhone

On 10 apr 2014, at 08:23, Simon Cropp notifications@github.com wrote:

@andreasohlund not against doing this to add value for some things that cannot be fixed in the MSI but this is not one of those cases. If someone used the installer without the PI we dont want them having to debug msi error codes (if we can avoid it).

The installer should handle uninstalling previous versions even if they are beta. see Particular/ServiceControl#302


Reply to this email directly or view it on GitHub.

@SimonCropp
Copy link
Contributor

moved to Particular/ServiceControl#307

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants