You Are Here:

Community: Developer Discussion Boards

#1 Old Unnecessary question when installing a SIS bundle - 2009-11-03, 21:09

Join Date: Aug 2008
Posts: 53
Larsson73
Offline
Regular Contributor
My application is dependant on the camerawrapper from S60 Platform Camera Example v3.0, and hence I have embedded that SIS in my application's SIS like below
Code:
;CameraWrapper
IF NOT package(0x2001ec5f)
; install camerawrapper.sisx only if not already installed
@"..\..\3rdPartyComponents\CameraWrapper\epoc32\InstallToDevice\CameraWrapper\sis\camerawrapper.sisx", (0x2001ec5f)
ENDIF
To avoid the camerawrapper being accidentally uninstalled I've added a dependency in the pkg-file
Code:
;Dependencies
;Prevents other applications from uninstalling packages we depend upon
;Dispalys a warning message if a dependant SIS is uninstalled
(0x2001ec5f), 1, 10, 0, {"CameraWrapper"}
When installing my application I get a dialog saying "Component Camerawrapper is missing. Continue?"

I think this query is rather unnecessary since the camerawrapper SIS is embedded in my application's SIS.

Is there a way to prevent this query??

Thanks!

/Mathias
Reply With Quote

#2 Old Re: Unnecessary question when installing a SIS bundle - 2009-11-04, 04:12

Join Date: Mar 2003
Posts: 16,950
Location: Bangkok
symbianyucca's Avatar
symbianyucca
Offline
Forum Nokia Expert
I suppose it is not there yet then, and the question is thus asked, the dependency I suppose it not supposed to be used like that, it is supposed to check for the actually required dependencies to be already in the device when installing this package.
Reply With Quote

#3 Old Re: Unnecessary question when installing a SIS bundle - 2009-11-04, 06:39

Join Date: Aug 2008
Posts: 53
Larsson73
Offline
Regular Contributor
You are right, the camerawrapper is not installed yet. But it will be when my app is installed.

Are you sure dependencies are supposed to give warnings for embedded SIS's?? That feels like a bug in the installer framework.
Reply With Quote

#4 Old Re: Unnecessary question when installing a SIS bundle - 2009-11-04, 06:56

Join Date: Mar 2003
Posts: 16,950
Location: Bangkok
symbianyucca's Avatar
symbianyucca
Offline
Forum Nokia Expert
I wouldn't really see it as a bug, I would see it a simply feature that the requirements specified in the sis, should indeed be already present in the device when the sis file is installed..
Reply With Quote

#5 Old Re: Unnecessary question when installing a SIS bundle - 2009-11-04, 07:03

Join Date: Aug 2008
Posts: 53
Larsson73
Offline
Regular Contributor
Hrmm, OK

So I have to choose between having a user friendly installation and to be warned when a dependant SIS is uninstlled?
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
how can i use emulator for installing my sis file amit.mangal General Symbian C++ 14 2009-10-23 13:20
Bundle seperate application sis and data sis ralle@envicon.de Publishing to Ovi Store 0 2009-04-29 16:10
Creating and installing SIS on emulator pbmau Installation, Certification and Security 2 2007-07-02 09:29
Problem with Cabride.c++ v1.1 markovuksanovic Carbide.c++ IDE and plug-ins 3 2007-01-24 21:05
installing sis file via wap pappago General Symbian C++ 1 2002-12-04 12:47

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia