logo logo
Print This Post

How to install Palm Pre Mojo SDK on Windows 7 RC

Emu02 Trying to install the Palm Pre / Mojo / WebOS SDK on my computer running Windows 7 RC. As reported here, I experienced the problem of the installer failing silently towards the end without an error message, performing a rollback. I have no idea how long it takes Palm or even if they are planning on fixing this in the near future, but a look into Windows event log shows that the silent failure of the installer is caused by a Windows Update package for the User Mode Driver Framework which the SDK installer tries to install but which apparently fails to install on Windows 7.

So my solution to the problem is simply not to make the SDK installer try to install this Windows Update Package. Since it’s only an update, it’s probably not crucial to running the SDK. So here’s a 15 min. procedure how to edit the Mojo SDK installer program based on this former blog post of mine, so that it skips the Windows Update package during install.

First of all two preliminary steps to install the tools we need:

  1. Download and install the Microsoft Windows SDK which contains a tool called Orca which we need for the procedure.
    (You don’t have to install the whole SDK! You only need to select Developer ToolsWindows Development Tools during install)
  2. After installing this, go to C:\Program Files\Microsoft SDKs\Windows\v7.0\Bin and run Orca.MSI in this folder, which install the actual Orca tool.

Update: Several people have mentioned this link, where you can download Orca directly without having to download and install the full Microsoft Windows SDK. You can get Orca from there and thus skip step 1.

Now the procedure to actually alter the Palm Mojo SDK installer:

  1. Open the folder to which you downloaded the Mojo SDK installer (Palm_Mojo_SDK-Win-1.1.0-sdk62-build08.exe)
  2. Hit “Windows + R” on your keyboard (or click Start and Run) to bring up the Windows Run dialog and enter %TEMP%, hit enter.
    01
  3. Now arrange the two folders next to each other so you can see the both at the same time, then run Palm_Mojo_SDK-Win-1.1.0-sdk62-build08.exe.
    02
    In your Temp folder you see all kind of weird files and folders, the important thing is, that once you run the installer above, a new folder with a random name starting and ending with brackets and consisting of lots of numbers appears.
    03
    There may already have been similar folders in your Temp folder before you ran the installer, so try to locate the one that was created the moment you ran the installer.
  4. Initially this folder contains nothing but three *.ini files, yet once the first step of the installer is completed a new file is created there, named Palm SDK.msi. Copy this file to the folder where Palm_Mojo_SDK-Win-1.1.0-sdk62-build08.exe is located.
    04
    Once the copy process is complete, cancel the installer.
    05
  5. Now right-click the copied file and select Edit with Orca.
    06
  6. In Orca, select InstallExecuteSequence in the left pane, the scroll to the very bottom in the right pane and select installumdf.08B8BE2B_9174_49D1_84B0_40324FD7DE34. Right-click and select Drop Row.
    07
    This removes the command to execute the Windows Update package which causes the installer to fail.
  7. Now we’re almost done. Hit Save and exit Orca.
    08
  8. Run Palm SDK.msi and just follow the wizard. The SDK should install fine now without any problems or failures.

A tiny tip at last:

Once the SDK is installed, if you want to run the Palm Pre emulator as suggested by Palm, right-click the application link and select Run as Administrator or if it still doesn’t work Troubleshoot compatibility and then select Windows XP SP2 mode. When I first just clicked the emulator link, nothing happend, no program appeared, … I don’t quite remember which one did the trick, running it as Administrator or in compatibility mode, but one of those finally made it work.

Some useful links regarding the SDK:

Have fun with the SDK!

bottom

Where others went from here:

bottom bottom


