惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

宝玉的分享
宝玉的分享
NISL@THU
NISL@THU
E
Exploit-DB.com RSS Feed
L
LINUX DO - 热门话题
L
Lohrmann on Cybersecurity
K
Kaspersky official blog
Project Zero
Project Zero
Cisco Talos Blog
Cisco Talos Blog
T
The Exploit Database - CXSecurity.com
P
Palo Alto Networks Blog
C
CXSECURITY Database RSS Feed - CXSecurity.com
T
Threatpost
S
Schneier on Security
G
GRAHAM CLULEY
The Hacker News
The Hacker News
T
Threat Research - Cisco Blogs
Scott Helme
Scott Helme
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
P
Privacy & Cybersecurity Law Blog
C
Cyber Attacks, Cyber Crime and Cyber Security
Cyberwarzone
Cyberwarzone
C
CERT Recently Published Vulnerability Notes
T
Tor Project blog
AWS News Blog
AWS News Blog
Simon Willison's Weblog
Simon Willison's Weblog
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
爱范儿
爱范儿
P
Privacy International News Feed
云风的 BLOG
云风的 BLOG
P
Proofpoint News Feed
S
Securelist
G
Google Developers Blog
The Last Watchdog
The Last Watchdog
Google Online Security Blog
Google Online Security Blog
美团技术团队
F
Fortinet All Blogs
小众软件
小众软件
Recorded Future
Recorded Future
V
Visual Studio Blog
B
Blog RSS Feed
H
Help Net Security
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
Google DeepMind News
Google DeepMind News
Blog — PlanetScale
Blog — PlanetScale
博客园 - 聂微东
Stack Overflow Blog
Stack Overflow Blog
Martin Fowler
Martin Fowler
Latest news
Latest news
Spread Privacy
Spread Privacy
H
Heimdal Security Blog

博客园 - JerryZhao

[转载]jQuery对象VS DOM对象 [Reference] Navigation on Matrix Subtotal [Refereces]Creating an .ini File for the Application Manager [Refereces] Developing and Deploying Pocket PC Setup Applications [References]More on device app installs - Installing a Windows Mobile device application from a desktop MSI [References]Deploying .NET Compact Framework 2.0 Applications with .cab and .msi Files [Reference]Wix Restart IIS code snippet [Reference] Windows Installer XML (WiX) 3.0 Snippets [Reference] Casle Demo App: Midway Summary [ActiveRecord] 之五:ActiveRecordMediator [Reference][ActiveRecord] 之四:Cascade [Reference][ActiveRecord] 之六:继承 [Referece][ActiveRecord] 之七:多数据库配置 [Reference] [Castle AR] 5. Base Relations [Reference][Castle AR] 3. Validate [Reference][Castle AR] 2. ActiveRecord [Reference][Castle AR] 1. Starter [reference][Castle AR] 4. CRUD [Reference]NHibernateDataSource: A DataSourceControl for ASP.NET 2.0
[References]Installing Multiple CAB Files
JerryZhao · 2008-02-28 · via 博客园 - JerryZhao
Summary: Installing multiple CAB files from a single CAB file

Often a mobile device application may require that other software be installed onto the device in addition to the actual application; for example a managed application requires the .NET Compact Framework and might also require SQL Server Everywhere Edition. Each piece of software is normally contained in a separate

5/23/2007 3:39:37 PM - hedgehogjim

CABfile meaning that the user will have to manually copy each CABfile to the device and install them separatly.

Rather then make the user install each

5/23/2007 3:39:37 PM - hedgehogjim

CABfile individually, it's preferable to package all of the unique CABfile into a single master CABfile and have the master CABfile handle the details of installing the other CABfile instances. Another consideration is that the application installation should only install a CABfile if the CAB file's software hasn't already been installed.

You can easily create a master

5/23/2007 3:39:37 PM - hedgehogjim

CABfile that contains multiple CAB files by simply using the Visual Studio 2005 Smart Device CAB project. This Smart Device CAB project acts as the master CABfile, so you just add all of the desired CAB files to the project. When the master CABfile is deployed to the device, it will automatically place each individual CABfile on the device.

To install each individual

5/23/2007 3:39:37 PM - hedgehogjim

CABfile requires 2 separate executables

  1. A program that loops through the list of all of the CAB files and uses ShellExecute to install each one individually
  2. A DLL that gets associated with the master CABfile. All CAB files can optionally have a DLL associated with them. The DLL must expose 4 entry points: Install_Init, Install_Exit, Uninstall_Init, and Uninstall_Exit. In this case the DLL associated with the master CABfile simply executes the above program from the Install_Exit entry point

Once the master

5/23/2007 3:39:37 PM - hedgehogjim

CABfile, Program and DLL are complete, the install process goes like this:

  1. The master CABfile is copied to the device
  2. The user initiates the CABFile install process by using the File Explorer (or similar) to navigate to and tap on the master CABfile.
  3. The device installs the master CABfile just as any other CABFile by extracting the individual CAB Files and placing them on the device in the location specified in the Visual Studio Smart Device CAB project.
  4. Once all of the individual CAB files are placed on the device, the DLL's Install_Exit entry point (a.k.a. function) is called
  5. The Install_Exit function then launches the program
  6. The program then loops through each CABfile and installs them

Note that the first 2 steps that the user manually performs can be automatically performed as part of a desktop MSI as discussed in

9/29/2006 10:31:50 AM - hedgehogjim

InstallApplication

Like pretty much anything else in programming, the best way to understand the multiple

5/23/2007 3:39:37 PM - hedgehogjim

CABfile install process is with a sample.

If you would like information about how to install a

5/23/2007 3:39:37 PM - hedgehogjim

CABfile to a device from a desktop MSI file...