Setup.ini syntax

H

Harry Simpson

Why would my setup app only always install ONLY the first cab file in my
list of cab files?


[CEAppManager]
Version = 1.0
Component = EasyAPP

[EasyAPP]
Description = EasyAPP
CabFiles
=sqlce.wce4.armv4.CAB,sqlce.dev.wce4.armv4.cab,sql.wce4.armv4.CAB,netcf.all.wce4.armv4.CAB,EasyAPP_PPC.ARM.CAB,EasyAPP_PPC.ARMV4.CAB,EasyAPP_PPC.MIPS.CAB,EasyAPP_PPC.SH3.CAB,EasyAPP_PPC.WCE420X86.CAB,EasyAPP_PPC.X86.CAB,symbol.all.arm.cab

The above hopefully would load SQLCE, CFNET, the correct version of EasyAPP,
and the Symbol cab. Yet when run, whatever is the first file listed in the
CabFiles list gets installed and the App Manager happily finishes. Course
on the PPC, the message is that the other cabs need to be loaded.

How can i insure load of multiple CABs?

TIA
Harry Simpson
 
P

Peter Foot [MVP]

If you use CeAppMgr you need a separate ini file for each package. The
ability to specify multiple cab files is to support multiple
processors/platforms. What will happen is the first entry which matches your
device type is installed and the rest will be ignored.

Peter

--
Peter Foot
Windows Embedded MVP
www.inthehand.com | www.opennetcf.org

Do have an opinion on the effectiveness of Microsoft Windows Mobile and
Embedded newsgroups? Let us know!
https://www.windowsembeddedeval.com/community/newsgroups
 
H

Harry Simpson

I'm using the EzSetup free app. It has a syntax whereby the ini file is
designated:

ezsetup -l english -i EasyTAG.ini -r readme.txt -e eula.txt -o ET.exe

Don't know if you've ever messed with this but how would i link the various
..INIs ?

Or do my needs exceed the limits of this free app. Is the CF installed
within the apps CAB?

TIA
Harry

Peter Foot said:
If you use CeAppMgr you need a separate ini file for each package. The
ability to specify multiple cab files is to support multiple
processors/platforms. What will happen is the first entry which matches
your device type is installed and the rest will be ignored.

Peter

--
Peter Foot
Windows Embedded MVP
www.inthehand.com | www.opennetcf.org

Do have an opinion on the effectiveness of Microsoft Windows Mobile and
Embedded newsgroups? Let us know!
https://www.windowsembeddedeval.com/community/newsgroups

Harry Simpson said:
Why would my setup app only always install ONLY the first cab file in my
list of cab files?


[CEAppManager]
Version = 1.0
Component = EasyAPP

[EasyAPP]
Description = EasyAPP
CabFiles
=sqlce.wce4.armv4.CAB,sqlce.dev.wce4.armv4.cab,sql.wce4.armv4.CAB,netcf.all.wce4.armv4.CAB,EasyAPP_PPC.ARM.CAB,EasyAPP_PPC.ARMV4.CAB,EasyAPP_PPC.MIPS.CAB,EasyAPP_PPC.SH3.CAB,EasyAPP_PPC.WCE420X86.CAB,EasyAPP_PPC.X86.CAB,symbol.all.arm.cab

The above hopefully would load SQLCE, CFNET, the correct version of
EasyAPP, and the Symbol cab. Yet when run, whatever is the first file
listed in the CabFiles list gets installed and the App Manager happily
finishes. Course on the PPC, the message is that the other cabs need to
be loaded.

How can i insure load of multiple CABs?

TIA
Harry Simpson
 
P

Peter Foot [MVP]

As it stands EZSetup won't allow you to repeat the process for multiple ini
files. You could download the source and modify the tool:-
http://www.spbsoftwarehouse.com/products/ezsetup/?en

With regards the .NETCF question, no the framework is not included in your
application cab file. If you are installing onto Pocket PC 2003 or 2003 SE
then the device will already have .NETCF in ROM, but it is probably a good
idea to deploy the latest SP2 version with your app.

Peter

--
Peter Foot
Windows Embedded MVP
www.inthehand.com | www.opennetcf.org

Do have an opinion on the effectiveness of Microsoft Windows Mobile and
Embedded newsgroups? Let us know!
https://www.windowsembeddedeval.com/community/newsgroups

Harry Simpson said:
I'm using the EzSetup free app. It has a syntax whereby the ini file is
designated:

ezsetup -l english -i EasyTAG.ini -r readme.txt -e eula.txt -o ET.exe

Don't know if you've ever messed with this but how would i link the
various .INIs ?

Or do my needs exceed the limits of this free app. Is the CF installed
within the apps CAB?

TIA
Harry

Peter Foot said:
If you use CeAppMgr you need a separate ini file for each package. The
ability to specify multiple cab files is to support multiple
processors/platforms. What will happen is the first entry which matches
your device type is installed and the rest will be ignored.

Peter

--
Peter Foot
Windows Embedded MVP
www.inthehand.com | www.opennetcf.org