22 Responses to “How to install Palm Pre Mojo SDK on Windows 7 RC”

  1. Rocket Chef says:

    Great! This worked for me! But i have the new VirtualBox 3 installed which isnt supported by the SDK :-(

    • VirtualGuy says:

      You can try it with VirtualBox 3.x. It seems to work, even though it’s not yet “officially supported”…

  2. Corey says:

    Your instructions worked great on Windows 7 x64 RC! Thanks!

  3. Carter says:

    i did this but when i click save i get an error message telling me the file cannot be saved. then the file just goes blank in the orca editor and it doesnt work. i need some help

  4. Impur1ty says:

    Thanks a lot for this. Worked like a charm on 7RC.

  5. Farhan Ahmad says:

    Thanks for posting detailed instructions, this fixed the issue :)

  6. Keef says:

    Works on Win 7RC 32bit VM. (Need to run the emulator as Administrator.)

    Thanks, shame PALM couldn’t do this.

    K

  7. Nick Whalen says:

    Thank you! I was scratching my head trying to figure out how to get this to cooperate on Win 7. Works great now.

  8. You can also skip the SDK download, by downloading Orca MSI editor directly from here:
    http://www.technipages.com/download-orca-msi-editor.html

    I’m gonna try it and confirm..

  9. Confirmed!

    It’s a 1.82MB download that works like a charm! :D

    Grab it here (same link as above):
    http://www.technipages.com/download-orca-msi-editor.html

    • Jürgen says:

      Thanks for the link. I just included it in the article above.

      I didn’t want to risk any license agreements, etc. which is, why I didn’t include a download of either Orca or the modified Palm SDK.msi with the blog post above.

      • Brian says:

        Thank you for the instructions, can’t wait to try this out at home! I would like to encourage you to remove the direct download link, though, on general security principle. You have far more assurance that your computer won’t get owned by trojans or viruses when you download the software straight from Microsoft instead of a random third-party site.

        • Jürgen says:

          That’s 100% true and the reason why I left the original instructions as they were and instead just added the direct link as additional information.

          I think the kind of people visiting this site, i.e. developers, etc., can decide for themselves which way they prefer and which are the risks involved.

        • I guess you’ve got a valid point Brian.

          On the contrary, I agree with Jürgen that it’s a decision best left with the blog visitors.

          Btw, I didn’t find any Trojan or Malware on it.

          PS: I too probably feel that it would violate some point in the T&Cs to directly redistribute any part of the MS download without permission. But since the download isn’t hosted here, nor is it directly linked to from here, it shouldn’t be a problem :)

  10. Lincoln says:

    Thanks. This worked perfectly on Windows 7 Ultimate RTM.

    BTW: I did not experience any issues running the emulator from the shortcut supplied by Palm. I am using VirtualBox 3.04

  11. george says:

    ok so i have orca but i cannot find my palm mojo file thing i’m not good with computers so maybe you can help?
    and why the hell doesnt palm just update the software to fix this issue?

  12. Aaron M says:

    I am not able to edit the Palm SDK file with orca, I keep on getting the following error message: Failed to open MSI Database: ‘filelocation\Palm SDK.msi’ I have made sure the Palm-Mojo-SDK-Win-1.1.0.12 is in the same directory, I have made a copy of the file from the temp directory, I have even tried reinstalling orca(which launches fine by itself) but I cannot edit this .msi file for some reason. Any assistance would be much appreciated. Thank you.

    • Jürgen says:

      Sorry, I should have posted a quick update on that matter some time ago: The latest version of Palm’s Mojo SDK works perfectly on Windows 7 (x86 and x64) without any tweaking, right out of the box.

      Just download the latest version on Palm’s website, install and run.

  13. [...] Windows 7 上安装 Palm Pre Mojo SDK 之前一直玩Mojo 0.3.4的泄露版SDK,在Win7上安装也一直没有什么问题。前段时间Palm将Mojo SDK正式Release(Version 1.1.0),自然不放过这个玩浮云的机会。于是下载安装,按照剧情要求,悲剧的事情总是要发生的,Win7上安装SDK到一半时,安装程序就自动Roll back,也没有明显的提示,the Palm pre’s joke? 查安装日志,发现是安装到于Mojo相关的Windows Update一个组件时发生了错误。。。0.3.4安装正常,估计是没有安装这个组件,然后到Palm Developer的forum上瞅了一下,发现这就是Win7的一个悲剧,Mojo SDK的开发人员已经开始着手解决这个问题了。估计下一个SDK版本要等一会儿了,咱也不能闲着不是,现在的办法就是在安装时让安装程序不要安装那个windows update组件,于是有牛人无聊找到解决方案:http://www.juergentreml.de/archives/802 [...]

Leave a Reply

To post a comment fill out the Name and Email fields below OR login with your Live Runway account or your Facebook account. 

bottom
One of 528 websites proudly supporting Earth Hour. On WordPress? Get the plugin.