Hello

I need to write an installer that would 'unpack' and install a file in a
pre-defined directory and an executable file that itself is an installer and
that file would start installation also. Here is what I mean:

FileX.exe contains FileY.exe and FileZ.some_extentsion
User runs FileX.exe and FileY.exe starts installation and after it's done
FileZ.some_extension gets copied in some othe dierectory. Can this be done
using VC++ 2005 Express Beta? Thank you.

Victor.

Re: Writing Installers by Micus

Micus
Sun May 08 00:03:56 CDT 2005


"victorsk" <victorsk@discussions.microsoft.com> wrote in message
news:8B051E8F-6360-4EA4-85B2-32C5E56C340C@microsoft.com...
> Hello
>
> I need to write an installer that would 'unpack' and install a file in a
> pre-defined directory and an executable file that itself is an installer
and
> that file would start installation also. Here is what I mean:
>
> FileX.exe contains FileY.exe and FileZ.some_extentsion
> User runs FileX.exe and FileY.exe starts installation and after it's done
> FileZ.some_extension gets copied in some othe dierectory. Can this be
done
> using VC++ 2005 Express Beta? Thank you.
>
> Victor.

I know there are Setup Projects in VS.NET 2003 which create a packaged
executable for use with the Window's Installer. I however found limited
documentation for all the features of a Setup Project. Perhaps someone 'in
the know' could provide both of us with a good link for Setup Projects.
Regards, M



Re: Writing Installers by Malcolm

Malcolm
Sun May 08 03:37:00 CDT 2005

I have done something similar. Basically I zipped the files. Then I wrote a
little C++ app that copied the zip to the users temp folder, unzipped it
then executed it. Worked like a charm.

If that sounds similar to what you want to do let em know and I will give
you more details

Good Luck


"victorsk" <victorsk@discussions.microsoft.com> wrote in message
news:8B051E8F-6360-4EA4-85B2-32C5E56C340C@microsoft.com...
> Hello
>
> I need to write an installer that would 'unpack' and install a file in a
> pre-defined directory and an executable file that itself is an installer
and
> that file would start installation also. Here is what I mean:
>
> FileX.exe contains FileY.exe and FileZ.some_extentsion
> User runs FileX.exe and FileY.exe starts installation and after it's done
> FileZ.some_extension gets copied in some othe dierectory. Can this be
done
> using VC++ 2005 Express Beta? Thank you.
>
> Victor.



Re: Writing Installers by victorsk

victorsk
Sun May 08 10:10:03 CDT 2005

HI,

Thank you very much for your reply. If you don't mind, could you please
provide a bit more information on the algorithm of your application? Thank
you very much.

Cheers,
Victor.

"Malcolm Clarke" wrote:

> I have done something similar. Basically I zipped the files. Then I wrote a
> little C++ app that copied the zip to the users temp folder, unzipped it
> then executed it. Worked like a charm.
>
> If that sounds similar to what you want to do let em know and I will give
> you more details
>
> Good Luck
>
>
> "victorsk" <victorsk@discussions.microsoft.com> wrote in message
> news:8B051E8F-6360-4EA4-85B2-32C5E56C340C@microsoft.com...
> > Hello
> >
> > I need to write an installer that would 'unpack' and install a file in a
> > pre-defined directory and an executable file that itself is an installer
> and
> > that file would start installation also. Here is what I mean:
> >
> > FileX.exe contains FileY.exe and FileZ.some_extentsion
> > User runs FileX.exe and FileY.exe starts installation and after it's done
> > FileZ.some_extension gets copied in some othe dierectory. Can this be
> done
> > using VC++ 2005 Express Beta? Thank you.
> >
> > Victor.
>
>
>

Re: Writing Installers by Malcolm

Malcolm
Sat May 14 14:38:36 CDT 2005

sorry it has taken so long. For your unzip functionality check out zlib. I
have a MFC wrapper should you need it. To execute an exe check out
CreateProcess. I actually posted my runProgram function on this group last
week.

If you need more please ask.

