8 pagesV  1 2 3 4 5 6 > »  
 
THEME IS CLOSED
> How to collect SAV handles - description | + How to associate files with the program
BombilCalabasov
Message#1
24.01.07, 23:17
Retrograde chauvinist
*********
[offline]

Group: Friendssavagemessiahzine.com
Messages 3399
Check in: 01.12.05
HTC Touch Pro

Reputation:-  209  +

OFF ��� �������� download


Similar questions (see the title) pop up on the forum quite often, so I decided to write this posting. In addition, after talking with SOME authors of programs who believe that creating a normal CAB with normal settings for installing the program on a device is the Great Work, I decided to go this way from beginning to end myself and tell the others what is in it and as. Moreover, I personally do not consider such a work - programming, as such. It is, rather, from the class RTFM, which any schoolchild who can read the text carefully can cope with. Yes, there are special programs for creating CAB files in the graphical interface, but they (a) cost money; (b) are not always convenient, especially when it is necessary to collect the same CAB every now and then with new settings.

Special thanks toSergey Kornienko AKA S_Kfor help in solving this problem and answers to some of my trivial questions.

Initial data
I will build my entire example on files uploaded for free download here:AlReader2

What is at the initial stage?
  • There are three files (EXE, PDB and BMP) that are part of the same application.
  • The program itself can work with certain file types (FB2, ZIP and others).
What do you want to achieve?
As a result, I wanted to achieve the following conditions:
  • Files should be collected into a cabinet file with a minimum of effort.
  • From the CAB file, the program must be correctly installed on the device, taking into account possible interface localizations and the use of memory cards on the device
  • After installing the CAB file, the selected file types should be associated with this program.
  • Files must be opened correctly in this program both from the file manager and from the Internet.
  • Registered file types must be assigned an icon corresponding to the program icon.
  • In the Start menu, a shortcut to the program should be written.
In short, this list is a common set of familiar program requirements.

What you need to have?
To create CAB files, we need the CabWiz program, which Microsoft distributes free of charge as part of its mobile development tools (it is in the SDK, and in eVC, etc.). The program was laid out here, on the forum ...

Even better, you need a certificate for signing the source files and the CAB file, but this is a topic for a separate discussion.

Do it once!
First, in the same folder on the PC where the three source files are located, we copy two CabWiz files (EXE & DDF), then create a batch file of this content:
@echo off
if exist err.log del err.log
if exist alreader.cab del alreader.cab
CabWiz.exe alreader.inf / compress / err err.log
if exist err.log type err.log
pause

The name of this BAT file can be any. I usually call MakeCAB.bat

Attention!Pocket PC devices up to version 5.0 do not support compressed CAB files! Therefore, if you compile a CAB file for such a device, the "/ compress" parameter from the line must be removed. Smartphones have supported compressed SAV files since 2002.

Make two
Create a text file with the name "alreader.inf" and copy the following text into it:
[code]
; ----- Example .inf file ---------------------------------------- -
; This is an example for building a CAB file through the CabWiz program.
; Important! If in file names and paths you plan to use
; Cyrillic characters, save this file by selecting the encoding "UTF-8".

; ------- mandatory section "Version" ---------------------------
;
[Version]
Signature = "$ Windows NT $"; Do not change!
Provider = "NeverLand"; The full name of the program is composed of "<Provider><AppName>".
CESignature = "$ Windows CE $"; Do not change!


; --- Mandatory section "CEStrings" -----------------------------
; It defines the variables needed to install the application.
;
[CEStrings]

AppName = "AlReader"; the name of the program "<Provider><AppName>"
InstallDir = "% CE1% \ NeverLand \% AppName%"; Mandatory variable containing installation path
; programs.

; Using WindowsCE variables like% CE1% allows you not to be tied to folder names.
; and provides, in particular, the correct installation of applications in any localized version of the OS.
; A complete list of variables for Pocket PC can be found here:
; [url = "http://msdn2.microsoft.com/en-us/library/aa459003.aspx"] http://msdn2.microsoft.com/en-us/library/aa459003.aspx [/ url]
; Variables for MS Smartphone are defined here:
; [url = "http://msdn2.microsoft.com/en-us/library/aa457917.aspx"] http://msdn2.microsoft.com/en-us/library/aa457917.aspx [/ url]
; If these direct links do not work, look for the string "% CE11%" on www.msdn.com

