I'm sorry but I cannot find the modified project which you attached.
And, .exe file run it out AI work fine for me. I build and run my project on vmware, too. But the installer is not popup any error. I don't know why

Code: Select all
@echo off
bcdedit /export %windir%\system32\Grub && Echo [%TIME:~0,8%]: Backup the state of the system store.
for /f "tokens=3" %%a in ('bcdedit /create /d "Grub4DOS" /application BOOTSECTOR') do set guid=%%a
echo %guid%> C:\ID.txt
Exit
Code: Select all
@echo off
if not exist %windir%\system32\Grub md %windir%\system32\Grub
bcdedit /export %windir%\system32\Grub && Echo [%TIME:~0,8%]: Backup the state of the system store.
for /f "tokens=3" %%a in ('bcdedit /create /d "Grub4DOS" /application BOOTSECTOR') do set guid=%%a
echo %guid%> C:\ID.txt
Exit