"victorsk" <victorsk@discussions.microsoft.com> wrote in message
news:F3B3E493-86F1-4CF4-81DE-47A8F9D3F71A@microsoft.com...
> HI,
>
> Thank you very much for your reply. If you don't mind, could you please
> provide a bit more information on the algorithm of your application?
Thank
> you very much.
>
> Cheers,
> Victor.
>
> "Malcolm Clarke" wrote:
>
> > I have done something similar. Basically I zipped the files. Then I
wrote a
> > little C++ app that copied the zip to the users temp folder, unzipped it
> > then executed it. Worked like a charm.
> >
> > If that sounds similar to what you want to do let em know and I will
give
> > you more details
> >
> > Good Luck
> >
> >
> > "victorsk" <victorsk@discussions.microsoft.com> wrote in message
> > news:8B051E8F-6360-4EA4-85B2-32C5E56C340C@microsoft.com...
> > > Hello
> > >
> > > I need to write an installer that would 'unpack' and install a file in
a
> > > pre-defined directory and an executable file that itself is an
installer
> > and
> > > that file would start installation also. Here is what I mean:
> > >
> > > FileX.exe contains FileY.exe and FileZ.some_extentsion
> > > User runs FileX.exe and FileY.exe starts installation and after it's
done
> > > FileZ.some_extension gets copied in some othe dierectory. Can this be
> > done
> > > using VC++ 2005 Express Beta? Thank you.
> > >
> > > Victor.
> >
> >
> >



Re: Writing Installers by victorsk

victorsk
Sat May 14 14:59:12 CDT 2005

Hi,

Thanks for the reply. No prob, I figured that one out. But, what I am
struggling with now is trying to figure out a way to export VB functions. If
you have any advice, please let me know.

Victor.

"Malcolm Clarke" wrote:

> sorry it has taken so long. For your unzip functionality check out zlib. I
> have a MFC wrapper should you need it. To execute an exe check out
> CreateProcess. I actually posted my runProgram function on this group last
> week.
>
> If you need more please ask.
>
> "victorsk" <victorsk@discussions.microsoft.com> wrote in message
> news:F3B3E493-86F1-4CF4-81DE-47A8F9D3F71A@microsoft.com...
> > HI,
> >
> > Thank you very much for your reply. If you don't mind, could you please
> > provide a bit more information on the algorithm of your application?
> Thank
> > you very much.
> >
> > Cheers,
> > Victor.
> >
> > "Malcolm Clarke" wrote:
> >
> > > I have done something similar. Basically I zipped the files. Then I
> wrote a
> > > little C++ app that copied the zip to the users temp folder, unzipped it
> > > then executed it. Worked like a charm.
> > >
> > > If that sounds similar to what you want to do let em know and I will
> give
> > > you more details
> > >
> > > Good Luck
> > >
> > >
> > > "victorsk" <victorsk@discussions.microsoft.com> wrote in message
> > > news:8B051E8F-6360-4EA4-85B2-32C5E56C340C@microsoft.com...
> > > > Hello
> > > >
> > > > I need to write an installer that would 'unpack' and install a file in
> a
> > > > pre-defined directory and an executable file that itself is an
> installer
> > > and
> > > > that file would start installation also. Here is what I mean:
> > > >
> > > > FileX.exe contains FileY.exe and FileZ.some_extentsion
> > > > User runs FileX.exe and FileY.exe starts installation and after it's
> done
> > > > FileZ.some_extension gets copied in some othe dierectory. Can this be
> > > done
> > > > using VC++ 2005 Express Beta? Thank you.
> > > >
> > > > Victor.
> > >
> > >
> > >
>
>
>

Re: Writing Installers by Malcolm

Malcolm
Sat May 14 15:06:04 CDT 2005

what do you mean by "export VB functions"


