I am developing a PPC2003 application with eMbedded Visual C++ 4.0, and a
similar Win32 application with Visual C++ 6.0.

First question:
Does anybody know how to generate a self-installation executable file from
eVC project? I want to run the executable in my desktop PC, and the
application can be installed to my PPC2003 device automatically through
ActiveSync.

Second question:
Does anybody know how to generate a self-installation executable file from
VC project? I want to run the executable in my PC, and the application and
required DLLs can be automatically installed to a specified directory in my
PC.

Thanks.

John

Re: To generate a Self-installation executable file by Stuart

Stuart
Wed Nov 10 12:25:49 CST 2004

> First question:
> Does anybody know how to generate a self-installation executable file from
> eVC project? I want to run the executable in my desktop PC, and the
> application can be installed to my PPC2003 device automatically through
> ActiveSync.


I use a program I've written myself that uses zlib to compress the files
and then copies them to the bottom of a self extracting stub. The stub
unzips the files to a temp directory and then reads the registry key
HKLM/SOFTWARE/Microsoft/Windows/CurrentVersion/App Paths/CEAPPMGR.EXE
to get the location of app manager.
Finally - we invoke appmanger on the .inf file and it takes over.


> Second question:
> Does anybody know how to generate a self-installation executable file from
> VC project? I want to run the executable in my PC, and the application and
> required DLLs can be automatically installed to a specified directory in my
> PC.

Surely the best way is just to create a .MSI ?


Stuart

Re: To generate a Self-installation executable file by JohnL

JohnL
Wed Nov 10 12:47:24 CST 2004

Great, it really gives me some hints.

Thanks.

John


"Stuart Adamson" <stuart@NOSPAM.bouncetech.co.uk> wrote in message
news:%23wa70K1xEHA.484@TK2MSFTNGP09.phx.gbl...
> > First question:
> > Does anybody know how to generate a self-installation executable file
from
> > eVC project? I want to run the executable in my desktop PC, and the
> > application can be installed to my PPC2003 device automatically through
> > ActiveSync.
>
>
> I use a program I've written myself that uses zlib to compress the files
> and then copies them to the bottom of a self extracting stub. The stub
> unzips the files to a temp directory and then reads the registry key
> HKLM/SOFTWARE/Microsoft/Windows/CurrentVersion/App Paths/CEAPPMGR.EXE
> to get the location of app manager.
> Finally - we invoke appmanger on the .inf file and it takes over.
>
>
> > Second question:
> > Does anybody know how to generate a self-installation executable file
from
> > VC project? I want to run the executable in my PC, and the application
and
> > required DLLs can be automatically installed to a specified directory in
my
> > PC.
>
> Surely the best way is just to create a .MSI ?
>
>
> Stuart



Re: To generate a Self-installation executable file by Stuart

Stuart
Wed Nov 10 13:03:49 CST 2004

See

http://www.codeproject.com/file/self_extractor.asp

for an example of doing the self extract thing

JohnL wrote:
> Great, it really gives me some hints.
>
> Thanks.
>
> John
>
>
> "Stuart Adamson" <stuart@NOSPAM.bouncetech.co.uk> wrote in message
> news:%23wa70K1xEHA.484@TK2MSFTNGP09.phx.gbl...
>
>>>First question:
>>>Does anybody know how to generate a self-installation executable file
>
> from
>
>>>eVC project? I want to run the executable in my desktop PC, and the
>>>application can be installed to my PPC2003 device automatically through
>>>ActiveSync.
>>
>>
>>I use a program I've written myself that uses zlib to compress the files
>>and then copies them to the bottom of a self extracting stub. The stub
>>unzips the files to a temp directory and then reads the registry key
>>HKLM/SOFTWARE/Microsoft/Windows/CurrentVersion/App Paths/CEAPPMGR.EXE
>>to get the location of app manager.
>>Finally - we invoke appmanger on the .inf file and it takes over.
>>
>>
>>
>>>Second question:
>>>Does anybody know how to generate a self-installation executable file
>
> from
>
>>>VC project? I want to run the executable in my PC, and the application
>
> and
>
>>>required DLLs can be automatically installed to a specified directory in
>
> my
>
>>>PC.
>>
>>Surely the best way is just to create a .MSI ?
>>
>>
>>Stuart
>
>
>

Re: To generate a Self-installation executable file by no-one

no-one
Wed Nov 10 13:16:16 CST 2004

On Wed, 10 Nov 2004 10:48:43 -0700, "JohnL" <hiliuzhe@hotmail.com>
wrote:

>...Does anybody know how to generate a self-installation executable file from
>eVC project? I want to run the executable in my desktop PC, and the
>application can be installed to my PPC2003 device automatically through
>ActiveSync..

I recommend using one of the commercial installer programs, like the
Wise Installer. That gives you a nice professional-looking wrapper
around your installation which can display a readme file or license
agreement, prompt for options, etc.


-Robert Scott
Ypsilanti, Michigan
(Reply through this forum, not by direct e-mail to me, as automatic reply address is fake.)

Re: To generate a Self-installation executable file by r_z_aret

r_z_aret
Sat Nov 13 16:07:15 CST 2004

On Wed, 10 Nov 2004 10:48:43 -0700, "JohnL" <hiliuzhe@hotmail.com>
wrote:

>I am developing a PPC2003 application with eMbedded Visual C++ 4.0, and a
>similar Win32 application with Visual C++ 6.0.
>
>First question:
>Does anybody know how to generate a self-installation executable file from
>eVC project? I want to run the executable in my desktop PC, and the
>application can be installed to my PPC2003 device automatically through
>ActiveSync.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnce30/html/appinstall30.asp
http://www.pocketpcdn.com/sections/installation.html
http://msdn.microsoft.com/mobility/understanding/articles/default.aspx?pull=/library/en-us/dnnetcomp/html/netcfdeployment.asp

>
>Second question:
>Does anybody know how to generate a self-installation executable file from
>VC project? I want to run the executable in my PC, and the application and
>required DLLs can be automatically installed to a specified directory in my
>PC.
>
>Thanks.
>
>John
>

-----------------------------------------
To reply to me, remove the underscores (_) from my email address (and please indicate which newsgroup and message).

Robert E. Zaret, eMVP
PenFact, Inc.
500 Harrison Ave., Suite 3R
Boston, MA 02118
www.penfact.com