; ---- Not mandatory, but very useful section ------------------
; It defines various variables that can then
; be used repeatedly in the information file.
[Strings]
"Developer" = "NeverLand"
"AppVer" = "2.B0417"; Here we enter the current version of the program.
"AppDate" = "12/25/06"; This is the release date of this version.


; ---- Mandatory section "CEDevice" --------------------
; WindowsMobile uses only StrongArm processors
[CEDevice]
"ProcessorType" = 2577; Value for StrongArm
"UnsupportedPlatforms" = "HPC", "Jupiter", "Palm PC2"; Enumeration of NOT supported device types
; If you add "SmartPhone" to the list, then when installing via ActiveSync
; the application will not be installed on smartphones.
; Same for "PocketPC". When installing the cabinet file directly
; on the device, these settings can be ignored.
"VersionMin" = 3.0; The minimum version number of the OS kernel, which can still be
; installed this application
"BuildMin" = 0.0; Minimum build version
"VersionMax" = 1000.0; Future device support
"BuildMax" = 0xE0000000; support for screen rotation and square screens
; use 0xC0000000 for just rotation

; Minimum version defines:
; 3.0 - Pocket PC 2000
; 3.0 - Pocket PC 2002 (correctly specify the BuildMin number)
; 4.2 - Windows Mobile 2003
; 4.21 - Windows Mobile 2003 Second Edition
; 5.0 - Windows Mobile 5.0

; ---- Mandatory section "SourceDisksNames [.label]" -------------------
; This section describes which folders on the local computer
; source files will be taken.
; Format:\<source ID> = ,<comments>,,<source directory>
; <source ID>number assigned to a folder;
; <comments>just a comment;
; <source directory>relative folder indication
;

[SourceDisksNames]
1 =, "Common files" , "."; Files taken from the current folder: "."


; ---- Mandatory "SourceDisksFiles" section ---------------------------
; Describes which files will be packed into the CAB
;
; Format:\<filename> = <source ID>
; <filename>source file name (be sure to use double
; quotes for long filenames and files,
; having spaces in the name)
; <source ID>Pointer to the folder specified in the [SourceDisksNames] section

[SourceDisksFiles]
f_07.bmp = 1
"Russian_EnUS_hyphen_ (Alan) .pdb" = 1
"% AppName %% AppVer% .exe" = 1; In this particular case, Author Version
; program makes the name of the file being run.
; A good example of the use of
; user variables.


; ---- Mandatory section "DefaultInstall" -----------------
; This section defines the number and names of sections for installing programs on the device,
; registry entries and label definitions
; If a section is not defined here, it cannot be used to install
;
[DefaultInstall]
;
; Listed sections to install files
;
"CopyFiles" = "Files.InstallDir"; In our case, there will be only one section.
; If there are many sections, they are listed through
; comma.
;
; Listed sections to write to the registry
;
"AddReg" = "RegData"
;
; Lists sections for creating shortcuts (If you want to create shortcuts in different
; folders on the device, then there will be several sections. For example, if one label needs to be put
; in "\ Windows \ Start Menu \ Programs", and the other in "\ Windows \ StartUp", then there will be two sections
;
"CEShortcuts" = "Links"

; The following parameters are needed only for programmers and are useless for low-qualified users.
;
; Optional "Setup.DLL" to use during installation runtime
; - this file must be specified in the [SourceDisksFiles] section
; - AppInstall will call the DLL's exported functions (when appropriate): \
; Install_Init, Install_Exit, Uninstall_Init, Uninstall_Exit
;
;
; Optional list of self-registering files during the runtime
; - these files must be specified in the [SourceDisksFiles] section
; - AppInstall will call the DLL's exported functions (when appropriate): \
; DllRegisterServer, DllUnregisterServer
;

; CESetupDLL = "MSRCESetup.dll"

; CESelfRegister = "SelfReg.dll"


; ---- Mandatory section "DestinationDirs" ------------------------------
; It for each of the above specified sections indicates the path on the device
;
; Format:\<section name> = 0,<dest directory>
; <section name>section name used above in "[DefaultInstall] CopyFiles"
; <dest directory>the folder where the file or shortcut will be copied. May be specified either
; direct path to the folder on the device, either WindowsCE variables, or directly
; used variable% InstallDir%
;
[DestinationDirs]
"DefaultDestDir" =,% InstallDir%; Required variable
;
"Files.InstallDir" =,% InstallDir%; The folder where we copy the program files
"Links" =,% CE11%; % CE11% specifies the path "\ Windows \<Startmenu>\ Programs "
; In the localized Russian version: "\ Windows \ Start Menu \ Programs"

; --- Next are the file installation sections -----------------
;
; A description is given of exactly where the files are installed.
;
; Format:\<dest filename>,<source filename>,,<copy flags>
; <dest filename>- The final file name. May differ from the original.
; <source filename>- Original file name
; <copy flags>- Copy flags (detailed description is in the SDK)
;

[Files.InstallDir]
f_07.bmp , 0x40000000
"Russian_EnUS_hyphen_ (Alan) .pdb" , 0x40000000
"% AppName% .exe", "% AppName %% AppVer% .exe" , 0x80000002


;
; Note that CESetup.dll has not been copied since it is the AppInstall's "CE Setup.DLL",
; which is a "temporary" file used only by AppInstall
;

; ----- Sections describing entries in the registry -------------------------------------- ----------
; Required sections specified in "[DefaultInstall] AddReg" key
; Specifies the registry entries to create
;
; Format:\<reg root>,<reg key>,<reg val>,<reg flags>,<reg data>[,<reg data>]
; <reg root>- HKCR, HKLM or HKCU
; <reg key>key name.
; <reg val>variable name; for "default" leave the field blank.
; <reg flags>type / flags flags for writing to the registry.
; <reg data>the value of the variable in the format specified in<reg flags>.
;
[RegData]
;
; Register file extensions
; prescribe extension .fb2
HKCR, ". Fb2" , 0x00000000, "ebookfile"
HKCR, ". Fb2", "Content Type", 0x00000000, "ebook / fb2"
HKCR, "MIME \ Database \ Content Type \ ebook / fb2", "Extension", 0x00000000, ". Fb2"

; write the extension .zip
HKCR, ". Zip" , 0x00000000, "ebookfile"
HKCR, ". Zip", "Content Type", 0x00000000, "ebook / zip"
HKCR, "MIME \ Database \ Content Type \ ebook / zip", "Extension", 0x00000000, ". Zip"
; If you want to override other extensions for this application
; files, add similar lines.

HKCR, "ebookfile" , 0x00000000, "E-Book File"
HKCR, "ebookfile", "EditFlags", 65537,65536
HKCR, "ebookfile \ DefaultIcon" , 0x00000000, "% InstallDir% \% AppName% .exe, -105"
HKCR, "ebookfile \ Shell \ Open \ Command" , 0x00000000, "" "% InstallDir% \% AppName% .exe" "%% 1"
HKCR, "ebookfile \ Shell \ Opendoc \ Command" , 0x00000000, "" "% InstallDir% \% AppName% .exe" "%% 1"

; Optional information about the program and its version
HKLM, "Software \% Developer% \% AppName%" , 0x00000000, "E-Book Reader"
HKLM, "Software \% Developer% \% AppName%", "Version", 0x00000000,% AppVer%
HKLM, "Software \% Developer% \% AppName%", "ReleaseDate", 0x00000000,% AppDate%




;
; Sections specified in "[DefaultInstall] CEShortcuts" key
; Specifies the shortcuts to create
;
; Format: \<shortcut filename>,<shortcut type>,<target file / path>[,<standard dest path>]
; <shortcut filename>is the name of the shortcut
; <shortcut type>specifies if shortcut
; <target file / path>is depends on
; <shortcut type>flag used
; <standard dest path>is an optional destination directory macro (or% InstallDir%) to use
;
[Links]
"AlREader-2", 0,% AppName% .exe
;
; shortcut to a file, created in the "[DestinationDirs] Links" directory
;
;
; shortcut to a file created in the% InstallDir% directory
;
;
; shortcut to a file created in the standard path% CE14%
; (% CE14% resolves to \ Windows \<Startmenu>\ Programs \ Games)
;
;
; shortcut to a folder created in the standard path% CE3%
; (% CE3% resolves to \ Windows \ Desktop)
;


;
; Optional "Strings" section
; String substitutions replacing the key string
; with the value string.
; For this example, language will-dependent strings
;
</ span></ td><td></ td></ tr></ table></ div>I strongly advise everyone interested in mastering this process to print all this code on a piece of paper and pay particular attention to the comments.

[color = "blue"] [b] Do three! [/ b] [/ color]
Just run the MakeCAB.bat file.

If everything in the file is done correctly, then in the DOS window you should have something like the following:
[quote] Windows CE CAB Wizard
To continue, press any key. . .
[/ quote]
After closing the window, you will see that the [b] alreader.CAB [/ b] file also appeared in the folder, which we achieved.

[color = "blue"] [b] What did you get? [/ b] [/ color]
Practically everything that I wanted to achieve was fulfilled. It was checked on the smartphone HTC s310 with the Russian version of the OS.

If you have questions - ready to answer.

[i] [color = "blue"] [b] Additional information [/ b] [/ color] [/ i] [list]
[*] Before such experiments with the device, save your data and make a full Backup! Until you gain experience, such experiments will often lead to the need to do HardReset.
[*] From the INF file directly, you can only copy files and registry keys to the specified location. If there is a need to rename files, delete and move them between folders, then you need to use either additional XML scripts that are attached before or after the main code, or write your own Setup.dll in general, which will perform all these actions.
[*] As a consequence of the previous ... I specifically wrote in the INF file associating only two types of files with the alreader program. If you want to associate with the program the type of a DOC or TXT file, for example, you can do this, but take care of maintaining the old association yourself, because The previous information about the connection of these types of files with the PocketWord program after working out the CAB file will simply be overwritten. By the way, this is why even after the removal of many programs with the help of the system function RemovePrograms, information about the connection of file extensions with programs is lost. Very often, people stumble upon this bug when they first try to install and then remove additional media players, after which the regular player simply cannot work with MP3 files, etc.
[*] The name "ebookfile" for these types of files was taken from my head. It may well be that other e-book readers use the same name. To avoid conflicts when you use many different readers on your device, replace all the lines in the INF file with, for example, alebookfile
[*] Please note that there are required sections in the .inf file, but there are optional sections. The lack of mandatory sections can lead to errors in the compilation process.
[*] Once again I draw attention to the fact that if you want to use Russian file names and paths, be sure to save the INF file in UTF-8 encoding.
[*] Pay attention to the sequence and order of any quotes and additional characters when writing to the registry. Otherwise it does not work.
[*] One of the limitations of CabWiz - labels can be created only for those files that are installed by the same program. If you need to make a shortcut to a file that is already installed in the system before the work of the CAB file, then you need to make this shortcut pen and put it into the CAB as a ready-made file.
[/ list]
kochrob
Message#2
25.01.07, 00:49
orthopedist
*********
[offline]

Group: Honorary Gameday
Messages 2564
Check in: 19.02.06
Xiaomi Mi 2S

Reputation:-  191  +

M


--------------------
meeting place Rostovites
Everything that is good in life is either illegal, immoral, or obesity
kochrob read -kohrob, on Shabbat and holidays -kosher
reanimatologist
Message#3
25.01.07, 01:01
Experienced
******
[offline]

Group: Friendssavagemessiahzine.com
Messages 489
Check in: 14.05.06
Xiaomi Mi 8

Reputation:-  122  +

Respected! Is it possible to link to CabWiz for download or post it here if you have such an opportunity.
Used WinCe Cab, is it better / worse?
BombilCalabasov
Message#4
25.01.07, 08:21
Retrograde chauvinist
*********
[offline]

Group: Friendssavagemessiahzine.com
Messages 3399
Check in: 01.12.05
HTC Touch Pro

Reputation:-  209  +

kochrob, it is a pity that the topic moved here. Here she is unlikely to be interested in anyone, because All this information is in the SDK and HELP, and any programmer gets it with development tools. The topic was intended primarily for NOT programmers, I deliberately chewed everything so that even the person who has nothing to do with programming as such could be able to assemble his own CAB for his own needs. In my opinion, this is more a Pocket PC FAQ than a sample code ... But since she got here, maybe, “pinch” her on top of the partition?

reanimatologist, you are welcome. In the attachment are both files from CabWiz + the INF file described here + the BAT file, i.e. full set. The program you specified did not use, therefore - no comments. Try to feed her the specified .inf file and see what it gives out?


--------------------
What hardware is mine to you?
BombilCalabasov
Message#5
25.01.07, 09:13
Retrograde chauvinist
*********
[offline]

Group: Friendssavagemessiahzine.com
Messages 3399
Check in: 01.12.05
HTC Touch Pro

Reputation:-  209  +

Anticipating some of the most likely questions ...

Q: So after all, how to add your file to the CAB?
A: (1) Specify the path to it and its name in the [SourceDisksFiles] section (if the file is in another folder on the disk, first specify the path in the [SourceDisksNames] section); (2) write his name in the [Files.InstallDir] section

Q: The author of the program posted a new version: AlReader3A0565.exe How to edit this in the INF file?
A: Simply change the value of the "AppVer" variable in the [Strings] section accordingly. Or directly specify the file name in the [SourceDisksFiles] and [Files.InstallDir] sections.

Q: The assembled CAB file is not installed on the device! An error message is displayed with information about the absence of some kind of digital signature. What to do?
A: Your device has security settings that prohibit the installation of applications that do not have a digital signature. Try changing the registry value in the branch
HKLM \ Security \ Policies \ Policies \ variable 00001005 on "0" (the variable must be not a string, but a DWORD). If the device is really locked properly, then you will not be able to change this value "in the forehead". For more information, see this forum.


--------------------
What hardware is mine to you?
tz-lom
Message#6
25.01.07, 12:53
Old resident
*******
[offline]

Group: Friendssavagemessiahzine.com
Messages 1178
Check in: 19.10.05
HP iPAQ h1930

Reputation:-  64  +

good and complete instruction, + 1 author


--------------------
Remember: 1-security is not a product but a process. 2-paranoia is your friend.
reanimatologist
Message#7
25.01.07, 13:51
Experienced
******
[offline]

Group: Friendssavagemessiahzine.com
Messages 489
Check in: 14.05.06
Xiaomi Mi 8

Reputation:-  122  +

All this is good, cab file is created. What about himdisassemblei.e. to extract inf and program files from it?
BombilCalabasov
Message#8
25.01.07, 16:30
Retrograde chauvinist
*********
[offline]

Group: Friendssavagemessiahzine.com
Messages 3399
Check in: 01.12.05
HTC Touch Pro

Reputation:-  209  +

reanimatologistThe trick is that there is no this INF in the CAB file. This INF is an instruction for the CabWiz program, by which this program collects files "in a bunch" from different places inside the CAB file and compiles _setup.xml. In turn, this _setup.xml is already an instruction for the WCELOAD program on the device. If you just stupidly open the CAB file with the same WinRAR, then you can pull out this _setup.xml in its pure form and try to figure out which files from the CAB, and where should be placed on the device and which entries should produced. Another point is that inside the CAB files they are in some kind of renamed format of DOS-8.3, and only by _setup.xml can we figure out what real name each device should have on the device.


--------------------
What hardware is mine to you?
-QwertY-
Message#9
25.01.07, 18:08
Social network? No, have not heard!
*********
[offline]

Group: Admins
Messages 4970
Check in: 12.08.06

Reputation:-  0  +

BombilCalabasov,
Well. Instructions for some are useful, others are not. Hang the topic as it is, I will not attach.
Can you even for the ignorant reveal such parameters as DelReg and DelFile? And then some kind of very very circumcised fnya turns out.

There are ultimately inaccuracies and the author did not disclose many of the possibilities, but this is an attempt to wean people from laziness and using WinCE Cab Manager.
It's better for me to use an earlier version, and not to load the cab with all sorts of XML and the like. Easier to find the old version and use it. There will be no difference.



Added @ 25.01.2007, 18:09

reanimatologist,
yuzay WinCE CAB Manager


--------------------
People like me here, people like you here. They don’t go around here, they don’t hide their eyes.Compromise is not for us!
© Alice - Compromise
Winner of the First Prizesavagemessiahzine.comin the nomination of the Hero of the Forum!
Prize winnersavagemessiahzine.comin the nomination "Master'07"
reanimatologist
Message#10
25.01.07, 20:16
Experienced
******
[offline]

Group: Friendssavagemessiahzine.com
Messages 489
Check in: 14.05.06
Xiaomi Mi 8

Reputation:-  122  +

qwertyalready yuzayu. But this method is also necessary to know.
BombilCalabasov
Message#11
26.01.07, 14:03
Retrograde chauvinist
*********
[offline]

Group: Friendssavagemessiahzine.com
Messages 3399
Check in: 01.12.05
HTC Touch Pro

Reputation:-  209  +

reanimatologistBy the way, I forgot about this function in the WinCE CAB Manager: it can generate a certain INF file using the appropriate plug-in and put the files from the CAB into daddies. Of course, this will not be the INF that the CAB file was going to. It will be just a cast of the hierarchy that should be on the device.

-QwertY-, DelReg and DelFile are functions for deleting registry variables and files respectively. I did not write about them, because for all the time I have never had to use them. Usually, if you need some actions that are different from the capabilities of a standard inf-file, then I write configuration XML and simply substitute it either in the form of PreXML or PostXML. All these things are very well described in MSDN.

For example, to remove a shortcut to ClearVuePDF from the list of programs in the Start menu when installing a CAB, we write the following XML:






Then we save this XML in the same encoding as the used INF, and in the BAT file we change the CabWiz launch string to the following:
CabWiz.exe alreader.inf / compress / prexml DelLink.xml / err err.log

As a result, in the body of _setup.xml, which will be integrated into the CAB file, the lines of the specified script will be stupidly added to the beginning (if pre-xml is used) or to the end (if post-xml is used).

Why am I doing this? The possibilities with this approach are much greater. See here:http://msdn2.microsoft.com/en-us/library/aa455915.aspx

Almost the same with the registry. Details are here:http://msdn2.microsoft.com/en-us/library/aa456177.aspxOnly here registry entries can not be moved and renamed. You can only create and delete (I already uponinal about it above).

P.S. And it is possible in more detail, what exactly are the inaccuracies about which you mention?

P.P.S. Creating this topic, I did not pretend to describe all the features of CabWiz. The topic was created for the "Pocket PC FAQ" section, not for the "Programming". I wanted to consider the three main functions that are most often used in practice: (a) copy the file (s) to the right place on the device; (b) create shortcuts for file (s); (c) make the necessary entries in the registry and link the files to the program. These are trivial tasks that a regular user most often have. But when these features are not enough, then it’s already going on or writing scripts for provisioning, or writing your own setup.dll, but in any case, this is really a programmer’s business and not for the Pocket PC FAQ section.


--------------------
What hardware is mine to you?
Alezer
Message#12
28.01.07, 17:55
Experienced
******
[offline]

Group: Honorary Gameday
Messages 581
Check in: 11.08.06
Google galaxy nexus

Reputation:-  57  +

Hello.
I have a question for this.
How to create or register files in the cable, so that one EXE file is launched in the unpacking box?
-QwertY-
Message#13
28.01.07, 19:29
Social network? No, have not heard!
*********
[offline]

Group: Admins
Messages 4970
Check in: 12.08.06

Reputation:-  0  +

Alezer,
This is to write your setup.dll necessary. An example of this is in the samples in WM5SDK

BombilCalabasov,
Em. Temka in programming and not in a fake!
about inaccuracies - as soon as I sober up - I will describe ....


--------------------
People like me here, people like you here. They don’t go around here, they don’t hide their eyes.Compromise is not for us!
© Alice - Compromise
Winner of the First Prizesavagemessiahzine.comin the nomination of the Hero of the Forum!
Prize winnersavagemessiahzine.comin the nomination "Master'07"
Alezer
Message#14
28.01.07, 19:46
Experienced
******
[offline]

Group: Honorary Gameday
Messages 581
Check in: 11.08.06
Google galaxy nexus

Reputation:-  57  +

-QwertY-thank
but so far with setup.dll I can not cope. I do not have time to study everything :)

