Link to home
Start Free TrialLog in
Avatar of bp138
bp138

asked on

Package and Deploy Wizard dll version control problems

Is it possible to easily prevent the VB6 OLE and Automation files from overwriting the files if they already exist on the machine? I know it only writes with newer versions of the files. But I am having problems with newer version of these files preventing other 'critical' programs from working correctly on users machines.
 
Specifically the oleaut32.dll, but in the past I have had problems with comcat.dll.

I think at this point I'd rather have it not install these files and risk my program not running than to have the complaints.

Avatar of Éric Moreau
Éric Moreau
Flag of Canada image

remove the lines of these DLLs from setup.lst
Avatar of bp138
bp138

ASKER

No, I want it to install these but only when they don't exist on the installed machine.
these 2 files will exist because they are installed with all Windows installation.
ASKER CERTIFIED SOLUTION
Avatar of trkcorp
trkcorp

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
PS: In my particular instance, COMCAT.DLL version 4.71 is in my redist folder, version 5.0 is in my system folder.  OLEAUT32.dll ver 2.40.4275 in redist, ver 2.40.4518 is in system.
My installs generate [Bootstrap Files] section in setup.lst referencing the older redist versions every time!
Avatar of bp138

ASKER

Thanks, I was a pulling in an oleaut32.dll v3.5
Voila!