Roland
Posts: 1
Joined: Tue Apr 12, 2005 11:36 pm

How to execute MDAC.EXE only for 9x Systems

Hello,

i evaluate AI at the moment.

1.) How can i (i.e.) execute MDAC.EXE or so, only if the OS is 9x ?
2.) The Help says it is better not to use the SelfRegister function for DLL´s. But how or where can i find information what else i have to do, to register the DLL?

Thx in advance, Roland
UdreaMihai
Posts: 90
Joined: Wed Mar 23, 2005 8:13 am

Hi Roland,

To run a program only on Win9X use the condition "Version9X". But you can also use MDAC.EXE to run as a prerequisite by going to "Media" - "Prerequisites" -> and pressing the "New..." button. Select your MDAC.EXE file and then set the "Target OS" drop-down list box to: "Windows 95/98/ME".

As for the second thing you may:

- find information about how to register your .dll from the producer of the .dll .

or

- use a tool that can monitor all the registry access (maybe from SysInternals), then self-register that .dll and see what keys had been created. You then import those keys in Advanced Installer, and you will have to modify any key/value that is machine-dependent using MSI properties.

Regards,
Mihai
Udrea Mihai
Advanced Installer Team
http://www.advancedinstaller.com

Return to “Common Problems”