Home All Groups Group Topic Archive Search About

Deployment Project CAB

Author
25 Jan 2006 12:17 AM
Yama
Hi,

I have created a cab file and included several dependency DLL to an ActiveX
control I developed in C++ 7.1. Along withe dependencies I also included the
mfc71.dll, mfcu71.dll, and msvcr71.dll since we do not register them. I
created a setup.inf file and included it in the cab.

I created the cab using C:\Program Files\Microsoft Visual Studio .NET
2003\Common7\Tools\Bin\CABARC.EXE

Then signed code using C:\Program Files\Microsoft Visual Studio .NET
2003\Common7\Tools\Bin\SignCode.Exe

All of that by creating a batch file.

I deployed it and the control worked perfectly.

Today I would like to do the same think using VS.NET 2003. So I created a
"Setup and Deployment Projects" -> "Cab Project" then included all the
dependencies as well as the setup.inf. When I compiled it it created an
intermediate file of type *.osd (Open Software Description)... Now when I
tested the cab it did not work!!!

In the deployment project is there a way for me to control what goes into
the .osd? Is there a way for me to turn it off (when compiled to a CAB not
include this file)? You see the conpiler includes this automatically and
there must be a way to tell it I do not want you to include it which I
haven't figured out.

Can someone help me?

Thanks,

Yama Kamyar

Author
25 Jan 2006 2:27 AM
Lau Lei Cheong
First, don't repost your question on 1 hour interval... It is quite
annoying.

Second, any error message appear in your "output" panel when compiling your
setup project that is relevent?

Show quote
"Yama" <Y***@discussions.microsoft.com> ¼¶¼g©ó¶l¥ó·s»D:788E1988-F637-4E83-83C6-D304049E5***@microsoft.com...
> Hi,
>
> I have created a cab file and included several dependency DLL to an
> ActiveX
> control I developed in C++ 7.1. Along withe dependencies I also included
> the
> mfc71.dll, mfcu71.dll, and msvcr71.dll since we do not register them. I
> created a setup.inf file and included it in the cab.
>
> I created the cab using C:\Program Files\Microsoft Visual Studio .NET
> 2003\Common7\Tools\Bin\CABARC.EXE
>
> Then signed code using C:\Program Files\Microsoft Visual Studio .NET
> 2003\Common7\Tools\Bin\SignCode.Exe
>
> All of that by creating a batch file.
>
> I deployed it and the control worked perfectly.
>
> Today I would like to do the same think using VS.NET 2003. So I created a
> "Setup and Deployment Projects" -> "Cab Project" then included all the
> dependencies as well as the setup.inf. When I compiled it it created an
> intermediate file of type *.osd (Open Software Description)... Now when I
> tested the cab it did not work!!!
>
> In the deployment project is there a way for me to control what goes into
> the .osd? Is there a way for me to turn it off (when compiled to a CAB not
> include this file)? You see the conpiler includes this automatically and
> there must be a way to tell it I do not want you to include it which I
> haven't figured out.
>
> Can someone help me?
>
> Thanks,
>
> Yama Kamyar
Author
25 Jan 2006 6:08 PM
Yama
Hi Lau,

I do not think you understood the entire question. It is quite annoying
getting a reply from an unexperienced ActiveX/CAB and deployment Visual
Studio .NET developer try to comment me. In the future please answer
questions to your subject of expertise. It is NONE of your business how
questions I post here even in the occasion where the questions may be
repeated but phrased differently.

Yama Kamyar

Show quote
"Lau Lei Cheong" wrote:

> First, don't repost your question on 1 hour interval... It is quite
> annoying.
>
> Second, any error message appear in your "output" panel when compiling your
> setup project that is relevent?
>
> "Yama" <Y***@discussions.microsoft.com> ¼¶¼g©ó¶l¥ó·s»D:788E1988-F637-4E83-83C6-D304049E5***@microsoft.com...
> > Hi,
> >
> > I have created a cab file and included several dependency DLL to an
> > ActiveX
> > control I developed in C++ 7.1. Along withe dependencies I also included
> > the
> > mfc71.dll, mfcu71.dll, and msvcr71.dll since we do not register them. I
> > created a setup.inf file and included it in the cab.
> >
> > I created the cab using C:\Program Files\Microsoft Visual Studio .NET
> > 2003\Common7\Tools\Bin\CABARC.EXE
> >
> > Then signed code using C:\Program Files\Microsoft Visual Studio .NET
> > 2003\Common7\Tools\Bin\SignCode.Exe
> >
> > All of that by creating a batch file.
> >
> > I deployed it and the control worked perfectly.
> >
> > Today I would like to do the same think using VS.NET 2003. So I created a
> > "Setup and Deployment Projects" -> "Cab Project" then included all the
> > dependencies as well as the setup.inf. When I compiled it it created an
> > intermediate file of type *.osd (Open Software Description)... Now when I
> > tested the cab it did not work!!!
> >
> > In the deployment project is there a way for me to control what goes into
> > the .osd? Is there a way for me to turn it off (when compiled to a CAB not
> > include this file)? You see the conpiler includes this automatically and
> > there must be a way to tell it I do not want you to include it which I
> > haven't figured out.
> >
> > Can someone help me?
> >
> > Thanks,
> >
> > Yama Kamyar
>
>
>

AddThis Social Bookmark Button