FAQ | This is a LIVE service | Changelog

Update Helper scripts used in packages authored by Dr Adam Thorn's avatar Dr Adam Thorn
......@@ -13,3 +13,12 @@ wait-for-process.cmd
1. run setup.exe which we've determined somehow will spawn Au_.exe
1. then wait for the Au_.exe to finish, which we are pretty confident can only be the child spawned in line 2 because we waited for any other Au_.exe processes we might have in line 1
Whilst there's a narrow window for another Au_.exe to start executing between line 1 and 2, in practice this formulation seems to work rather reliably.
Creating/deleting start menu items
==================================
* Location: %WPKGSOFTWARE%\wpkg\tools\create-shortcut.js , %WPKGSOFTWARE%\wpkg\tools\delete-shortcut.js
* Example usage:
```
<install cmd='cscript %WPKGSOFTWARE%\wpkg\tools\create-shortcut.js /folder:"Olex2" /linkname:"Olex2 %version%" /target:"%programfiles%\olex2\olex2.exe"' />
<remove cmd='cscript %WPKGSOFTWARE%\wpkg\tools\delete-shortcut.js /folder:"Olex2"'/>
```