How to read content of _setup.xml file from .CAB file - windows-ce

Platform are wince5.0 and 6.0.
As you know that we can add some information in to *.inf file such as write some data into registry when installing .cab before generating .CAB.
Now, my program is running on wince5.0 and 6.0. I want to retrieve version information from _setup.xml (because I set it in *.inf before generating .cab file).
But it seems that there is no library or class which could be used to unpack .cab file or read the content from .cab file. (I know that there is a DLL/lib in windows platform or advanced version of .NET).
Is there any good idea to reach my target?

The only thing I'm aware of is the CAB Installer SDK, which supports uncompressed and compressed CABs.
EDIT
The CAB Installer SDK source is now available free over on CodePlex.

Related

How to generate .winmd file using VS2012

I have a project which is windows 8 application that create by using VS C++, javascript and html5.
But when I compile the project (Windows Runtime Component project) using ARM solution platform, a winmd file is not generate. What I success to generate is dll file, pri file, ilk file and pdb file.
Can someone teach me how to generate winmd file?
Check the below image. You need to set the output type as Windows Runtime Component.

Editing .ini file in InstallShield self extracting exe

I have a self-extracting exe created using InstallShield 2010. I need to modify the setup.ini file in it, without fully unpacking the installer. I downloaded the internal_setupini.exe utility from http://kb.flexerasoftware.com/selfservice/viewContent.do?externalID=Q107253. This file is officially supported for version 2009.
When I try to run the command it gives me 'Could not open <>.exe" error. Is this utility not supported for 2010?
My primary objective is to personalize the setup file for each of my user, so that user specific information is embedded within this setup. This is the reason why I want to open up the installer and write items into the ini. Is there any alternate(better) way of doing this?
Thanks in advance for your help.

Binary installation file

i am not really getting an idea on how a .bin file is being created. The JDK for Linux platform ships in the form of binary executable file (jdk-6u20-linux-i586-rpm.bin); how can one create such deliverable for their own project? Please give me some directions.
Thanks,
-Vijay
You want to create a self-extracting installer. See this linux journal article for a tutorial.

Launching cab file from Visual C++ dll

Does anybody know how to launch a cab file from a Visual C++ dll thats being used as a setup dll when installing an application on windows mobile.
Basically, I need the dll to detect if compact framework is not installed and run required cab file if needed.
I've beeg googling for something similar for ages with no luck. Surely this has been done and there are some examples out there.
Your help is very very very much appreciated.
Tony
If your talking about windows mobile cab file then Ants answer is incorrect.
You need to run the wceload.exe tool to start a install of a windows mobile cab file on the WM device.
You don't "launch" a .CAB file. You extract files out of it.
Here's a Microsoft KB article about one way to extract files out of a CAB.
http://support.microsoft.com/kb/189085

Issue during installation of web based project installer cab file with InstallShield

I have created a web based project and I have to install an ActiveX Control through web by a CAB file.
When I build my InstallShield Web project installer, it generate MSI package and a CAB file.
I have to register a DLL in CAB file.
If I install the MSI package locally, it works fine: it installed the activeX and registered the DLL.
But when I place the CAB file on the server and call that file remotely through web, it failed to register the DLL and it is not installed properly.
I don't know what I am missing.
sounds like static paths or a different type to system for your server. So he can not find the real path to an DLL.
For Information about this Topic read:
Nice Sybase Documentation about it
Nice Guide for creating CAB Files
MSDN Documentation for INF
From MSDN Documentation:
"...For this reason, if multiple files within a .cab are given the same name but different install directories, only one of the files will be installed in all locations. To work around this behavior, be sure to use unique names for all files within a single .cab file...."
and look up this Keywords:
SourceDisksNames/DestinationDirs
Hope that will fix it! :-)

Resources