i comment all line inside appui->command,b'cz i write only there some codes for silent installation frm wikki help,but after that also not able to install.can i need to also hide related header file and also library frm mmp???
i comment all line inside appui->command,b'cz i write only there some codes for silent installation frm wikki help,but after that also not able to install.can i need to also hide related header file and also library frm mmp???
Last edited by chandantheracer; 2010-09-27 at 09:59. Reason: typo mistake
Thanks and Regards
-Chandan Singh
ReBirth due to GOD so too much believe in GOD- C Singh
The C++ source itself does not matter in installation time.
What happens if you comment the .exe file in the .pkg?
i checked as yucca sir suggested,after silent install i have code for making profile inside sip/voip through wbxml,that line cause to error,i put here that line also and marked as RED colour:
CAOSync* waiter = CAOSync::NewL();
CleanupStack::PushL( waiter );
SwiUI::RSWInstSilentLauncher iLauncher;
SwiUI::TInstallOptions iOptions;
SwiUI::TInstallOptionsPckg iOptionsPckg;
iOptions.iUpgrade = SwiUI::EPolicyNotAllowed;
iOptions.iOCSP = SwiUI::EPolicyNotAllowed;
iOptions.iDrive = 'C';
iOptions.iUntrusted = SwiUI::EPolicyNotAllowed;
iOptions.iCapabilities = SwiUI::EPolicyNotAllowed;
iOptionsPckg = iOptions;
_LIT(KTempPath, "c:\data\nokia_signed_VoIPSettingsProv.sis");
_LIT(KTempPath1, "c:\data\Nokia_Signed_ConnectivitySettingsQuery.sis");
iLauncher.Connect();
TBufC<50> FName(KTempPath),FName1(KTempPath1);
iLauncher.SilentInstall(waiter->iStatus,FName1,iOptionsPckg);
iLauncher.Close();
iLauncher.SilentInstall(waiter->iStatus,FName,iOptionsPckg);
iLauncher.Close();
CleanupStack::PopAndDestroy( waiter );
after that line in red cause error,if i comment in this line then install successfully
CVoIPSettingsProv* prov = CVoIPSettingsProv::NewL();
CleanupStack::PushL( prov );
prov->ProvFileL();
CleanupStack::PopAndDestroy(); // prov
Thanks and Regards
-Chandan Singh
ReBirth due to GOD so too much believe in GOD- C Singh
any solution for this one???
Thanks and Regards
-Chandan Singh
ReBirth due to GOD so too much believe in GOD- C Singh
Are we still talking on the sis not installing, or did you just jump to another topic ? For the original problem, my suggestion is still the same, comment lines out, to find out which line is offending the installer there.
If you wish to jump to other topics, please do ask them in separate threads.
no no sir,i don't jump to another topic,i disscuss in pre post on same topic,i marked the line marked RED is offending the installer,if i comment on that then install successfully and if i uncomment/use then i got unable to install.
Thanks and Regards
-Chandan Singh
ReBirth due to GOD so too much believe in GOD- C Singh
ok, now I see, basically that's propably not the problem. The actualy problem is that you can not start installation process while the installer is installing your application. thus remove the autorun from the exe file on your pkg, and just do the installation of additional packets in the first run of your application. Or add the additional sis files as embedded sis files into your pkg file.
i try with embedde previously but that not solved my problem,i try this one may be solved but this one also not probably.my requirement is here:-
i m able to create sip & related voip and set ist time automatically username,password and access point(provided by nokia for query),its working perfectly when i create exe file.now my requirement is that when user wants to change username,password,accesspoint then how to change username,password,accesspoint through our app without go inside connection->sip settings manually.
Thanks and Regards
-Chandan Singh
ReBirth due to GOD so too much believe in GOD- C Singh
I'm not really having knowledge on the SIP settings issue, anyway, for the installation issue, the fact is that you can not start installation process from a process that is currently installing. Thus you have the two options I said earlier to try out.
Anyway, what was the problem with embedded sis files?
with embedded sis files ask query to username,password,access point from user only first time after installation,but later if user wants to use another username,password,access point then how they change through our app???
Thanks and Regards
-Chandan Singh
ReBirth due to GOD so too much believe in GOD- C Singh
Ok then try removing the ", FR, RI" from your pkg, and handle the additional installation when your application is run first time. Anyway, it wont really solve your problem, since the installation files would work just the same, except of course you could later on re-install them if necessary.
yes u r right sir,its not solve my problem so i think in this way say me correct or wrong:-
firstly i create exe files which works perfectly regarding sip,voip,username,password,now make a simple GUI and silent install that exe on one command settings then if its work like previously then its again ask for username,password???this way works sir,before start silent install i think its bettewer to uninstall programmatically that exe then again silently install if user click on settings??this type works sir???
Thanks and Regards
-Chandan Singh
ReBirth due to GOD so too much believe in GOD- C Singh
I would not know whether it works, but it is a idea that might work, thus you should try it out and see whether it would solve the problem..
yes sir,just i want to know that i think in right way na,so u say that my idea might be work so try,so i m happy sir and just try,if i face any difficulty then again post inside this post,thank you sir.
Thanks and Regards
-Chandan Singh
ReBirth due to GOD so too much believe in GOD- C Singh
in this way profile created but not ask for username,password atleast not in one time also
Thanks and Regards
-Chandan Singh
ReBirth due to GOD so too much believe in GOD- C Singh