"victorsk" <victorsk@discussions.microsoft.com> wrote in message
news:CBFDE1D7-5B01-4C4A-BFBE-FA12928AC375@microsoft.com...
> Hi,
>
> Thanks for the reply. No prob, I figured that one out. But, what I am
> struggling with now is trying to figure out a way to export VB functions.
If
> you have any advice, please let me know.
>
> Victor.
>
> "Malcolm Clarke" wrote:
>
> > sorry it has taken so long. For your unzip functionality check out zlib.
I
> > have a MFC wrapper should you need it. To execute an exe check out
> > CreateProcess. I actually posted my runProgram function on this group
last
> > week.
> >
> > If you need more please ask.
> >
> > "victorsk" <victorsk@discussions.microsoft.com> wrote in message
> > news:F3B3E493-86F1-4CF4-81DE-47A8F9D3F71A@microsoft.com...
> > > HI,
> > >
> > > Thank you very much for your reply. If you don't mind, could you
please
> > > provide a bit more information on the algorithm of your application?
> > Thank
> > > you very much.
> > >
> > > Cheers,
> > > Victor.
> > >
> > > "Malcolm Clarke" wrote:
> > >
> > > > I have done something similar. Basically I zipped the files. Then I
> > wrote a
> > > > little C++ app that copied the zip to the users temp folder,
unzipped it
> > > > then executed it. Worked like a charm.
> > > >
> > > > If that sounds similar to what you want to do let em know and I will
> > give
> > > > you more details
> > > >
> > > > Good Luck
> > > >
> > > >
> > > > "victorsk" <victorsk@discussions.microsoft.com> wrote in message
> > > > news:8B051E8F-6360-4EA4-85B2-32C5E56C340C@microsoft.com...
> > > > > Hello
> > > > >
> > > > > I need to write an installer that would 'unpack' and install a
file in
> > a
> > > > > pre-defined directory and an executable file that itself is an
> > installer
> > > > and
> > > > > that file would start installation also. Here is what I mean:
> > > > >
> > > > > FileX.exe contains FileY.exe and FileZ.some_extentsion
> > > > > User runs FileX.exe and FileY.exe starts installation and after
it's
> > done
> > > > > FileZ.some_extension gets copied in some othe dierectory. Can
this be
> > > > done
> > > > > using VC++ 2005 Express Beta? Thank you.
> > > > >
> > > > > Victor.
> > > >
> > > >
> > > >
> >
> >
> >



Re: Writing Installers by victorsk

victorsk
Sat May 14 15:22:10 CDT 2005

Hi,

That's okay. I'll post a question in VB section.

"Malcolm Clarke" wrote:

> what do you mean by "export VB functions"
>
>
> "victorsk" <victorsk@discussions.microsoft.com> wrote in message
> news:CBFDE1D7-5B01-4C4A-BFBE-FA12928AC375@microsoft.com...
> > Hi,
> >
> > Thanks for the reply. No prob, I figured that one out. But, what I am
> > struggling with now is trying to figure out a way to export VB functions.
> If
> > you have any advice, please let me know.
> >
> > Victor.
> >
> > "Malcolm Clarke" wrote:
> >
> > > sorry it has taken so long. For your unzip functionality check out zlib.
> I
> > > have a MFC wrapper should you need it. To execute an exe check out
> > > CreateProcess. I actually posted my runProgram function on this group
> last
> > > week.
> > >
> > > If you need more please ask.
> > >
> > > "victorsk" <victorsk@discussions.microsoft.com> wrote in message
> > > news:F3B3E493-86F1-4CF4-81DE-47A8F9D3F71A@microsoft.com...
> > > > HI,
> > > >
> > > > Thank you very much for your reply. If you don't mind, could you
> please
> > > > provide a bit more information on the algorithm of your application?
> > > Thank
> > > > you very much.
> > > >
> > > > Cheers,
> > > > Victor.
> > > >
> > > > "Malcolm Clarke" wrote:
> > > >
> > > > > I have done something similar. Basically I zipped the files. Then I
> > > wrote a
> > > > > little C++ app that copied the zip to the users temp folder,
> unzipped it
> > > > > then executed it. Worked like a charm.
> > > > >
> > > > > If that sounds similar to what you want to do let em know and I will
> > > give
> > > > > you more details
> > > > >
> > > > > Good Luck
> > > > >
> > > > >
> > > > > "victorsk" <victorsk@discussions.microsoft.com> wrote in message
> > > > > news:8B051E8F-6360-4EA4-85B2-32C5E56C340C@microsoft.com...
> > > > > > Hello
> > > > > >
> > > > > > I need to write an installer that would 'unpack' and install a
> file in
> > > a
> > > > > > pre-defined directory and an executable file that itself is an
> > > installer
> > > > > and
> > > > > > that file would start installation also. Here is what I mean:
> > > > > >
> > > > > > FileX.exe contains FileY.exe and FileZ.some_extentsion
> > > > > > User runs FileX.exe and FileY.exe starts installation and after
> it's
> > > done
> > > > > > FileZ.some_extension gets copied in some othe dierectory. Can
> this be
> > > > > done
> > > > > > using VC++ 2005 Express Beta? Thank you.
> > > > > >
> > > > > > Victor.
> > > > >
> > > > >
> > > > >
> > >
> > >
> > >
>
>
>