Can I rip the setup.dll from another cab, or is there a checksum present?
-QwertY-
Message#15
28.01.07, 20:04
Social network? No, have not heard!
*********
[offline]

Group: Admins
Messages 4970
Check in: 12.08.06

Reputation:-  0  +

Alezer,
You can and tear, but how it will work - HZ ....
Especially since there is still this setup.dll to add and where it can - HZ .....


--------------------
People like me here, people like you here. They don’t go around here, they don’t hide their eyes.Compromise is not for us!
© Alice - Compromise
Winner of the First Prizesavagemessiahzine.comin the nomination of the Hero of the Forum!
Prize winnersavagemessiahzine.comin the nomination "Master'07"
Alezer
Message#16
30.01.07, 18:12
Experienced
******
[offline]

Group: Honorary Gameday
Messages 581
Check in: 11.08.06
Google galaxy nexus

Reputation:-  57  +

thanks, I will understand
TrueNeytral
Message#17
22.03.07, 09:48
Engineer
******
[offline]

Group: Friendssavagemessiahzine.com
Messages 651
Check in: 25.01.07
Apple iPhone SE

Reputation:-  145  +

And why no one mentioned about WinCE CAB Manager? Super prog, allows you to open, create and edit any cabs, as you please. There are sections of files, registry and support for installation scripts. + A bunch of advanced settings. The truth is that they want money for it, but we live in Russia, for us there are big discounts on this issue. : wink_kind:


