Friday 12 August 2011

Installing Windows Embedded CE 6.0 QFEs under Windows 7

Hi foks,

I have recently installed Windows Embedded CE 6.0 R3 on a Windows 7 32-bit machine. In his Blog, fellow MVP Valter Minute described how to install Windows Embedded CE 6.0 on Windows 7 64-bit system.

Installing Windows Embedded CE 6.0 R3 was no problem at all (other than the usual lengthy process). However, I could not install the QFEs (or any *.msi file for that matter). I always got this error message:


Desperately surfing the net I came across a post stating I need to re-register vbscript.dll and jscript.dll. After doing so I was still faced with the same error message when trying to install a *.msi file.

Valter’s 64-bit post provided me with the solution (thanks Valter!):
I wrote a batch file re-registering the above mentioned script dlls and installing the QFE *.msi files. I ran that batch file as administrator et voilà, it worked.

Not only did I have to re-register the above mentioned script dlls as administrator, I also needed to install the *.msi files as administrator which I only could accomplish from within the batch file.

Here are the batch commands to re-register the script dlls under Windows 7 32-bit (find the 64-bit commands in Valter’s post):

reg delete "HKCU\SOFTWARE\Classes\CLSID\{B54F3741-5B07-11CF-A4B0-00AA004A55E8}" /f
regsvr32 c:\windows\system32\vbscript.dll
regsvr32 c:\windows\system32\jscript.dll


Have fun!

UPDATE:
Jérôme highlighted an even easier way to install *.msi files under Windows 7 in the comment section:


You can also just go to msi file properties > compatibility tab >
check "run this program in compatibility mode for" and choose "Previous version
of Windows" (not sure of the exact english labels since I have a french version
of Windows).

That just works :)

Thank you so much Jérôme!

3 comments:

Jérôme said...

You can also just go to msi file properties > compatibility tab > check "run this program in compatibility mode for" and choose "Previous version of Windows" (not sure of the exact english labels since I have a french version of Windows).

That just works :)

Jochen Dieckfoß [MVP] said...

Hi Jérôme,

Thank you so much for the tip! I updated the post to include your comment.

Have fun
-Jochen

Jérôme said...

Hi Jochen,

You're welcome. Your blog is on my outlook RSS feeds so when I can, I'm glad to help :)

It is almost the only real issue of Windows Embedded CE 6.0 within Windows 7 64-bit.

There is also the need to switch 64-bit .NET runtime to WoW mode in order to generate SDK and to run CE update check utility.

Have a nice week-end.

If you're looking for me, just type Jérôme Strasbourg Windows Embedded CE in your search engine :)