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

Update ShimGen to 0.8.x to address some issues #1243

Closed
ferventcoder opened this issue Apr 7, 2017 · 3 comments
Closed

Update ShimGen to 0.8.x to address some issues #1243

ferventcoder opened this issue Apr 7, 2017 · 3 comments

Comments

@ferventcoder
Copy link
Member

ShimGen needs to use app.manifest to work better with UAC and the shims that are created do as well. It also needs a few additional settings added to optimize the generated files a bit better.

@ferventcoder ferventcoder self-assigned this Apr 7, 2017
@ferventcoder ferventcoder added this to the 0.10.6 milestone Apr 7, 2017
ferventcoder added a commit that referenced this issue Apr 7, 2017
Upgrade shimgen to the latest to address some issues regarding UAC and
app.manifests. Also to allow for some new additional settings taht have
been added to optimize generated files a bit better.
ferventcoder added a commit that referenced this issue Apr 7, 2017
Update the Chocolatey shims to use the latest of what is generated by
shimgen.
ferventcoder added a commit that referenced this issue May 1, 2017
* stable: (35 commits)
  (GH-1238) Save extra info about installed packages
  (maint) allow overrides
  (GH-1253)(GH-1263) List/Search returns Summary and Release Notes
  (GH-1101) Search results by relevance by default
  (GH-1004) Ensure choco info returns results
  (maint) Note on install if auto-uninstall possible
  (maint) look for licensed assembly based build-type
  (GH-615) capture more user information
  (GH-1145) show inner exception message
  (GH-1267) API - get configuration
  (maint) Resources proj does not produce pdb file
  (doc) update nuspec authors
  (doc) update licensed release notes
  (build) ILMerge pdb files
  (GH-1247) ensure xml documentation
  (maint) note force install is for same version
  (GH-1243) Update Chocolatey shims
  (GH-1243)(shimgen) upgrade to 0.8.x
  (maint) fix copyright double period
  (log) show exit code when running -v
  ...
@vignesh-paramasivam
Copy link

Hi I'm getting the following issue on ShimGen while installing nssm package. The same is working when tried with ShimGen 0.7, can you please advice?

PS C:\Users\Administrator> C:\ProgramData\chocolatey\tools\shimgen.exe --path="..\\lib\NSSM\Tools\nssm-2.24\win64\nssm.e
xe" --output="C:\ProgramData\chocolatey\bin\nssm.exe"  --iconpath="C:\ProgramData\chocolatey\lib\NSSM\Tools\nssm-2.24\wi
n64\nssm.exe"
Microsoft (R) Visual C# 2010 Compiler version 4.0.30319.1
Copyright (C) Microsoft Corporation. All rights reserved.

fatal error CS2007: Unrecognized option: '/errorendlocation'


[ERROR] ShimGen had an issue creating 'C:\ProgramData\chocolatey\bin\nssm.exe'. Please check the logs above.

@ferventcoder
Copy link
Member Author

I wonder if we introduced something in .NET 4.5+? Can you provide a full debug/verbose log please? Thanks!

@ferventcoder
Copy link
Member Author

No need for that log - I think we are good to go - please follow #1321

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

No branches or pull requests

3 participants