[Enhancement] Create link to GUI tool in Start Menu #218
Comments
I am not understanding this at all. Install-ChocolateyZipPackage can specify an unzip location of your choice. I thought we had a helper for making links. |
The first part is explaining how the Install command works as it is now. The second part explains something I cannot do. What part do I need to explain in a different way? Can you provide an example or link to documentation for all three?
|
The complete parameters are listed in the files so The params should probably be named, re-positioned and cleaned up, but it will work. |
Ah thanks. I see partial unzip is limited for my purposes. So I mentioned it in another Enhancement #220, maybe it can be file-specific. Wow I see it's actually quite powerful, being able to add file associations and pin stuff. I haven't found the specific start menu functionality yet, but pinning is close in essence. Once I figure out specific stuff I will add it to the documentation under "examples" or "common tricks", because if it's easier for others to make packages, there is a bigger chance of more people making packages, which (in my opinion) is good. :) |
I dont believe start menu links were added From: "Redsandro" notifications@github.com Ah thanks. I see partial unzip is limited for my purposes. I mentioned it in another Enhancement #220. Wow I see it's actually quite powerful, being able to add file associations and pin stuff. I haven't found the specific start menu functionality yet, but pinning is close in essence. Once I figure out specific stuff I will add it to the documentation under "examples" or "common tricks", because if it's easier for others to make packages, there is a bigger chance of more people making packages, which (in my opinion) is good. :) - |
I think this comes really close: https://github.com/chocolatey/chocolatey/tree/master/src/helpers/functions I think only $desktop = $([System.Environment]::GetFolderPath([System.Environment+SpecialFolder]::StartMenu)) As seen in this documentation: http://www.programmersheaven.com/2/Les_CSharp_15_p2 But I'd need someone who actually understands Chocolatey and Powershell to test this and create a directory in the start menu called Chocolatey so Chocolatey-installs won't clutter the root of the start menu, which I don't know how to do. Am I overlooking something? |
( Split from #215 )
Using the Install-ChocolateyZipPackage command, all .exe files within the .zip file will be installed in it's respective package folder inside **\Chocolatey\lib**; and the executable will be linked in the form of a .bat file in the *\Chocolatey\bin* directory, unless there is an empty .exe.ignore file present to signal the installer not to do this.
However, for most GUI tools, we want a real .lnk file created in C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Chocolatey or something, so we can (in Windows Vista/7/8) press Win, start typing, and launch the app.
We wouldn't want to launch most GUI app from the terminal anyway.
The text was updated successfully, but these errors were encountered: