Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error with installer / service #1

Closed
ghost opened this issue Jul 28, 2017 · 3 comments
Closed

Error with installer / service #1

ghost opened this issue Jul 28, 2017 · 3 comments
Labels

Comments

@ghost
Copy link

ghost commented Jul 28, 2017

I downloaded and ran the installer.msi file (no errors), bud didn't see a Windows service added. I opened a command prompt and ran the main exe and got this output:

C:\Program Files (x86)\Svenkle\NuGet Server>Svenkle.NuGetServer.Service.exe
[Svenkle.NuGetServer.Service]
Starting...
System.IO.IOException: Could not complete operation on some files and directories. See the Data property of the exception for more details.
   at Microsoft.VisualBasic.FileIO.FileSystem.FxCopyOrMoveDirectory(CopyOrMove operation, String sourceDirectoryPath, String targetDirectoryPath, Boolean overwrite)
   at Microsoft.VisualBasic.FileIO.FileSystem.CopyOrMoveDirectory(CopyOrMove operation, String sourceDirectoryName, String destinationDirectoryName, Boolean overwrite, UIOptionInternal showUI, UICancelOption onUserCancel)
   at Svenkle.NuGetServer.Service.Service.ExtractHost()
   at Svenkle.NuGetServer.Service.Service.OnStart(String[] args)
   at Svenkle.NuGetServer.Service.Service.Main(String[] args)

Unhandled Exception: System.IO.IOException: Could not complete operation on some files and directories. See the Data property of the exception for more details.
   at Microsoft.VisualBasic.FileIO.FileSystem.FxCopyOrMoveDirectory(CopyOrMove operation, String sourceDirectoryPath, String targetDirectoryPath, Boolean overwrite)
   at Microsoft.VisualBasic.FileIO.FileSystem.CopyOrMoveDirectory(CopyOrMove operation, String sourceDirectoryName, String destinationDirectoryName, Boolean overwrite, UIOptionInternal showUI, UICancelOption onUserCancel)
   at Svenkle.NuGetServer.Service.Service.ExtractHost()
   at Svenkle.NuGetServer.Service.Service.OnStart(String[] args)
   at Svenkle.NuGetServer.Service.Service.Main(String[] args)

C:\Program Files (x86)\Svenkle\NuGet Server>
@ghost
Copy link
Author

ghost commented Jul 28, 2017

The error appears to be related to permissions, but still curious why the installer didn't install a Windows service. Or am I misunderstanding what the installer is performing?

@svenkle
Copy link
Owner

svenkle commented Jul 29, 2017

@shanewalters the error is from the IIS Express extraction process as it must have write permissions to the temporary folders (maybe try running as Administrator).

As for the Installer.msi - have you tried restarting your machine? I've found that when using the Installer wrapper application (aip) any services added will not show in the list until next system restart.

@svenkle
Copy link
Owner

svenkle commented Sep 14, 2017

I'm going to go ahead and close this as you haven't replied.

@svenkle svenkle closed this as completed Sep 14, 2017
@svenkle svenkle added the bug label Nov 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant