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

[SHACK-178] add PowerShell customization and shortcuts to Windows install #152

Merged
merged 1 commit into from
May 21, 2018

Conversation

robbkidd
Copy link
Contributor

ChefDK does the included trickery to get paths and PowerShell configured for a reasonable Chef development environment.

  • a startup PowerShell script for the trickery
  • a shortcut to this script for start menu and desktop to help users get going
  • tinkering with PowerShell registry things (that are mostly about making chef-client itself happy in a Windows environment)

Bonus'd MSI improvements:

  • unzip all the files when a reinstall is selected in the installer
  • icon file name updates because "project" is a boring name

@robbkidd robbkidd requested a review from a team May 18, 2018 21:37
@robbkidd
Copy link
Contributor Author

The following shell command exited with status 210:

    $ candle.exe -nologo -arch x64 -dProjectSourceDir="C:\opscode\chef-workstation" "project-files.wxs"
 "C:\Users\jenkins\AppData\Local\Temp\chef-workstation20180518-2076-n65no5\source.wxs"

Output:

    project-files.wxs

source.wxs

C:\Users\jenkins\AppData\Local\Temp\chef-workstation20180518-2076-n65no5\source.wxs(151) :
 error CNDL0210 : The Feature/@Id attribute with value 'ChefWorkstationStartMenuShortcutFeature',
 is too long for a feature name.  Due to limitations in the Windows Installer, feature names cannot be
 longer than 38 characters in length.

OK. I suppose we'll have to go with ChefWS in the WiX XML ids. I'll work an update for that.

ChefDK does the included trickery to get paths and PowerShell configured
for a reasonable Chef development environment.

* a startup PowerShell script for the trickery
* a shortcut to this script for start menu and desktop to help users get
  going
* tinkering with PowerShell registry things (that are mostly about
  making chef-client itself happy in a Windows environment)

Bonus'd MSI improvements:

* unzip all the files when a reinstall is selected in the installer
* icon file name updates because "project" is a boring name

Signed-off-by: Robb Kidd <robb@thekidds.org>
@robbkidd robbkidd force-pushed the robb/give-windows-some-shortcuts branch from 940314b to b1264bb Compare May 20, 2018 21:23
@marcparadise marcparadise merged commit b4a7ccc into master May 21, 2018
@chef-ci chef-ci deleted the robb/give-windows-some-shortcuts branch May 21, 2018 03:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants