Board index » delphi » IS Pro - installing comctl32.dll

IS Pro - installing comctl32.dll

Hi all,

OK, I did something dumb. I've used the TDateTimePicker component in my
app (this, I hope, isn't the dumb part). Realising that the control
needs comctl32.dll version 4.70 or higher, I've included this in my
install routine.

Here's the dumb part - I built my install routine under WinNT 4, and
when I installed on a Win95 machine, it trashed the Windows installation
by installing the NT version of comctl32.dll. Oops.

So, how do I get InstallShield to "conditionally install" a DLL based on
the Windows version of the taret platform? Is it possible?

TIA
--
Jeremy Collins

 

Re:IS Pro - installing comctl32.dll


Quote
Jeremy Collins wrote in message ...
>Hi all,

>OK, I did something dumb. I've used the TDateTimePicker component in my
>app (this, I hope, isn't the dumb part). Realising that the control
>needs comctl32.dll version 4.70 or higher, I've included this in my
>install routine.

First off you probably do not have the "rights" to redistribute
comctl32.dll. If you would like to find out how to distribute the file,
visit http://www.microsoft.com/permission/copyrgt/cop-soft.htm#Freq .

        -- Kirk

Re:IS Pro - installing comctl32.dll


Quote
>>OK, I did something dumb. I've used the TDateTimePicker component in my
>>app (this, I hope, isn't the dumb part). Realising that the control
>>needs comctl32.dll version 4.70 or higher, I've included this in my
>>install routine.

>First off you probably do not have the "rights" to redistribute
>comctl32.dll. If you would like to find out how to distribute the file,
>visit http://www.microsoft.com/permission/copyrgt/cop-soft.htm#Freq .

>        -- Kirk

Arrgh!

The relevant paragraph is:

"COMCTL32.DLL - Microsoft does not allow the separate redistribution of
COMCTL32.DLL at this time, and you will not be provided with written
permission. However, the following alternatives are available to you and
we hope at least one of them will meet your business needs: "

The "following alternatives" are:

"You may have redistribution rights for the Internet Explorer v. 4.0
COMCTL32.DLL as a component of and under the terms of Microsoft Internet
Explorer."

and

"You may wish to provide instructions to your customers to visit
ftp://ftp.microsoft.com/softlib/mslfiles/ and choose COM32UPD.EXE."

You were right - but this makes me furious!

Why did Borland include the {*word*76}y thing in the first place? In fact,
how did Borland get redistribution rights for a file that "Microsoft
does not allow the separate redistribution of"? Is this why MSIE 3 is on
the D3 CD? Do the same rules apply to me?

Sod 'em - I'm going to include comctl32.dll in my distribution and
Microsoft can come and do whatever they please to me.

Any comments welcome...
--
Jeremy Collins

Re:IS Pro - installing comctl32.dll


Quote
Jeremy Collins (j...@jcollins.demon.co.uk) wrote:

: Hi all,
:
: OK, I did something dumb. I've used the TDateTimePicker component in my
: app (this, I hope, isn't the dumb part). Realising that the control
: needs comctl32.dll version 4.70 or higher, I've included this in my
: install routine.
:
: Here's the dumb part - I built my install routine under WinNT 4, and
: when I installed on a Win95 machine, it trashed the Windows installation
: by installing the NT version of comctl32.dll. Oops.
:
: So, how do I get InstallShield to "conditionally install" a DLL based on
: the Windows version of the taret platform? Is it possible?

Don't know about IS - but this is how you do it with Chief's Installer Pro;

#IFDEF WIN95
 blah, blah,
#ENDIF WIN95

Best regards, The Chief
--------
Dr. A{*word*73}la A. Olowofoyeku (The African Chief)
Email: la...@keele.ac.uk
Author of: Chief's Installer Pro 4.11 for Win16 and Win32:
  Winner of PC PLUS Magazine Gold Award (April 1995 U.K. edition)
  http://ourworld.compuserve.com/homepages/African_Chief/
  http://www.simtel.net/pub/simtelnet/win3/install/chief411.zip

Re:IS Pro - installing comctl32.dll


Quote
Jeremy Collins (j...@jcollins.demon.co.uk) wrote:

: Why did Borland include the {*word*76}y thing in the first place? In fact,
: how did Borland get redistribution rights for a file that "Microsoft
: does not allow the separate redistribution of"? Is this why MSIE 3 is on
: the D3 CD? Do the same rules apply to me?
:
: Sod 'em - I'm going to include comctl32.dll in my distribution and
: Microsoft can come and do whatever they please to me.
:
: Any comments welcome...
[....]

If MS says you shouldn't do it, then you shouldn't.

Best regards, The Chief
--------
Dr. A{*word*73}la A. Olowofoyeku (The African Chief)
Email: la...@keele.ac.uk
Author of: Chief's Installer Pro 4.11 for Win16 and Win32:
  Winner of PC PLUS Magazine Gold Award (April 1995 U.K. edition)
  http://ourworld.compuserve.com/homepages/African_Chief/
  http://www.simtel.net/pub/simtelnet/win3/install/chief411.zip

Re:IS Pro - installing comctl32.dll


Ok, can somebody fill me in please?  I'm only perhaps weeks away from
releasing a product that has (at least had up to this point) the
TDateTimePicker component... as Jeremy was describing, I'll have to include
the comctl32.dll with the install files... is it illegal for me to do this?
The NT - Win95 problem worries a bit as well... help me out folks :-(  I
really did not want to get in programming a calendar component...

Thanks in advance,
  Bryce

Quote
>: Why did Borland include the {*word*76}y thing in the first place? In fact,
>: how did Borland get redistribution rights for a file that "Microsoft
>: does not allow the separate redistribution of"? Is this why MSIE 3 is on
>: the D3 CD? Do the same rules apply to me?
>: Sod 'em - I'm going to include comctl32.dll in my distribution and
>: Microsoft can come and do whatever they please to me.
>: Any comments welcome...
>[....]

[snip]

---------------------------------------------------
   Bristen Bourque (aka Bryce)
   Programmer/Analyst
   ROMulin Group Inc.
   http://www.romulin.com
   mailto://romulin@nbnet.$nb.ca (subject line = Bryce)
   http://eve.info.umoncton.ca:8080/~bryce
note: remove all dollar signs in email address to reply

Re:IS Pro - installing comctl32.dll


In article <6akqi5$7g...@agate.nbnet.nb.ca>, "Bryce (Bristen Bourque)"
<br...@eve.info$$$.umoncton.ca> writes

Quote
>Ok, can somebody fill me in please?  I'm only perhaps weeks away from
>releasing a product that has (at least had up to this point) the
>TDateTimePicker component... as Jeremy was describing, I'll have to include
>the comctl32.dll with the install files... is it illegal for me to do this?
>The NT - Win95 problem worries a bit as well... help me out folks :-(  I
>really did not want to get in programming a calendar component...

Yes, it's me again, and I haven't found any absolute solution to
the InstallShield problem. These is an InstallShield scripting function
called _GetOS, but I haven't had time to look into it. The full URL
for more information is:

http://support.installshield.com/kb/kb.asp?LEFT=root.inc&MAIN=../kb/q101
296.asp&DOCUMENT_LIST=&PRODUCT=&TOPIC=

As for the comctl32 problem, Microsoft forbids developers
from redistributing it. You can only do so if you are distributing
MSIE. I have made my position clear on the subject, but if you want
to stay on the right side of MS, there a few "date picker" components
around - there is one on the DSP called TCustDate, written by Serdar
Akyildiz (akyil...@maile{*word*277}.com), which look quite similar to the
TDateTimePicker. The filename of the archive is "sa.zip".

--
Jeremy Collins

Re:IS Pro - installing comctl32.dll


Hi there,

Quote
>As for the comctl32 problem, Microsoft forbids developers
>from redistributing it. You can only do so if you are distributing
>MSIE.

---
This is no longer the case. There is now a redistributable file available on the
MS site at:
http://www.microsoft.com/msdn/downloads/files/40Comupd.htm

Regards,
Theodor.

Re:IS Pro - installing comctl32.dll


In article <6all58$6t...@news01.iafrica.com>, Theodor Kleynhans
<theod...@iafrica.com> writes

Quote
>Hi there,

>>As for the comctl32 problem, Microsoft forbids developers
>>from redistributing it. You can only do so if you are distributing
>>MSIE.
>---
>This is no longer the case. There is now a redistributable file available on the
>MS site at:
>http://www.microsoft.com/msdn/downloads/files/40Comupd.htm

Well spotted. For those following the thread, the page says:

"The comctl32.dll has been updated to provide improved stability on the
Windows 95 and Windows NT platforms. Developers are free to ship the
entire self-extracting archive with their software and may call it
directly from their setup. They may not ship the comctl32.dll separate
from the self-extracting archive (40comupd.exe). For more details, read
the End User License Agreement. "

So, it's a kind of compromise - I have to make my installation run
40comupd.exe after it completes, but I'm still not allowed to
include comctl32.dll in my setup routine.

As for the "improved stability" - I couldn't possibly comment at
this time <g>

--
Jeremy Collins

Re:IS Pro - installing comctl32.dll


On Tue, 27 Jan 1998 20:08:58 +0000, Jeremy Collins

Quote
<j...@jcollins.demon.co.uk> wrote:
>As for the comctl32 problem, Microsoft forbids developers
>from redistributing it. You can only do so if you are distributing
>MSIE. I have made my position clear on the subject, but if you want

You can now distribute comctl32 in a package which contains both Win95
and NT versions of it. It's called 40COMUPD.EXE and you find it in:
http://www.microsoft.com/msdn/downloads/files/40Comupd.htm

Other Threads