Create the INI file for CeAppMgr.exe

A

A_PK

Hi,

I am using VB.net to develop my application. I understand that to get CE App
Manager to install applications, I have to specify an INI file where I run
it. Since I am using VB.net. So I need to create two solutions. The first
contains smart Device Porject called PocketApp. The second solution
generates the .msi file and contains the projects CustomerInstaller,
Pre-build and Setup.

my question is Under which solution should I create an INI file ? I notice
that both solution also got INI file from the article
(http://msdn.microsoft.com/library/en-us/dnnetcomp/html/netcfdeployment.asp).
What is the different ?

I found very limited source for deploying pocket pc application using
vb.net. please share with me if you have good site for that.

Thank you
 
K

Ken Tucker [MVP]

Hi,

This article is a little better.
http://msdn.microsoft.com/mobility/...y/en-us/dnnetcomp/html/deploymentpatterns.asp

Free installer.
http://www.spbsoftwarehouse.com/products/ezsetup/?en

Ken
------------------------
Hi,

I am using VB.net to develop my application. I understand that to get CE App
Manager to install applications, I have to specify an INI file where I run
it. Since I am using VB.net. So I need to create two solutions. The first
contains smart Device Porject called PocketApp. The second solution
generates the .msi file and contains the projects CustomerInstaller,
Pre-build and Setup.

my question is Under which solution should I create an INI file ? I notice
that both solution also got INI file from the article
(http://msdn.microsoft.com/library/en-us/dnnetcomp/html/netcfdeployment.asp).
What is the different ?

I found very limited source for deploying pocket pc application using
vb.net. please share with me if you have good site for that.

Thank you
 
A

A_PK

Hi,

I tried to download ezsetup, but I dun know how to use it.
I click to run that software, then nothing appear, execpt command prompt
black screen flashing one time, then disappear.

Talking about Ini file again.
I think I am having some problem with Ini file. Could someone correct my ini
file below.

'--------------------------
[CEAppManager]
Version = 1.0
Component = App

[App]
Description = A Test Project.
CabFiles =
BaroqueMobile_PPC.ARM.CAB,BaroqueMobile_PPC.ARMV4.CAB,BaroqueMobile_PPC.MIPS.CAB,BaroqueMobile_PPC.SH3.CAB,BaroqueMobile_PPC.WCE420X86.CAB,BaroqueMobile_PPC.X86.CAB

'---------------------------------------

I tried to compile, and everhthing is ok, just when i tried to install. an
error message will be showing up and saying Invalid Setup file.

Pls help....very urgent

Regards
Pierce
 
K

Ken Tucker [MVP]

Hi,

Try this.

[CEAppManager]
Version = 1.0
Component = BaroqueMobile

[BaroqueMobile]
Description = A Test Project.
Uninstall = BaroqueMobile
CabFiles =
BaroqueMobile_PPC.ARM.CAB,BaroqueMobile_PPC.ARMV4.CAB,BaroqueMobile_PPC.MIPS.CAB,BaroqueMobile_PPC.SH3.CAB,BaroqueMobile_PPC.WCE420X86.CAB,BaroqueMobile_PPC.X86.CAB


Ken
-------------------
Hi,

I tried to download ezsetup, but I dun know how to use it.
I click to run that software, then nothing appear, execpt command prompt
black screen flashing one time, then disappear.

Talking about Ini file again.
I think I am having some problem with Ini file. Could someone correct my ini
file below.

'--------------------------
[CEAppManager]
Version = 1.0
Component = App

[App]
Description = A Test Project.
CabFiles =
BaroqueMobile_PPC.ARM.CAB,BaroqueMobile_PPC.ARMV4.CAB,BaroqueMobile_PPC.MIPS.CAB,BaroqueMobile_PPC.SH3.CAB,BaroqueMobile_PPC.WCE420X86.CAB,BaroqueMobile_PPC.X86.CAB

'---------------------------------------

I tried to compile, and everhthing is ok, just when i tried to install. an
error message will be showing up and saying Invalid Setup file.

Pls help....very urgent

Regards
Pierce
 
A

A_PK

Tried....but still having problem.

Any Clue ?


Ken Tucker said:
Hi,

Try this.

[CEAppManager]
Version = 1.0
Component = BaroqueMobile

[BaroqueMobile]
Description = A Test Project.
Uninstall = BaroqueMobile
CabFiles =
BaroqueMobile_PPC.ARM.CAB,BaroqueMobile_PPC.ARMV4.CAB,BaroqueMobile_PPC.MIPS.CAB,BaroqueMobile_PPC.SH3.CAB,BaroqueMobile_PPC.WCE420X86.CAB,BaroqueMobile_PPC.X86.CAB


Ken
-------------------
Hi,

I tried to download ezsetup, but I dun know how to use it.
I click to run that software, then nothing appear, execpt command prompt
black screen flashing one time, then disappear.

Talking about Ini file again.
I think I am having some problem with Ini file. Could someone correct my
ini
file below.

'--------------------------
[CEAppManager]
Version = 1.0
Component = App

[App]
Description = A Test Project.
CabFiles =
BaroqueMobile_PPC.ARM.CAB,BaroqueMobile_PPC.ARMV4.CAB,BaroqueMobile_PPC.MIPS.CAB,BaroqueMobile_PPC.SH3.CAB,BaroqueMobile_PPC.WCE420X86.CAB,BaroqueMobile_PPC.X86.CAB

'---------------------------------------

I tried to compile, and everhthing is ok, just when i tried to install. an
error message will be showing up and saying Invalid Setup file.

Pls help....very urgent

Regards
Pierce

Ken Tucker said:
Hi,

This article is a little better.
http://msdn.microsoft.com/mobility/...y/en-us/dnnetcomp/html/deploymentpatterns.asp

Free installer.
http://www.spbsoftwarehouse.com/products/ezsetup/?en

Ken
------------------------
Hi,

I am using VB.net to develop my application. I understand that to get CE
App
Manager to install applications, I have to specify an INI file where I
run
it. Since I am using VB.net. So I need to create two solutions. The first
contains smart Device Porject called PocketApp. The second solution
generates the .msi file and contains the projects CustomerInstaller,
Pre-build and Setup.

my question is Under which solution should I create an INI file ? I
notice
that both solution also got INI file from the article
(http://msdn.microsoft.com/library/en-us/dnnetcomp/html/netcfdeployment.asp).
What is the different ?

I found very limited source for deploying pocket pc application using
vb.net. please share with me if you have good site for that.

Thank you
 
H

Harry Simpson

[CEAppManager]
Version = 1.0
Component = BaroqueMobile

[BaroqueMobile]
Description = Baroque Mobile
Uninstall = BaroqueMobile
CabFiles = BaroqueMobile_PPC.ARM.CAB

try just one cab file to see if problem is with the syntax of the commas
spaces. Also I subbed out your other description with the name of the app
for testing.

Guessing here but just maybe......

Tha overall structure looks fine.Unless you need to deploy accross different
platforms, ARM is good for Pocket PC deploymnet.

Harry

A_PK said:
Tried....but still having problem.

Any Clue ?


Ken Tucker said:
Hi,

Try this.

[CEAppManager]
Version = 1.0
Component = BaroqueMobile

[BaroqueMobile]
Description = A Test Project.
Uninstall = BaroqueMobile
CabFiles =
BaroqueMobile_PPC.ARM.CAB,BaroqueMobile_PPC.ARMV4.CAB,BaroqueMobile_PPC.MIPS.CAB,BaroqueMobile_PPC.SH3.CAB,BaroqueMobile_PPC.WCE420X86.CAB,BaroqueMobile_PPC.X86.CAB


Ken
-------------------
Hi,

I tried to download ezsetup, but I dun know how to use it.
I click to run that software, then nothing appear, execpt command prompt
black screen flashing one time, then disappear.

Talking about Ini file again.
I think I am having some problem with Ini file. Could someone correct my
ini
file below.

'--------------------------
[CEAppManager]
Version = 1.0
Component = App

[App]
Description = A Test Project.
CabFiles =
BaroqueMobile_PPC.ARM.CAB,BaroqueMobile_PPC.ARMV4.CAB,BaroqueMobile_PPC.MIPS.CAB,BaroqueMobile_PPC.SH3.CAB,BaroqueMobile_PPC.WCE420X86.CAB,BaroqueMobile_PPC.X86.CAB

'---------------------------------------

I tried to compile, and everhthing is ok, just when i tried to install.
an
error message will be showing up and saying Invalid Setup file.

Pls help....very urgent

Regards
Pierce

Ken Tucker said:
Hi,

This article is a little better.
http://msdn.microsoft.com/mobility/...y/en-us/dnnetcomp/html/deploymentpatterns.asp

Free installer.
http://www.spbsoftwarehouse.com/products/ezsetup/?en

Ken
------------------------
Hi,

I am using VB.net to develop my application. I understand that to get CE
App
Manager to install applications, I have to specify an INI file where I
run
it. Since I am using VB.net. So I need to create two solutions. The
first
contains smart Device Porject called PocketApp. The second solution
generates the .msi file and contains the projects CustomerInstaller,
Pre-build and Setup.

my question is Under which solution should I create an INI file ? I
notice
that both solution also got INI file from the article
(http://msdn.microsoft.com/library/en-us/dnnetcomp/html/netcfdeployment.asp).
What is the different ?

I found very limited source for deploying pocket pc application using
vb.net. please share with me if you have good site for that.

Thank you
 
A

A_PK

What is the Uninstall for ?

if I do not put Uninstall....is it ok ?


Harry Simpson said:
[CEAppManager]
Version = 1.0
Component = BaroqueMobile

[BaroqueMobile]
Description = Baroque Mobile
Uninstall = BaroqueMobile
CabFiles = BaroqueMobile_PPC.ARM.CAB

try just one cab file to see if problem is with the syntax of the commas
spaces. Also I subbed out your other description with the name of the app
for testing.

Guessing here but just maybe......

Tha overall structure looks fine.Unless you need to deploy accross
different platforms, ARM is good for Pocket PC deploymnet.

Harry

A_PK said:
Tried....but still having problem.

Any Clue ?


Ken Tucker said:
Hi,

Try this.

[CEAppManager]
Version = 1.0
Component = BaroqueMobile

[BaroqueMobile]
Description = A Test Project.
Uninstall = BaroqueMobile
CabFiles =
BaroqueMobile_PPC.ARM.CAB,BaroqueMobile_PPC.ARMV4.CAB,BaroqueMobile_PPC.MIPS.CAB,BaroqueMobile_PPC.SH3.CAB,BaroqueMobile_PPC.WCE420X86.CAB,BaroqueMobile_PPC.X86.CAB


Ken
-------------------
Hi,

I tried to download ezsetup, but I dun know how to use it.
I click to run that software, then nothing appear, execpt command prompt
black screen flashing one time, then disappear.

Talking about Ini file again.
I think I am having some problem with Ini file. Could someone correct my
ini
file below.

'--------------------------
[CEAppManager]
Version = 1.0
Component = App

[App]
Description = A Test Project.
CabFiles =
BaroqueMobile_PPC.ARM.CAB,BaroqueMobile_PPC.ARMV4.CAB,BaroqueMobile_PPC.MIPS.CAB,BaroqueMobile_PPC.SH3.CAB,BaroqueMobile_PPC.WCE420X86.CAB,BaroqueMobile_PPC.X86.CAB

'---------------------------------------

I tried to compile, and everhthing is ok, just when i tried to install.
an
error message will be showing up and saying Invalid Setup file.

Pls help....very urgent

Regards
Pierce

Hi,

This article is a little better.
http://msdn.microsoft.com/mobility/...y/en-us/dnnetcomp/html/deploymentpatterns.asp

Free installer.
http://www.spbsoftwarehouse.com/products/ezsetup/?en

Ken
------------------------
Hi,

I am using VB.net to develop my application. I understand that to get
CE
App
Manager to install applications, I have to specify an INI file where I
run
it. Since I am using VB.net. So I need to create two solutions. The
first
contains smart Device Porject called PocketApp. The second solution
generates the .msi file and contains the projects CustomerInstaller,
Pre-build and Setup.

my question is Under which solution should I create an INI file ? I
notice
that both solution also got INI file from the article
(http://msdn.microsoft.com/library/en-us/dnnetcomp/html/netcfdeployment.asp).
What is the different ?

I found very limited source for deploying pocket pc application using
vb.net. please share with me if you have good site for that.

Thank you
 
H

Harry Simpson

Try and see. I don't think it's a required tag.
A_PK said:
What is the Uninstall for ?

if I do not put Uninstall....is it ok ?


Harry Simpson said:
[CEAppManager]
Version = 1.0
Component = BaroqueMobile

[BaroqueMobile]
Description = Baroque Mobile
Uninstall = BaroqueMobile
CabFiles = BaroqueMobile_PPC.ARM.CAB

try just one cab file to see if problem is with the syntax of the commas
spaces. Also I subbed out your other description with the name of the
app for testing.

Guessing here but just maybe......

Tha overall structure looks fine.Unless you need to deploy accross
different platforms, ARM is good for Pocket PC deploymnet.

Harry

A_PK said:
Tried....but still having problem.

Any Clue ?


Hi,

Try this.

[CEAppManager]
Version = 1.0
Component = BaroqueMobile

[BaroqueMobile]
Description = A Test Project.
Uninstall = BaroqueMobile
CabFiles =
BaroqueMobile_PPC.ARM.CAB,BaroqueMobile_PPC.ARMV4.CAB,BaroqueMobile_PPC.MIPS.CAB,BaroqueMobile_PPC.SH3.CAB,BaroqueMobile_PPC.WCE420X86.CAB,BaroqueMobile_PPC.X86.CAB


Ken
-------------------
Hi,

I tried to download ezsetup, but I dun know how to use it.
I click to run that software, then nothing appear, execpt command
prompt
black screen flashing one time, then disappear.

Talking about Ini file again.
I think I am having some problem with Ini file. Could someone correct
my ini
file below.

'--------------------------
[CEAppManager]
Version = 1.0
Component = App

[App]
Description = A Test Project.
CabFiles =
BaroqueMobile_PPC.ARM.CAB,BaroqueMobile_PPC.ARMV4.CAB,BaroqueMobile_PPC.MIPS.CAB,BaroqueMobile_PPC.SH3.CAB,BaroqueMobile_PPC.WCE420X86.CAB,BaroqueMobile_PPC.X86.CAB

'---------------------------------------

I tried to compile, and everhthing is ok, just when i tried to install.
an
error message will be showing up and saying Invalid Setup file.

Pls help....very urgent

Regards
Pierce

Hi,

This article is a little better.
http://msdn.microsoft.com/mobility/...y/en-us/dnnetcomp/html/deploymentpatterns.asp

Free installer.
http://www.spbsoftwarehouse.com/products/ezsetup/?en

Ken
------------------------
Hi,

I am using VB.net to develop my application. I understand that to get
CE
App
Manager to install applications, I have to specify an INI file where I
run
it. Since I am using VB.net. So I need to create two solutions. The
first
contains smart Device Porject called PocketApp. The second solution
generates the .msi file and contains the projects CustomerInstaller,
Pre-build and Setup.

my question is Under which solution should I create an INI file ? I
notice
that both solution also got INI file from the article
(http://msdn.microsoft.com/library/en-us/dnnetcomp/html/netcfdeployment.asp).
What is the different ?

I found very limited source for deploying pocket pc application using
vb.net. please share with me if you have good site for that.

Thank you
 
D

David Gonzales [MS]

When you call CeAppMgr.exe, be sure to include an absolute path to the INI
file, not a relative path. That is to say, when your custom DLL call
RunAppManager, it specifies the Absolute path to the INI file. The INI file
(if using the sample code) should be in the same folder as your CAB file.
Otherwise you get the "Invalid Setup file" at install time.

To test this, use a command prompt (instead of the setup program). Something
like this should work:

"c:\program files\microsoft activesync\ceappmgr.exe" "c:\program
files\my company\my application\my.ini"

If it doesn't work at the command line, it will be no surprise when you
Setup custom DLL fails in the same manner.

David
 

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