Module 5.4.1 also introduced a bug when creating a shortcut because when the executing script is a PS1, the Target was converted to “powershell.exe” and hence the shortcut was not being created. In order to make it work, I manually changed the above string to [POWERSHELL] so it would use the Property already set in the WXS.
banyula
3
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| New-InstallerShortcut - Error executing shortcuts | 2 | 751 | March 2, 2022 | |
| New-InstallerCustomerAction -Arguments are wrongly positioned in WXS | 4 | 829 | February 14, 2020 | |
| New-InstallerShortcut for directory? | 2 | 406 | March 18, 2022 | |
| Referencing files in New-Installer | 2 | 643 | February 14, 2020 | |
| .psd1 not being created in current directory | 6 | 759 | January 17, 2020 |