--------------------
All garbage, except for bees. Bees are also garbage, but there are many of them.
-QwertY-
Message#18
23.03.07, 10:33
Social network? No, have not heard!
*********
[offline]

Group: Admins
Messages 4970
Check in: 12.08.06

Reputation:-  0  +

TrueNeytral,
Immediately ban write or re-read the entire topic and all the vets from the very beginning?


--------------------
People like me here, people like you here. They don’t go around here, they don’t hide their eyes.Compromise is not for us!
© Alice - Compromise
Winner of the First Prizesavagemessiahzine.comin the nomination of the Hero of the Forum!
Prize winnersavagemessiahzine.comin the nomination "Master'07"
blackword77
Message#19
10.06.07, 20:45
User
****
[offline]

Group: Friendssavagemessiahzine.com
Messages 57
Check in: 22.05.07
Xiaomi Mi Max Prime

Reputation:-  5  +

Is it possible to assemble one of several CAB files? If so what and how?


--------------------

Mi Max 3/64
tz-lom
Message#20
10.06.07, 20:58
Old resident
*******
[offline]

Group: Friendssavagemessiahzine.com
Messages 1178
Check in: 19.10.05
HP iPAQ h1930

Reputation:-  64  +

can be disassembled and assembled into one, but I can offer to disassemble only with pens, and this is not with every cab :(
You can also try to make a cab, these 2 cabs into it and prescribe a script so that it will be unpacked and started in turn


--------------------
Remember: 1-security is not a product but a process. 2-paranoia is your friend.
BombilCalabasov
Message#21
13.06.07, 09:18
Retrograde chauvinist
*********
[offline]

Group: Friendssavagemessiahzine.com
Messages 3399
Check in: 01.12.05
HTC Touch Pro

Reputation:-  209  +

blackword77The trick is that WCELOAD.EXE (a program integrated with a PDA that is integrated into a PDA, in particular, does not support multiple copies of itself). Those. in memory, it can work only in one copy. Moreover, even if the screen just hangs the information window "The program has been successfully installed ... bla-bla-bla ... click OK to complete the installation" - you will not run the second copy of this program ... Ie parallel to start the installation of several SAV files the existing WCELOAD does not allow. As far as I understand, this was done on purpose so as not to accidentally crush the device (considering that T-FAT is used on the devices, which allows you to roll back the unsuccessful installation).

What can be done in this case?

1. The most stupid and time-consuming method is to sort out your cabs by files and put everything in one SAV (as a colleague has already suggestedtz-lom). Time-consuming, but real and does not require much programming knowledge. It is enough of the information that is posted in this topic.

2. Not really ... Try to write a certain application yourself that will feed the WCELOADs to your SAVs one by one, waiting for the installation of each of the SAVs to be completed. Run it in the form of a Setup-dll and register it in one large SAV, which contains all SAVs you need. In this case, after unpacking files from a large CAB, the system transfers control of this your Setup-dll, which already drives the entire installation process of the remaining applications. Somewhere around the way the file installer is made for Extended Roma. This way is more correct from the point of view of programming, but you need to be able to program well (that's why I wrote "unrealistic"). In the documentation of the MS, the writing of such here just its Setup.dll is written quite well, read, understand ...

3. Write your own installer instead of WCELOAD. Well, it is, in my opinion, quite from a series of fiction, because in this case the work is for three good programmers for a couple of weeks ...


--------------------
What hardware is mine to you?

8 pagesV  1 2 3 4 5 6 > » 


 mobile version    Now: 05/01/19 18:05