By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,961 Members | 1,333 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,961 IT Pros & Developers. It's quick & easy.

Create the INI file for CeAppMgr.exe

P: n/a
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...eployment.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
Nov 21 '05 #1
Share this Question
Share on Google+
8 Replies


P: n/a
Hi,

This article is a little better.
http://msdn.microsoft.com/mobility/d...ntpatterns.asp

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

Ken
------------------------
" A_PK" <pk***@hotmail.com> wrote in message
news:O4****************@TK2MSFTNGP09.phx.gbl...
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...eployment.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

Nov 21 '05 #2

P: n/a
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.S H3.CAB,BaroqueMobile_PPC.WCE420X86.CAB,BaroqueMobi le_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 [MVP]" <vb***@bellsouth.net> wrote in message
news:eP**************@tk2msftngp13.phx.gbl...
Hi,

This article is a little better.
http://msdn.microsoft.com/mobility/d...ntpatterns.asp

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

Ken
------------------------
" A_PK" <pk***@hotmail.com> wrote in message
news:O4****************@TK2MSFTNGP09.phx.gbl...
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...eployment.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

Nov 21 '05 #3

P: n/a
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.S H3.CAB,BaroqueMobile_PPC.WCE420X86.CAB,BaroqueMobi le_PPC.X86.CAB
Ken
-------------------
" A_PK" <pk***@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP15.phx.gbl...
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.S H3.CAB,BaroqueMobile_PPC.WCE420X86.CAB,BaroqueMobi le_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 [MVP]" <vb***@bellsouth.net> wrote in message
news:eP**************@tk2msftngp13.phx.gbl...
Hi,

This article is a little better.
http://msdn.microsoft.com/mobility/d...ntpatterns.asp

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

Ken
------------------------
" A_PK" <pk***@hotmail.com> wrote in message
news:O4****************@TK2MSFTNGP09.phx.gbl...
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...eployment.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


Nov 21 '05 #4

P: n/a
Tried....but still having problem.

Any Clue ?
"Ken Tucker [MVP]" <vb***@bellsouth.net> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
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.S H3.CAB,BaroqueMobile_PPC.WCE420X86.CAB,BaroqueMobi le_PPC.X86.CAB
Ken
-------------------
" A_PK" <pk***@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP15.phx.gbl...
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.S H3.CAB,BaroqueMobile_PPC.WCE420X86.CAB,BaroqueMobi le_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 [MVP]" <vb***@bellsouth.net> wrote in message
news:eP**************@tk2msftngp13.phx.gbl...
Hi,

This article is a little better.
http://msdn.microsoft.com/mobility/d...ntpatterns.asp

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

Ken
------------------------
" A_PK" <pk***@hotmail.com> wrote in message
news:O4****************@TK2MSFTNGP09.phx.gbl...
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...eployment.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


Nov 21 '05 #5

P: n/a
[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" <pk***@hotmail.com> wrote in message
news:ey**************@TK2MSFTNGP10.phx.gbl...
Tried....but still having problem.

Any Clue ?
"Ken Tucker [MVP]" <vb***@bellsouth.net> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
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.S H3.CAB,BaroqueMobile_PPC.WCE420X86.CAB,BaroqueMobi le_PPC.X86.CAB
Ken
-------------------
" A_PK" <pk***@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP15.phx.gbl...
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.S H3.CAB,BaroqueMobile_PPC.WCE420X86.CAB,BaroqueMobi le_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 [MVP]" <vb***@bellsouth.net> wrote in message
news:eP**************@tk2msftngp13.phx.gbl...
Hi,

This article is a little better.
http://msdn.microsoft.com/mobility/d...ntpatterns.asp

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

Ken
------------------------
" A_PK" <pk***@hotmail.com> wrote in message
news:O4****************@TK2MSFTNGP09.phx.gbl...
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...eployment.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



Nov 21 '05 #6

P: n/a
What is the Uninstall for ?

if I do not put Uninstall....is it ok ?
"Harry Simpson" <hs*******@phgt.net> wrote in message
news:%2****************@TK2MSFTNGP15.phx.gbl...
[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" <pk***@hotmail.com> wrote in message
news:ey**************@TK2MSFTNGP10.phx.gbl...
Tried....but still having problem.

Any Clue ?
"Ken Tucker [MVP]" <vb***@bellsouth.net> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
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.S H3.CAB,BaroqueMobile_PPC.WCE420X86.CAB,BaroqueMobi le_PPC.X86.CAB
Ken
-------------------
" A_PK" <pk***@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP15.phx.gbl...
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.S H3.CAB,BaroqueMobile_PPC.WCE420X86.CAB,BaroqueMobi le_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 [MVP]" <vb***@bellsouth.net> wrote in message
news:eP**************@tk2msftngp13.phx.gbl...
Hi,

This article is a little better.
http://msdn.microsoft.com/mobility/d...ntpatterns.asp

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

Ken
------------------------
" A_PK" <pk***@hotmail.com> wrote in message
news:O4****************@TK2MSFTNGP09.phx.gbl...
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...eployment.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




Nov 21 '05 #7

P: n/a
Try and see. I don't think it's a required tag.
" A_PK" <pk***@hotmail.com> wrote in message
news:uq****************@TK2MSFTNGP10.phx.gbl...
What is the Uninstall for ?

if I do not put Uninstall....is it ok ?
"Harry Simpson" <hs*******@phgt.net> wrote in message
news:%2****************@TK2MSFTNGP15.phx.gbl...
[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" <pk***@hotmail.com> wrote in message
news:ey**************@TK2MSFTNGP10.phx.gbl...
Tried....but still having problem.

Any Clue ?
"Ken Tucker [MVP]" <vb***@bellsouth.net> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
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.S H3.CAB,BaroqueMobile_PPC.WCE420X86.CAB,BaroqueMobi le_PPC.X86.CAB
Ken
-------------------
" A_PK" <pk***@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP15.phx.gbl...
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.S H3.CAB,BaroqueMobile_PPC.WCE420X86.CAB,BaroqueMobi le_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 [MVP]" <vb***@bellsouth.net> wrote in message
news:eP**************@tk2msftngp13.phx.gbl...
> Hi,
>
> This article is a little better.
> http://msdn.microsoft.com/mobility/d...ntpatterns.asp
>
> Free installer.
> http://www.spbsoftwarehouse.com/products/ezsetup/?en
>
> Ken
> ------------------------
> " A_PK" <pk***@hotmail.com> wrote in message
> news:O4****************@TK2MSFTNGP09.phx.gbl...
> 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...eployment.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
>
>
>




Nov 21 '05 #8

P: n/a
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
------
This posting is provided "AS IS" with no warranties, and confers no rights.

" A_PK" <pk***@hotmail.com> wrote in message
news:ey**************@TK2MSFTNGP10.phx.gbl...
Tried....but still having problem.

Any Clue ?
-------------------

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

Nov 21 '05 #9

This discussion thread is closed

Replies have been disabled for this discussion.