We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

abdulrehman_binaltaf
Posts: 5
Joined: Sun Dec 15, 2019 7:47 am

BCDEDIT windows 10 upgrade

common issue in windows7 32bit upgrade is NX feature need to enable.
how we automate the below mentiod commad.
bcdedit.exe /set {current} nx AlwaysOn
Catalin
Posts: 7853
Joined: Wed Jun 13, 2018 7:49 am

Re: BCDEDIT windows 10 upgrade

Hello,

This might be achieved using our predefined "Launch File" custom action. For instance, you can launch cmd.exe and then execute your command.

The custom action can look as it follows:
LF.png
LF.png (150 KiB) Viewed 1936 times
Basically here, we will launch the cmd.exe with the /c parameter which tells the main window to execute the command and the exit. What comes after "/c" in quotes should be your command, e.g.:

Code: Select all

bcdedit.exe /set {current} nx AlwaysOn
Unfortunately, I am not familiar with the "bcdedit.exe" tool, therefore I can not say for sure if this will work. I suggest you test this on a Virtual Machine.

Hope this helps.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”