Hi Catalin,
I just tried it on a different system (hardware, Windows 10 build) and I still can reproduce it.
My first assumption was DOS file/folder name length restrictions (e.g. "MyUser~1" vs "MyUserAccount"), but I just have reproduced it without hitting this limitation. Now the error message does not contain any "~" file/folder truncation. So this seems to be a dead end.
The erroneous behavior is the same as on the first machine where I have discovered this issue.
- "Per-user only": error
- "Per-user only (with admin rights)": success
- "Per-machine only": success
- "Per-machine if user is admin ...": success
- "Per-user only" with "Run as administration" checked: error
Advanced Installer Version 16.6.1 with an activated Professional license. Windows 10 Pro Version 1909 Build 18363.535, Region Germany, Language English (USA), PowerShell Version 5.1.18362.145, Bitdefender Total Security. The other system is a Windows Pro Version 1809 Build 17763.864, Region Germany, Language German (Germany), PowerShell Version 5.1.17763.771, McAfee VirusScan Enterprise.
I click "Test script" with "Custom Actions" > "PowerShellScriptInline".
- Image 1.png (96.44 KiB) Viewed 7306 times