GNOME Bugzilla – Bug 787179
setup-mingw64.ps1 fails to find Html Help Workshop on my pristine Windows 7 setup
Last modified: 2018-06-29 23:59:04 UTC
Running the above script on a fresh Windows 7 installation it produces the following error: Next we'll install the HTML Help Workshop includes and libraries into our MinGW directory. get-item : Cannot find path 'HKCU:\SOFTWARE\Microsoft\HTML Help Workshop' because it does not exist. At C:\Users\Geert\Downloads\setup-mingw64.ps1:227 char:20 + $installed_hh = get-item -path "hkcu:\SOFTWARE\Microsoft\HTML Help Workshop" ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (HKCU:\SOFTWARE\...L Help Workshop:String) [Get-Item], ItemNotFoundExcep tion + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetItemCommand cp: cannot stat '/include/htmlhelp.h': No such file or directory This seems to assume HtmlHelp Workshop is installed rather than installing it if missing. The older build system did install it (in the default system location) in case it was missing.
I have to correct this. An attempt to manually install Html Help Workshop tells me "A newer version is installed already". So apparently it's available on the system, but the script is not finding it propery. I'm adjusting the bug title accordingly.
Hmm, and rerunning setup_mingw64.ps1 after this manual attempt to install html help workshop successfully passes. So it looks like either the script does install html help workshop (I found the lines to do so) but for some reason doesn't create/update the proper registry key. The manual attempt then rectified this. or it really doesn't install (or at least didn't for me) and my manual installation was required. I don't understand why it would tell me a newer version was already installed though. I'm not sure yet how I can revert back to a clean system to try and reproduce more carefully.
Installing software puts up a UAC box that will eventually time out. The script doesn't handle that very well.
GnuCash bug tracking has moved to a new Bugzilla host. The new URL for this bug is https://bugs.gnucash.org/show_bug.cgi?id=787179. Please continue processing the bug there and please update any external references or bookmarks.