View Single Post
Old 07/01/2009, 09:33 AM   #48 (permalink)
greg_roll
Member
 
Join Date: Jun 2009
Posts: 517
Thanks: 35
Thanked 511 Times in 129 Posts
Default SDK Installer

Hi guys,

Not sure if this is already documented but I have found the following...

Running the following command in the SDK against the emulator
SDK\bin>palm-install.bat <path to ipk file> --debug

causes the IPK file to be copied to /media/internal/developer/*
The --debug switch tells the device to not delete the IPK when the install fails.

The above command runs the following on the Pre itself
luna-send -i palm://com.palm.appinstaller/installNoVerify '{"target": "/media/internal/developer/FILENAME.ipk", "subscribe": true}'

It is palm://com.palm.appinstaller/installNoVerify which checks the validity of the IPK file so changing the SDK might not do it alone unless someone can find a new option instead of installNoVerify.

Running
SDK\bin>palm-install.bat <path to any file> --debug
will copy any file you want to /media/internal/developer.

This may be helpful too.

I will see what else I can find in com.palm.appinstaller.

Hope this helps
greg_roll is offline   Reply With Quote
Thanked By 3: