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
>
>
>