Do have an opinion on the effectiveness of Microsoft Windows Mobile and
Embedded newsgroups? Let us know!
https://www.windowsembeddedeval.com/community/newsgroups

Harry Simpson said:
Why would my setup app only always install ONLY the first cab file in my
list of cab files?


[CEAppManager]
Version = 1.0
Component = EasyAPP

[EasyAPP]
Description = EasyAPP
CabFiles
=sqlce.wce4.armv4.CAB,sqlce.dev.wce4.armv4.cab,sql.wce4.armv4.CAB,netcf.all.wce4.armv4.CAB,EasyAPP_PPC.ARM.CAB,EasyAPP_PPC.ARMV4.CAB,EasyAPP_PPC.MIPS.CAB,EasyAPP_PPC.SH3.CAB,EasyAPP_PPC.WCE420X86.CAB,EasyAPP_PPC.X86.CAB,symbol.all.arm.cab

The above hopefully would load SQLCE, CFNET, the correct version of
EasyAPP, and the Symbol cab. Yet when run, whatever is the first file
listed in the CabFiles list gets installed and the App Manager happily
finishes. Course on the PPC, the message is that the other cabs need to
be loaded.

How can i insure load of multiple CABs?

TIA
Harry Simpson
 
H

Harry Simpson

Thanks for taking the time to respond Peter. What is the setup program that
most CF.NET users use? I've also go a couple of PPC apps that use a web
service. Course I have a regular install program created for the web
service.

It'd be nice if one setup program could do it all in a predictable manner.

Is the a 3rd party setup program that's used mostly? We have WISE here and
are getting ready to upgrade to their latest version. Is this the way to go
or would it be overkill?

TIA
Harry

Peter Foot said:
As it stands EZSetup won't allow you to repeat the process for multiple
ini files. You could download the source and modify the tool:-
http://www.spbsoftwarehouse.com/products/ezsetup/?en

With regards the .NETCF question, no the framework is not included in your
application cab file. If you are installing onto Pocket PC 2003 or 2003 SE
then the device will already have .NETCF in ROM, but it is probably a good
idea to deploy the latest SP2 version with your app.

Peter

--
Peter Foot
Windows Embedded MVP
www.inthehand.com | www.opennetcf.org

Do have an opinion on the effectiveness of Microsoft Windows Mobile and
Embedded newsgroups? Let us know!
https://www.windowsembeddedeval.com/community/newsgroups

Harry Simpson said:
I'm using the EzSetup free app. It has a syntax whereby the ini file is
designated:

ezsetup -l english -i EasyTAG.ini -r readme.txt -e eula.txt -o ET.exe

Don't know if you've ever messed with this but how would i link the
various .INIs ?

Or do my needs exceed the limits of this free app. Is the CF installed
within the apps CAB?

TIA
Harry

Peter Foot said:
If you use CeAppMgr you need a separate ini file for each package. The
ability to specify multiple cab files is to support multiple
processors/platforms. What will happen is the first entry which matches
your device type is installed and the rest will be ignored.

Peter

--
Peter Foot
Windows Embedded MVP
www.inthehand.com | www.opennetcf.org

Do have an opinion on the effectiveness of Microsoft Windows Mobile and
Embedded newsgroups? Let us know!
https://www.windowsembeddedeval.com/community/newsgroups

Why would my setup app only always install ONLY the first cab file in
my list of cab files?


[CEAppManager]
Version = 1.0
Component = EasyAPP

[EasyAPP]
Description = EasyAPP
CabFiles
=sqlce.wce4.armv4.CAB,sqlce.dev.wce4.armv4.cab,sql.wce4.armv4.CAB,netcf.all.wce4.armv4.CAB,EasyAPP_PPC.ARM.CAB,EasyAPP_PPC.ARMV4.CAB,EasyAPP_PPC.MIPS.CAB,EasyAPP_PPC.SH3.CAB,EasyAPP_PPC.WCE420X86.CAB,EasyAPP_PPC.X86.CAB,symbol.all.arm.cab

The above hopefully would load SQLCE, CFNET, the correct version of
EasyAPP, and the Symbol cab. Yet when run, whatever is the first file
listed in the CabFiles list gets installed and the App Manager happily
finishes. Course on the PPC, the message is that the other cabs need
to be loaded.

How can i insure load of multiple CABs?

TIA
Harry Simpson
 
E

Ercan Turkarslan [MS]

The following MSDN article describes how you can create an MSI file to
install your application to the device from a desktop computer using
ActiveSync.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetcomp/h
tml/netcfdeployment.asp

Unfortunately it misses some details and those details are covered by
CodeProject article.
http://www.codeproject.com/netcf/PackagingAndDeployingPPC.asp

In order to create an MSI file you need to follow these two article
together.

In order to install different CABs to the device as part of the same
installation you need to modify the sample Installer code in the first
article as follows.

RunAppManager(Path.Combine(arg, "NETCFSetup.ini"))
RunAppManager(Path.Combine(arg, "MyApp.ini"))

' The following change is required with in RunAppManager.
' launch the app with Wait for Exit
Process.Start( String.Format("""{0}""", appManager),
String.Format("""{0}""", arg)).WaitForExit()



Ercan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top