Skip to content
This repository has been archived by the owner. It is now read-only.

[Enhancement] If *.ignore file fails to create, do not fail the process #380

Closed
ferventcoder opened this issue Nov 26, 2013 · 3 comments

Comments

@ferventcoder
Copy link
Contributor

commented Nov 26, 2013

This is related to https://groups.google.com/forum/#!msg/chocolatey/qvJgaQUOUkM/KDB1h4jQKXoJ

Someone might have readonly access to the location where the native installer is located. So attempt to create the ignore file, but if that fails, just move on.

ferventcoder added a commit to ferventcoder/chocolatey that referenced this issue Nov 27, 2013
@da9l

This comment has been minimized.

Copy link

commented Nov 27, 2013

Thanks Rob!
However, since there is no .ignore file is there any risk that a batch redirect will be created for the installer.exe?

@ferventcoder

This comment has been minimized.

Copy link
Contributor Author

commented Nov 27, 2013

If you call an installer, it will generate the ignore file automatically. That's where this was failing, when it tries to create one in a readonly share or something based on how this is being used.

@ferventcoder

This comment has been minimized.

Copy link
Contributor Author

commented Nov 27, 2013

The only time that a batch redirect would be created is if it doesn't get called during the chocolatey install process (which generates the ignore file)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
2 participants
You can’t perform that action at this time.