Step 1. Make a backup of your current PWB folder.
Step 2. Make a backup of your current PWB folder (it is important to make a backup).
Step 3. Extract and copy all the files from the PWB v3 Upgrade distribution over the files in your current PWB folder.
Step 4. If upgrading major versions (ex: 3.01.x to 3.05.x), update your INI file with the PWB INI Update utility included with PWB v3.
Please note: The Upgrade distribution files are available on the Downloads page.
Updating to the current version of PWB v3
Re: Updating to the current version of PWB v3
The best way to move to PWB v3 from PWB v2 is to start fresh. However the second best option is to do the following.
1. Start with a new PWB v3 folder.
2. Convert the INI file from PWB v2 to PWB v3 with the INI Update utility (included with PWB v3).
3. Copy the INI file into the PWB v3 folder.
4. If using a filter, copy the filter file from the PWB v2 folder to the PWB v3 folder.
5. Edit the PWB v3 message files to meet your needs. PWB v3 uses HTML messages files, see the samples included with PWB v3.
6. Edit the paths in the updated INI file to use the files from step 5.
7. Use PWB v3 from the new folder
--Scott
1. Start with a new PWB v3 folder.
2. Convert the INI file from PWB v2 to PWB v3 with the INI Update utility (included with PWB v3).
3. Copy the INI file into the PWB v3 folder.
4. If using a filter, copy the filter file from the PWB v2 folder to the PWB v3 folder.
5. Edit the PWB v3 message files to meet your needs. PWB v3 uses HTML messages files, see the samples included with PWB v3.
6. Edit the paths in the updated INI file to use the files from step 5.
7. Use PWB v3 from the new folder
--Scott
Re: Updating to the current version of PWB v3
If you are updating from PWB Chrome (CEF) to PWB Edge here are some things to look for.
Check the context (right click) menu items as some have changed.
The following files and folders can be safely deleted.
Folders:
locales
Files:
CEF.txt
chrome_100_percent.pak
chrome_200_percent.pak
chrome_elf.dll
d3dcompiler_47.dll
icudtl.dat
libcef.dll
libEGL.dll
libGLESv2.dll
resources.pak
snapshot_blob.bin
v8_context_snapshot.bin
vk_swiftshader.dll
vk_swiftshader_icd.json
vulkan-1.dll
--Scott
Check the context (right click) menu items as some have changed.
The following files and folders can be safely deleted.
Folders:
locales
Files:
CEF.txt
chrome_100_percent.pak
chrome_200_percent.pak
chrome_elf.dll
d3dcompiler_47.dll
icudtl.dat
libcef.dll
libEGL.dll
libGLESv2.dll
resources.pak
snapshot_blob.bin
v8_context_snapshot.bin
vk_swiftshader.dll
vk_swiftshader_icd.json
vulkan-1.dll
--Scott
Re: Updating to the current version of PWB v3
Hi Scott,
I am getting an error message stating that "The Microsoft Edge Webview2 Environment was not found," after updating from the CEF to the latest Edge version of PWB. I do have the Webview2 runtime installed from Microsoft, and PWB does load (albeit with a black box in the lower lefthand corner), after I click ok.
I also tried downloading a fresh Edge copy of PWB and updating my old Chrome PWB.ini file but received the same result. This is on an up-to-date Windows 10 IoT Enterprise LTSC 2021 21H2 x64 machine.
I am getting an error message stating that "The Microsoft Edge Webview2 Environment was not found," after updating from the CEF to the latest Edge version of PWB. I do have the Webview2 runtime installed from Microsoft, and PWB does load (albeit with a black box in the lower lefthand corner), after I click ok.
I also tried downloading a fresh Edge copy of PWB and updating my old Chrome PWB.ini file but received the same result. This is on an up-to-date Windows 10 IoT Enterprise LTSC 2021 21H2 x64 machine.
Re: Updating to the current version of PWB v3
You need to install the Microsoft Edge Runtime Environment WebView2 for PWB 3.20.xx.
https://developer.microsoft.com/en-us/m ... e/webview2
--Scott
https://developer.microsoft.com/en-us/m ... e/webview2
--Scott
Re: Updating to the current version of PWB v3
The runtime is installed. PWB does work as expected on my Windows 11 machine, but not on a Windows 10 IoT machine. I just reinstalled the Webview2 runtime environment and unfortunately received the same result.
Re: Updating to the current version of PWB v3
Managed to get PWB Edge version working by installing PWB with the MSI (x86) installer, and then the x86 version of the Webview2 evergreen standalone installer, which created a folder for it in program files (x86).