Hi Guys,
I know on Windows (XP) or other OS, we can install some files "silently", without a setup screen, choosing the install folder and things like that.
Is there a way to install CAB file silently on WM5, I got 2 cabs that I want to install, but dont want the user to "see it install''.
Maybe with adding some parameters to wceload.exe?
Regards,
Molski
Hi!
\Windows\wceload.exe my.cab /silent will install my.cab silently.
Remember to wait for wceload to exit before you try to install a second cab. You must also lower the securitylevel of the device or get the files signed for it to work......
Øystein
I generally use /noui switch.
hi guys,
this is my first time here in xda-developers,
please check this link if u r interested in intall the cab file silently
http://www.codeproject.com/useritems/wm2003cab.asp
[Edit by V: please don't use all caps. I've lowercased you]
Hi guys just wondering if anyone can point me in the right direction to a guide or tools to create a cab file.
Never done this before so not sure how easy or hard it is so no flameing please
Want to create a cab file for my operator settings.
Thanks, Chris.
Use WinCE Cab Manager
As above!
You can find the demo version here;
http://www.ocpsoftware.com/products.php?nm=cecabmgr
and the full version but it ain't cheap!
If you google hard enough I'm sure you can find the full version for less...if you now what I mean!!
Andy Phillips said:
If you google hard enough I'm sure you can find the full version for less...if you now what I mean!!
Click to expand...
Click to collapse
Thanks ill take a look, and do some searching
found it in 30 seconds now to have a play around with it, cheers
Tips
Here's some tips for using WinCe Cab Manager;
If you want to import reg files make sure the file has REGEDIT4 at the first line.
You cant export reg files unless you you highlight the registry tree in cab manager
When creating a new cab select 'allow the application to be installed on any device' and on the next page 'All/CEF'.
Read the help file....it's not too bad!
A little bit late, but how about this (free!) installation creator:
http://www.aperitto.com/content/view/14/28/
Works very well, and the developer is quite responsive to requests for bug fixes/features. Very powerful program as well, as far as I can see it does everything that the commercial installation creators can do.
It is based on/uses the very popular Inno Setup PC installation creation program.
Hello people i am a nubbie at this and i been searching and not able to find anything. please help. i have the TP and im trying to us the Diamond TF3D Config. and its giving me an error. Somebody had told me that i have to delte something for it to work. i Have the most updated .Net. Please help. Links or cabs. or something will help a lot. thanks.
See this thread:
If you are having problems getting it to run and your reg is correct DELETE the tweaks.xml file in the programs folder. you find this in file explorer or what ever program you prefer, Look where you installed it to. Internal or storage card, for example storagecard/programs/diamondtf3d/ HERE is where you will find the tweaks file to delete. then retry running tf3d
Click to expand...
Click to collapse
I try to create a program which consists of
.asx files (to show online tv channels),
.lnk files (shorcuts to the .asx files) and
a .dll file which contains only some .ico files (icons of the tv channels).
I added all these files to a cab using WinCE Cab Manager and tried to install it on my ppc. So far so good. The problem occurred when the message “The program can not be installed. Choose another location” appeared during installation, just after the process bar was filled.
Although I have no idea about computer programming, I have created many cab’s with WinCE Cab Manager for skins I have created for several programs. Anyway, I realized that the problem occurred due to the .dll file, since this is the first time I add such a file in a .cab.
I created my .dll file using a .dll from another program which had only icons in it, as well. I deleted them using Restorator 2007 and I had an “empty” .dll sized 4KB. Then I added my icon files using XN Resource Editor.
I searched the Internet to see what might be the problem with the .dll and I found out that I have to “register” my .dll file. I really have no idea what this means but it needs to be done. I also found an option in WinCE Cab Manager for “self-registering” file, but it didn’t work either.
So, the question to you dev guys is how can I register my .dll file, or should I create it from the beginning with another way?
Please help! Thanks in advance!
sorry to repost but it seems that posts keep coming in this forum and this thread is already in the second page and I'm afraid that noone will see it and reply to it. By the way, is there any special sub-forum for such questions?
This may help. I use his instructions to edit existing DLL's
http://www.modaco.com/content/i9x0-...88904/lisbian-taskbars-for-i910/#entry1023568
It will unsign the dll which will probably fail on your custom dll but it should sign it when you are done editing.
NilsP
Many thanks for your suggestion but unfortunately it didn't work for me.
As you said, this is mainly for resigning already signed .dll files.
Any other help will be appreciated. I can attach it here if anypne is willing to help. Or just tell me the way. Thanks!
I deploy a few dll's with my app, without any problem. If the installer complains about the location, what did you specify where it should go?
There are 2 approaches to solve this problem:
1.) If you have a private key to match a certificate in the device's certificate store, sign the .dll and .cab with this private key and it will be installed with elevated privledges, and be successful. To facilitate this you can install the "SDK Certificates" - and sign with the matching private key (you should be able to find these on a search, term "SDKCerts" or similar)
2.) Look for an "Application Unlocker" or other security reduction tool, run it, and you should be able to install the cab. On this note, if you check here, it will give you a more technical overview of the security policies. You want to change 4101 / 0x1005 to "SECROLE_MANAGER" (8) - which tells the system to install it with elevated privledges. Also make sure 4102 / 0x1006 is set to 1 to allow unsigned applications.
6Fg8
I don't believe that is the location I specified that causes the problem because when I deleted the .dll file from the .cab, it was installed properly. How do you create your dll files? With programming or you just edit existing files? If I send you my .ico files, will you be able to create the .dll file for me?
Da_G
Thanks but both approaches seem very complicated for me!
So, will I need Visual Basic in order to do this or is there any easier way? Can anyone sign the dll for me?
angelos_cy said:
6Fg8
How do you create your dll files? With programming or you just edit existing files? If I send you my .ico files, will you be able to create the .dll file for me?
Click to expand...
Click to collapse
Yes with programming, C++ or .net. Never had any issue with signing. I can try to make a dll if you send me the icons (or post them here if they aren't too secret ).
6Fg8 said:
I can try to make a dll if you send me the icons (or post them here if they aren't too secret ).
Click to expand...
Click to collapse
I have sent them to you by pm. They are not secret at all but I will create a "program" (wannabe ) with that dll and I want that program to be a surprise for users of the forum where I'll post it. I may post it on xda too, but it's nothing important.
Many thanks!
angelos_cy said:
The problem occurred when the message “The program can not be installed. Choose another location” appeared during installation, just after the process bar was filled.
Click to expand...
Click to collapse
This happens because you've changed resources in signed file, which changed file checksum and invalidated it's signature, and Windows installer refuses to install file with invalid signature. But it won't refuse to install this file WITHOUT signature at all - so use unsigner (search for it on XDA) to remove signature completely; if you encounter error, try to remove signature from original (unmodified) file, and then change resources in it...
6Fg8
the_ozyrys
Thanks to both of you!
6Fg8 has created and signed the dll for me and it finally worked, but I also tried the_ozyrys' method and it also worked.
So thanks to baniaczek too, since he created the unsigner.exe.
Everything worked fine with the dll. Now the cab is installed properly.
However, I have another problem. Just after the installation of the cab on my ppc, it seems that the device freezes for about a minute. This is propably because my cab contains a lot of shortcuts (.lnk files) that go under Programs folder.
So, I would like to ask for another favour, if it's possible. As I said I intend to give this cab to others too. Since this delay can make them believe that my program has freezed their device, I would like to make the cab restart the device just after installation and after uninstallation as well. I think this is made with the "Setup.dll" which I don't know how to create.
If anyone knows how to do this and has the time for it, could you please create this setup.dll for me. If the cab is needed to do this, just tell me to send it to you.
Thanks in advance!
Anyone? Plzzzzzzz!
If you want to sign .dll or .exe u can use the apps posted in the two posts below
http://forum.xda-developers.com/showthread.php?t=432041
or
http://forum.xda-developers.com/showpost.php?p=3530246&postcount=18
raykisi
Thanks for your answer but 6Fg8 and the_ozyrys already helped me on that.
My question now is how to create a setup.dll in order to make my .cab to prompt the user to restart the device after installation and uninstallation. If anyone can do it for me, I can send you the .cab which I alreday created and you can add the setup.dll with those functions.
Hey.
I just found a link for PHM registry editor and was going to try to import and change the language of my HTC HD2 but realized that i might have the wrong version (i got one working for some kaiser-phone) and wasnt really sure what to do.
1) Can someone give me the correct PHM-downloadlink?
2) What do I do with the files to install phm on my HD2? I got the active sync version etc but wasnt really sure what to do. When i doubleclicked the file named "Setup" it just said "There is no device-compatible software available.
Installing cabs
Is it a cab file?
Then copy it to your device, Storage is best, then to install, double click on it and follow instructions.
Some apps run only from main memory while others can be installed on the storage card, thus saving space in your device program memory but at the expense of speed.
Bonusforum.se said:
Hey.
I just found a link for PHM registry editor and was going to try to import and change the language of my HTC HD2 but realized that i might have the wrong version (i got one working for some kaiser-phone) and wasnt really sure what to do.
1) Can someone give me the correct PHM-downloadlink?
2) What do I do with the files to install phm on my HD2? I got the active sync version etc but wasnt really sure what to do. When i doubleclicked the file named "Setup" it just said "There is no device-compatible software available.
Click to expand...
Click to collapse