my program is no qt, but i use the pips that must be installed via smartinstall. some devices have pips, so need not to install pips. i want to know how to judge the Package has installed . thanks
my program is no qt, but i use the pips that must be installed via smartinstall. some devices have pips, so need not to install pips. i want to know how to judge the Package has installed . thanks
If you use the SI to deploy your application then it is SI's job to install your dependency (if in the list of supported components) and will only install your application after installing the dependencies. If your application gets executed then PIPS is already there, there's no need for you to do any additional checks. More about the Smart Installer at http://nokia.ly/SmartInstaller
-- Lucian
thanks,ltomuta.i want to ckeck , because my app always install failed at some devices, like n8. The uid is different between original pips in devices and downloading pips via SI. How to solve it
Please contact the Smart Installer logs and attach them here (e.g. bia pastebin.com) so that we can see what goes on. N8 already has the latest PIPS version, an update should not be required.
-- Lucian
the SI logs:
2011/08/18 10:14:56 CADMAppUi::CADMAppUi()
2011/08/18 10:14:56 + CADMAppUi::ConstructL()
2011/08/18 10:14:59 + ProcessCommandLineArgsL(): 7
2011/08/18 10:14:59 Arg[0]='C:\sys\bin\ADM.exe'
2011/08/18 10:14:59 Arg[1]='1519'
2011/08/18 10:14:59 Arg[2]='4'
2011/08/18 10:14:59 Arg[3]='537054415'
2011/08/18 10:14:59 Arg[4]='2'
2011/08/18 10:14:59 Arg[5]='3'
2011/08/18 10:14:59 Arg[6]='c:\private\2002CCCE\import\DopoolPlayer_touch.sisx'
2011/08/18 10:14:59 (cmd) pVer(raw) = 1519 (5ef)
2011/08/18 10:14:59 (cmd) BVersion: 4
2011/08/18 10:14:59 (cmd) Wrapper Uid: 0x2002CCCF
2011/08/18 10:14:59 (cmd) IAP: 2
2011/08/18 10:14:59 CDownloadHandler::SetIap(): 2
2011/08/18 10:14:59 (cmd) LState 3
2011/08/18 10:14:59 (cmd) SisFile: 'c:\private\2002CCCE\import\DopoolPlayer_touch.sisx'
2011/08/18 10:14:59 - ProcessCommandLineArgsL(): 7->7
2011/08/18 10:14:59 + GetPhoneInformation()
2011/08/18 10:14:59 machine uid = 0x20029a73
2011/08/18 10:14:59 Sw Ver = 013.016.2011-01-27.RM-596.(c) Nokia
2011/08/18 10:14:59 - GetPhoneInformation (0)
2011/08/18 10:14:59 configFile = C:\Private\2002ccce\config.ini
2011/08/18 10:14:59 configUrl = http://dl.qt.nokia.com/smartinstaller/ (default)
2011/08/18 10:14:59 + CStateMachine::Start()
2011/08/18 10:14:59 - CADMAppUi::ConstructL()
2011/08/18 10:14:59 + SetState(): 0 -> 1
2011/08/18 10:14:59 Installer pkg on C: (1)
2011/08/18 10:14:59 * Parsing 'c:\private\2002CCCE\import\DopoolPlayer_touch.sisx'
2011/08/18 10:14:59 + SetState(): 1 -> 2
2011/08/18 10:14:59 + BuildDepTreeL(0)
2011/08/18 10:14:59 * Processing 0x20013851 (0, 0)
2011/08/18 10:14:59 Package 0x20013851: v1.07.5 to be downloaded
2011/08/18 10:14:59 + SetState(): 2 -> 3
2011/08/18 10:14:59 Downloading CHANGES: '20013851_changes.xml'
2011/08/18 10:15:01 Starting download
2011/08/18 10:15:01 DL 11186/ 11186 (0.9 s, 12.15 kB/s) (total: 10 kB, 0.9 s, avg 12.15 kB/s) OK
2011/08/18 10:15:02 + SetState(): 3 -> 4
2011/08/18 10:15:02 + ParseChangesFileL(): 'C:\system\adm\20013851_changes.xml'
2011/08/18 10:15:02 + SM::RunError(): 4, 20
2011/08/18 10:15:02 ! Package 0x20013851 v1.07.5 (pips) not available for 0x20029A73
2011/08/18 10:15:02 Exiting due to failure 4
2011/08/18 10:15:02 + SetState(): 4 -> 16
2011/08/18 10:15:02 + CADMAppUi::HandleFailure(): 16. err=4, m=3
2011/08/18 10:15:02 - CADMAppUi::HandleFailure(): 0
2011/08/18 10:15:03 + SetState(): 16 -> 15
2011/08/18 10:15:03 About to uninstall wrapper
2011/08/18 10:15:03 + SetState(): 15 -> 18
2011/08/18 10:15:03 Exit (4)
2011/08/18 10:15:03 Uninstalling wrapper 0x2002CCCF
2011/08/18 10:15:08 CInstallManager: Install completed (0). 0
2011/08/18 10:15:08 HandleInstallCompletedL(0): 18
2011/08/18 10:15:08 + TStateExit::InstallCompleted(0): 4, 20
2011/08/18 10:15:09 + CADMAppUi::ExitApp(): 4, 0
2011/08/18 10:15:13 ADM icon hidden: 1 (0)
2011/08/18 10:15:13 CADMAppUi::~CADMAppUi()
2011/08/18 10:15:13 + CStateMachine::Stop(): 0 pkgs installed.
2011/08/18 10:15:13 Total 10 kB in 0.9 s, avg 12.15 kB/s (16.6 s)