Randem Systems Support Board

Inno Setup => Inno Setup - General Questions => Topic started by: jcbaena on February 21, 2008, 10:34:10 AM

Title: Msadox.dll not registered by VB_DCOM_MDAC_JET_AutoSetup.exe
Post by: jcbaena on February 21, 2008, 10:34:10 AM
Hello:
  In my program vb6 i have this code.
Dim Cat As Object
Dim Tbl As Object
Dim Col As Object
Set Cat = CreateObject(ADOX.Catalog)
Set Tbl = CreateObject(ADOX.Table)
Set Col = CreateObject(ADOX.Column)
 
This fails. It seems VB_DCOM_MDAC_JET_AutoSetup.exe does not register msadox.dll.
In the client (with admin) I execute regsvr32 c:....systemadomsadox.dll.
Then...my program works.
 
The inno setup is executed with admin privielegies...  
 
What i have to do to make the msadox.dll registered?  
Does VB_DCOM_MDAC_JET_AutoSetup.exe register this dlls?
 
Please, i have to distributed my program in many languajes.
Title: Msadox.dll not registered by VB_DCOM_MDAC_JET_AutoSetup.exe
Post by: Randem on February 21, 2008, 02:02:16 PM
I imagine that you are using Access? If so what Version of Access are you running?
 
BTW: What does your script look like?
 
(Message edited by randem on February 21, 2008)
Title: Msadox.dll not registered by VB_DCOM_MDAC_JET_AutoSetup.exe
Post by: jcbaena on February 21, 2008, 09:10:38 PM
The clients doesnt have access installed. In my developer machine i have access 2000 with wxp sp2
Title: Msadox.dll not registered by VB_DCOM_MDAC_JET_AutoSetup.exe
Post by: Randem on February 22, 2008, 06:30:11 AM
How are you sure the Automatic Updater has run. Show your script.
Title: Msadox.dll not registered by VB_DCOM_MDAC_JET_AutoSetup.exe
Post by: jcbaena on February 22, 2008, 07:57:49 AM
Here you have an extract, Thanks on advance:
[Setup]
PrivilegesRequired=admin
AppName=XXX
AppVerName=XXX
AppPublisher=XXX.com
DefaultDirName={commondocs}\XX\XX
DisableDirPage=yes
DefaultGroupName=XX\XX
DisableProgramGroupPage=yes
OutputBaseFilename=setup
Compression=lzma
SolidCompression=yes
[Languages]
;Name: english; MessagesFile: compiler:Default.isl
Name: spanishstd; MessagesFile: compiler:Languages\Spanish.isl; LicenseFile: C:\Licencia-Esp.rtf
Name: French; MessagesFile: compiler:Languages\French.isl; LicenseFile: C:\Licencia-Frances.rtf
 
 
[Files]
;scrrun Windows 2000 y xp
Source: ..\XX\..\xxx\ficheros\WindowsXP-Windows2000-Script56-KB917344-x86-esn.exe; DestDir: {tmp}; MinVersion: 0,5.0; OnlyBelowVersion: 0,5.02
;windows 98, millenium y NT
Source: ..\xx\ficheros\scr56en.exe; DestDir: {tmp}; MinVersion: 4.1,4.0; OnlyBelowVersion: 0,4.01
 
;Instalacion del comctl32 de microsoft.
Source: ..\xx\ficheros\50comupd.exe; DestDir: {tmp}
Source: ..\xx\ficheros\VB_DCOM_MDAC_JET_AutoSetup.exe; DestDir: {tmp}; Flags: ignoreversion deleteafterinstall
 
 
[Registry]
Root: HKCU; Subkey: SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce; ValueType: string; ValueName: MDAC_Setup; ValueData: {%TEMP}\mdac_typ27.exe /Q:A /C:dasetup /Q:D /N; MinVersion: 4.0,0; OnlyBelowVersion: 4.1,0
Root: HKCU; Subkey: software\xxx; Flags: deletekey
Root: HKCU; Subkey: Software\xxx\xxx; Flags: uninsdeletekey dontcreatekey
 
[INI]
Filename: {app}\xxx.url; Section: InternetShortcut; Key: URL; String: http://www.xxx.com (http://www.xxx.com)
 
[Icons]
 
[Run]
Filename: {tmp}\VB_DCOM_MDAC_JET_AutoSetup.exe; Parameters: /NORESTART /VERYSILENT WorkingDir: {tmp}; Flags: skipifdoesntexist
Filename: {tmp}\50comupd.exe; Parameters: /r:n /q:1; Check: ShouldInstallComCtlUpdate
Filename: {tmp}\WindowsXP-Windows2000-Script56-KB917344-x86-esn.exe; Parameters: /r:n /q:1; MinVersion: 0,5.0; OnlyBelowVersion: 0,5.02
Filename: {tmp}\scr56en.exe; Parameters: /r:n /q:1; MinVersion: 4.1,4.0; OnlyBelowVersion: 0,4.01
 
[UninstallDelete]
Type: files; Name: {app}\xxx.url
 
[Code]
function ShouldInstallComCtlUpdate: Boolean;
var
  MS, LS: Cardinal;
begin
  // Only install if the existing comctl32.dll is
Title: Msadox.dll not registered by VB_DCOM_MDAC_JET_AutoSetup.exe
Post by: Randem on February 22, 2008, 10:58:04 AM
An extract doesn't help. How did you make this script? I need to see the whole script. The problem with an extract is you don't have any idea of why it doesn't work yet you decide what to remove... How can you know what to remove if you don't know why it isn't working?
Title: Msadox.dll not registered by VB_DCOM_MDAC_JET_AutoSetup.exe
Post by: jcbaena on February 23, 2008, 05:59:56 AM
Here you have the complete script.
 
[Setup]
PrivilegesRequired=admin
AppName=Tasadaix
AppVerName=Tasadaix 2.0
AppPublisher=adaix.com
AppPublisherURL=http://www.adaix.com (http://www.adaix.com)
AppSupportURL=http://www.adaix.com (http://www.adaix.com)
AppUpdatesURL=http://www.adaix.com (http://www.adaix.com)
DefaultDirName={commondocs}\Adaix.com\Tasadaix
DisableDirPage=yes
DefaultGroupName=Adaix\Tasadaix
DisableProgramGroupPage=yes
;LicenseFile=C:\Varios\Desarrollos\AlainBrand\Inmobiliaria\Licencia\Licencia.rtf
OutputBaseFilename=setup
SetupIconFile=C:\Varios\Desarrollos\AlainBrand\TasAdaix\Bmp\tasadaix.ico
Compression=lzma
SolidCompression=yes
WizardImageFile=C:\Varios\Desarrollos\InstalacionesInnoSetup\Inmoadaix\bmp\adaix.bmp
WizardSmallImageFile=C:\Varios\Desarrollos\InstalacionesInnoSetup\Inmoadaix\bmp\miniadaix.bmp
[Languages]
;Name: english; MessagesFile: compiler:Default.isl
Name: spanishstd; MessagesFile: compiler:Languages\Spanish.isl; LicenseFile: C:\Varios\Desarrollos\AlainBrand\Inmobiliaria\Licencia\Licencia-Esp.rtf
Name: French; MessagesFile: compiler:Languages\French.isl; LicenseFile: C:\Varios\Desarrollos\AlainBrand\Inmobiliaria\Licencia\Licencia-Frances.rtf
 
[Tasks]
;Name: desktopicon; Description: {cm:CreateDesktopIcon}; GroupDescription: {cm:AdditionalIcons}; Flags: unchecked
;Name: quicklaunchicon; Description: {cm:CreateQuickLaunchIcon}; GroupDescription: {cm:AdditionalIcons}; Flags: unchecked
;Name: DCOM98; Description: DCOM 1.3 for Windows 98; Flags: checkedonce; MinVersion: 4.1,0; OnlyBelowVersion: 4.9,0
;Name: MDAC; Description: Microsoft Data Access Components; Flags: checkedonce restart; MinVersion: 4.0,4.0; OnlyBelowVersion: 0,5.0
 
[Files]
;scrrun Windows 2000 y xp
Source: ..\inmoadaix\..\inmoadaix\ficheros\WindowsXP-Windows2000-Script56-KB917344-x86-esn.exe; DestDir: {tmp}; MinVersion: 0,5.0; OnlyBelowVersion: 0,5.02
;windows 98, millenium y NT
Source: ..\inmoadaix\ficheros\scr56en.exe; DestDir: {tmp}; MinVersion: 4.1,4.0; OnlyBelowVersion: 0,4.01
 
;Instalacion del comctl32 de microsoft.
Source: ..\inmoadaix\ficheros\50comupd.exe; DestDir: {tmp}
Source: ..\inmoadaix\ficheros\VB_DCOM_MDAC_JET_AutoSetup.exe; DestDir: {tmp}; Flags: ignoreversion deleteafterinstall
Source: ..\..\AlainBrand\TasAdaix\tasadaix.exe; DestDir: {commondocs}\Adaix.com\TasAdaix; Flags: ignoreversion
Source: C:\Varios\Desarrollos\AlainBrand\AdaixCalendar\AdaixCalendar.exe; DestDir: {commondocs}\Adaix.com\TasAdaix; Flags: ignoreversion
Source: C:\Varios\Desarrollos\AlainBrand\Comun\adaixupdate.exe; DestDir: {commondocs}\Adaix.com\TasAdaix; Flags: ignoreversion
Source: ..\..\AlainBrand\TasAdaix\bdVacia\Tasadaix.mdb; DestDir: {commondocs}\Adaix.com\TasAdaix\Data; Flags: ignoreversion
Source: ..\..\AlainBrand\TasAdaix\724.doc; DestDir: {commondocs}\Adaix.com\TasAdaix; Flags: ignoreversion
Source: ..\..\AlainBrand\TasAdaix\25.doc; DestDir: {commondocs}\Adaix.com\TasAdaix; Flags: ignoreversion; Languages: French
Source: C:\Varios\Desarrollos\AlainBrand\Inmobiliaria\Replicador\InmoSync.exe; DestDir: {commondocs}\Adaix.com\TasAdaix; Flags: ignoreversion
; START DCOM
;Source: DCOM\dcom95.EXE; DestDir: {tmp}; CopyMode: alwaysoverwrite; MinVersion: 4.0,0; OnlyBelowVersion: 4.1,0; Tasks: DCOM95
;Source: DCOM\dcom98.exe; DestDir: {tmp}; MinVersion: 4.1,0; OnlyBelowVersion: 4.9,0; Tasks: DCOM98; Flags: ignoreversion
;Source: DCOM\dcom98.exe; DestDir: {tmp}; MinVersion: 4.1,0; OnlyBelowVersion: 4.9,0; Flags: ignoreversion
;Source: Redist\DCOM\dcm95cfg.exe; DestDir: {tmp}; CopyMode: alwaysoverwrite; MinVersion: 4.0,0; OnlyBelowVersion: 4.9,0; Tasks: DCOM95 DCOM98
; END DCOM
; START MDAC
;Source: MDAC\mdac_typ27.exe; DestDir: {tmp}; MinVersion: 4.0,0; OnlyBelowVersion: 4.1,0; Tasks: MDAC; Flags: ignoreversion
;Source: MDAC\mdac_typ27.exe; DestDir: {tmp}; MinVersion: 4.0,0; OnlyBelowVersion: 4.1,0; Flags: ignoreversion
; END MDAC
;Source: ..\inmoadaix\ficheros\VB6ES.DLL; DestDir: {sys}; Flags: promptifolder sharedfile
;Source: ..\inmoadaix\ficheros\COMCAT.DLL; DestDir: {sys}; Flags: restartreplace uninsneveruninstall sharedfile regserver
;Source: ..\inmoadaix\ficheros\STDOLE2.TLB; DestDir: {sys}; Flags: restartreplace uninsneveruninstall sharedfile regtypelib
;Source: ..\inmoadaix\ficheros\ASYCFILT.DLL; DestDir: {sys}; Flags: restartreplace uninsneveruninstall sharedfile
;Source: ..\inmoadaix\ficheros\OLEPRO32.DLL; DestDir: {sys}; Flags: restartreplace uninsneveruninstall sharedfile regserver
;Source: ..\inmoadaix\ficheros\OLEAUT32.DLL; DestDir: {sys}; Flags: restartreplace uninsneveruninstall sharedfile regserver
;Source: ..\inmoadaix\ficheros\msvbvm60.dll; DestDir: {sys}; Flags: restartreplace uninsneveruninstall sharedfile regserver
Source: ..\inmoadaix\ficheros\Codejock.Calendar.v10.4.0.ocx; DestDir: {sys}; Flags: restartreplace sharedfile regserver uninsneveruninstall
Source: ..\inmoadaix\ficheros\DXDBGrid.dll; DestDir: {sys}; Flags: promptifolder regserver sharedfile uninsneveruninstall
Source: ..\inmoadaix\ficheros\dXCtrls.dll; DestDir: {sys}; Flags: promptifolder regserver sharedfile uninsneveruninstall
Source: ..\inmoadaix\ficheros\FraPlus1.ocx; DestDir: {sys}; Flags: restartreplace sharedfile regserver uninsneveruninstall
Source: ..\inmoadaix\ficheros\BtnPlus1.ocx; DestDir: {sys}; Flags: restartreplace sharedfile regserver uninsneveruninstall
Source: ..\inmoadaix\ficheros\COMDLG32.OCX; DestDir: {sys}; Flags: restartreplace sharedfile regserver uninsneveruninstall
Source: ..\inmoadaix\ficheros\DartWeb.dll; DestDir: {sys}; Flags: regserver sharedfile uninsneveruninstall promptifolder
Source: ..\inmoadaix\ficheros\DartSock.dll; DestDir: {sys}; Flags: sharedfile uninsneveruninstall regserver
Source: ..\inmoadaix\ficheros\MSDATLST.OCX; DestDir: {sys}; Flags: restartreplace sharedfile regserver uninsneveruninstall
Source: ..\inmoadaix\ficheros\DATLSES.DLL; DestDir: {sys}; Flags: sharedfile uninsneveruninstall
Source: ..\inmoadaix\ficheros\TABCTL32.OCX; DestDir: {sys}; Flags: restartreplace sharedfile regserver uninsneveruninstall
Source: ..\inmoadaix\ficheros\TABCTES.DLL; DestDir: {sys}; Flags: sharedfile uninsneveruninstall
Source: ..\inmoadaix\ficheros\MSCOMCTL.OCX; DestDir: {sys}; Flags: restartreplace sharedfile regserver uninsneveruninstall
Source: ..\inmoadaix\ficheros\DownloadFile.ocx; DestDir: {sys}; Flags: sharedfile uninsneveruninstall
Source: ..\inmoadaix\ficheros\MSCmCES.dll; DestDir: {sys}; Flags: sharedfile uninsneveruninstall
Source: ..\inmoadaix\ficheros\MSADODC.OCX; DestDir: {sys}; Flags: restartreplace sharedfile regserver  uninsneveruninstall
Source: ..\inmoadaix\ficheros\ADODCES.DLL; DestDir: {sys}; Flags: sharedfile uninsneveruninstall
Source: ..\inmoadaix\ficheros\IsUninst.exe; DestDir: {app}
Source: ..\inmoadaix\ficheros\MSSTDFMT.DLL; DestDir: {sys}; Flags: regserver sharedfile uninsneveruninstall uninsneveruninstall
Source: ..\inmoadaix\ficheros\MSBIND.DLL; DestDir: {sys}; Flags: regserver sharedfile uninsneveruninstall uninsneveruninstall
;Source: ..\inmoadaix\ficheros\msjro.dll; DestDir: {sys}; Flags: regserver sharedfile uninsneveruninstall uninsneveruninstall
Source: ..\..\OCX\ShellURL.ocx; DestDir: {sys}; Flags: restartreplace sharedfile regserver uninsneveruninstall
Source: ..\inmoadaix\ficheros\PolarCryptoLight.dll; DestDir: {sys}; Flags: restartreplace sharedfile regserver uninsneveruninstall
Source: ..\inmoadaix\ficheros\COMCTL32.OCX; DestDir: {sys}; Flags: restartreplace sharedfile regserver uninsneveruninstall
;Source: ..\inmoadaix\ficheros\shdocvw.dll; DestDir: {sys}; Flags: restartreplace sharedfile regserver uninsneveruninstall
;INPUT PRO
Source: ..\inmoadaix\ficheros\Edt32x30.ocx; DestDir: {sys}; Flags: restartreplace sharedfile regserver uninsneveruninstall
;Source: ..\inmoadaix\ficheros\EDT32D30.dll; DestDir: {sys}; Flags: restartreplace sharedfile regserver uninsneveruninstall
;Source: ficheros\mem32x30.ocx; DestDir: {sys}; Flags: restartreplace sharedfile regserver uninsneveruninstall
;Source: ficheros\MEM32D30.dll; DestDir: {sys}; Flags: restartreplace sharedfile regserver uninsneveruninstall
;Source: ..\inmoadaix\ficheros\msadox.dll; DestDir: {sys}; Flags: regserver sharedfile uninsneveruninstall uninsneveruninstall
 
 
[Registry]
; Delay MDAC installation on Win95 machines
;MDAC 2.0  
;Root: HKCU; Subkey: SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce; ValueType: string; ValueName: MDAC_Setup; ValueData: {%TEMP}\mdac_typ.exe /Q /C:setup /QT; MinVersion: 4.0,0; OnlyBelowVersion: 4.1,0; Tasks: MDAC
;MDAC 2.6  
;Root: HKCU; Subkey: SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce; ValueType: string; ValueName: MDAC_Setup; ValueData: {%TEMP}\mdac_typ.exe /Q:A /C:dasetup /Q:D /N; MinVersion: 4.0,0; OnlyBelowVersion: 4.1,0; Tasks: MDAC
Root: HKCU; Subkey: SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce; ValueType: string; ValueName: MDAC_Setup; ValueData: {%TEMP}\mdac_typ27.exe /Q:A /C:dasetup /Q:D /N; MinVersion: 4.0,0; OnlyBelowVersion: 4.1,0
Root: HKCU; Subkey: software\adaix; Flags: deletekey
Root: HKCU; Subkey: Software\AdaixGroup\Tasadaix; Flags: uninsdeletekey dontcreatekey
 
[INI]
Filename: {app}\Adaix.url; Section: InternetShortcut; Key: URL; String: http://www.adaix.com (http://www.adaix.com)
 
[Icons]
Name: {group}\Tasadaix; Filename: {app}\tasadaix.exe; IconIndex: 0
Name: {group}{cm:ProgramOnTheWeb,Inmoadaix}; Filename: {app}\inmoadaix.url
Name: {group}{cm:UninstallProgram,Tasadaix}; Filename: {uninstallexe}; IconFilename: {app}\IsUninst.exe
;Name: {userdesktop}\Inmoadaix; Filename: {app}\inmoadaix.exe; Tasks: desktopicon
Name: {userdesktop}\Tasadaix; Filename: {app}\tasadaix.exe; IconIndex: 0
;Name: {userappdata}\Microsoft\Internet Explorer\Quick Launch\Inmoadaix; Filename: {app}\inmoadaix.exe; Tasks: quicklaunchicon
Name: {userappdata}\Microsoft\Internet Explorer\Quick Launch\Tasadaix; Filename: {app}\tasadaix.exe; IconIndex: 0
Name: {group}\Calendario; Filename: {app}\AdaixCalendar.exe; IconFilename: {app}\AdaixCalendar.exe; IconIndex: 0
Name: {group}\AdaixSync; Filename: {app}\InmoSync.exe; WorkingDir: {app}; IconFilename: {app}\InmoSync.exe; IconIndex: 0
 
[Run]
Filename: {tmp}\VB_DCOM_MDAC_JET_AutoSetup.exe; Parameters: /NORESTART /VERYSILENT WorkingDir: {tmp}; Flags: skipifdoesntexist
Filename: {tmp}\50comupd.exe; Parameters: /r:n /q:1; Check: ShouldInstallComCtlUpdate
Filename: {tmp}\WindowsXP-Windows2000-Script56-KB917344-x86-esn.exe; Parameters: /r:n /q:1; MinVersion: 0,5.0; OnlyBelowVersion: 0,5.02
Filename: {tmp}\scr56en.exe; Parameters: /r:n /q:1; MinVersion: 4.1,4.0; OnlyBelowVersion: 0,4.01
 
; START DCOM
;Filename: {tmp}\dcom95.EXE; Parameters: /r:n /q:u; WorkingDir: {tmp}; Flags: skipifdoesntexist; Tasks: DCOM95; MinVersion: 4.0,0; OnlyBelowVersion: 4.1,0
;Filename: {tmp}\dcom98.exe; Parameters: /r:n /q:u; WorkingDir: {tmp}; Flags: skipifdoesntexist; Tasks: DCOM98; MinVersion: 4.1,0; OnlyBelowVersion: 4.9,0
;Filename: {tmp}\dcom98.exe; Parameters: /r:n /q:u; WorkingDir: {tmp}; Flags: skipifdoesntexist; MinVersion: 4.1,0; OnlyBelowVersion: 4.9,0
;Filename: {tmp}\dcm95cfg.exe; Parameters: /r:n /q:u; WorkingDir: {tmp}; Flags: skipifdoesntexist; Tasks: DCOM95 DCOM98; MinVersion: 4.0,0; OnlyBelowVersion: 4.9,0
; END DCOM
; START MDAC 2.0  (see also: http://support.microsoft.com/default.aspx?scid=KB (http://support.microsoft.com/default.aspx?scid=KB);EN-US;Q192009&)
;Filename: {tmp}\mdac_typ.exe; Parameters: /Q /C:setup /QNT; WorkingDir: {tmp}; Flags: skipifdoesntexist; Tasks: MDAC; MinVersion: 4.1,4.0; OnlyBelowVersion: 0,5.0
; END MDAC 2.0  
; START MDAC 2.6  (see also: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/mdacsdk/htm/wphistory_redistributemdac.asp (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/mdacsdk/htm/wphistory_redistributemdac.asp))
;Filename: {tmp}\mdac_typ27.exe; Parameters: /Q:A /C:dasetup /Q:D /N; WorkingDir: {tmp}; Flags: skipifdoesntexist; Tasks: MDAC; MinVersion: 4.1,4.0; OnlyBelowVersion: 0,5.0
;Filename: {tmp}\mdac_typ27.exe; Parameters: /Q:A /C:dasetup /Q:D /N; WorkingDir: {tmp}; Flags: skipifdoesntexist; MinVersion: 4.1,4.0; OnlyBelowVersion: 0,5.0
; END MDAC 2.6  
;Filename: {app}\inmoadaix.exe; Description: {cm:LaunchProgram,Inmoadaix}; Flags: nowait postinstall skipifsilent
 
[UninstallDelete]
Type: files; Name: {app}\adaix.url
 
[Code]
function ShouldInstallComCtlUpdate: Boolean;
var
  MS, LS: Cardinal;
begin
  // Only install if the existing comctl32.dll is
Title: Msadox.dll not registered by VB_DCOM_MDAC_JET_AutoSetup.exe
Post by: Randem on February 23, 2008, 11:08:26 AM
The automatic OS Updater should be installing. Your script is a little confusing with all the commented lines. Have you tried running your VBP thru InnoScript to create your Inno Setup Script (Not the Inno Setup Wizard)?

You are missing msadox.dll because it does not get installed with MDAC. Run your package thru InnoScript for clarification of what should and should not be deployed. You are deploying a few files that you really should not. Please read Installation Problems (https://randemsystems.support/innoscript-general-questions-report-bugs-problems-etc/installation-problems/) for more help on this issue.
Title: Msadox.dll not registered by VB_DCOM_MDAC_JET_AutoSetup.exe
Post by: jcbaena on February 25, 2008, 04:13:09 AM
But...then...what is the problem? why if a register manually the msadox.dll the app works? don't B_DCOM_MDAC_JET_AutoSetup.exe register it?
Title: Msadox.dll not registered by VB_DCOM_MDAC_JET_AutoSetup.exe
Post by: Randem on February 25, 2008, 08:15:09 AM
No, It's not included in with the MDAC component. If you used InnoScript to make your script it would have been included.
Title: Msadox.dll not registered by VB_DCOM_MDAC_JET_AutoSetup.exe
Post by: jcbaena on February 25, 2008, 09:02:00 AM
I used isTool. But...one question:
 
Does VB_DCOM_MDAC_JET_AutoSetup.exe register this dlls (msadaox.dll and msjro.dll)? If you say yes that is the error because with that script i can see VB_DCOM_MDAC_JET_AutoSetup.exe does NOT register. I use my program (the dll exists) but fails. I run regsvr msadox.dll and my program runs perfectly. My script does not include that dll so VB_DCOM_MDAC_JET_AutoSetup.exe install it but doesnt register. That is my problem.
 
P.S: Sorry, Im from spain, my english is very poor.  
Title: Msadox.dll not registered by VB_DCOM_MDAC_JET_AutoSetup.exe
Post by: Randem on February 25, 2008, 01:40:47 PM
No, the Automatic OS Updater does not install that file. Try using InnoScript to see the difference in the script.
Title: Msadox.dll not registered by VB_DCOM_MDAC_JET_AutoSetup.exe
Post by: jcbaena on February 26, 2008, 04:43:59 AM
sorry..I dont understand. That file is not installed by VB_DCOM_MDAC_JET_AutoSetup.exe
Title: Msadox.dll not registered by VB_DCOM_MDAC_JET_AutoSetup.exe
Post by: Randem on February 26, 2008, 09:55:31 AM
That is correct. That file is deployed via a Microsoft Service Pack not by the MDAC or JET installations.
 
If you simply ran InnoScript you would understand better...
 
(Message edited by randem on February 26, 2008)
Title: Msadox.dll not registered by VB_DCOM_MDAC_JET_AutoSetup.exe
Post by: jcbaena on March 03, 2008, 12:19:50 AM
But InnoScript is for sale. I have pay before thourgh paypal. I have some questions about msadox.dll but i dont know how to deploy this .dll to be registered on installation.
Title: Msadox.dll not registered by VB_DCOM_MDAC_JET_AutoSetup.exe
Post by: Randem on March 03, 2008, 12:24:03 AM
You can run InnoScript for free for 5 days. By then you should be able to see the difference in the scripts.
 
You deploy msadox.dll follows: You send it to the Program FilesCommon FilesSystemADO folder and register it.
 
 
(Message edited by randem on March 03, 2008)
Title: Msadox.dll not registered by VB_DCOM_MDAC_JET_AutoSetup.exe
Post by: jcbaena on March 03, 2008, 02:15:17 AM
But if I deploy the msadox.dll to the that folder perhaps overwrite it, dont? I can overwrite if my version is more new, but...What appens to other ADO dependences?
Title: Msadox.dll not registered by VB_DCOM_MDAC_JET_AutoSetup.exe
Post by: Randem on March 03, 2008, 08:06:50 AM
They should be fine...
Title: Msadox.dll not registered by VB_DCOM_MDAC_JET_AutoSetup.exe
Post by: jcbaena on March 31, 2008, 07:55:46 AM
The errors continues....
How I should install this files?
 
In Xp Installation works. In vista installation not. If in xp installation I try to make set obj=new msjro.etc.... doesn not work. Why this library (msjro.dll and msadox.dll) are not registered by VB_DCOM_MDAC_JET_AutoSetup.exe?
Who register them?
 
Please, be the most extensive as posible. I have this problem some weeks ago.
 
Thanks on advance.
Title: Msadox.dll not registered by VB_DCOM_MDAC_JET_AutoSetup.exe
Post by: Randem on March 31, 2008, 08:48:25 PM
I don't quite understand. Did InnoScript remove them from your script? If no then you need to deploy them. If it did you would include the installation that the files are included in (The Auto OS Updater).
Title: Msadox.dll not registered by VB_DCOM_MDAC_JET_AutoSetup.exe
Post by: jcbaena on March 31, 2008, 09:32:50 PM
I do not use inno script. The installation is for inno setup with istool.org.
 
The problem is: I try to install msadox and msjro. The install fails on Vista and run ok in XP. I want:
1.- Vista installer Ok
2.- Deploy msjro and msadox and register them.
Title: Msadox.dll not registered by VB_DCOM_MDAC_JET_AutoSetup.exe
Post by: Randem on March 31, 2008, 09:53:56 PM
If you don't use InnoScript that is fine but you do need to understand how the installation process works, that is where InnoScript would help you. You are still installing files that you should not be and other such things. Forcing them onto a system that doesn't need or want them is a big no-no.
 
Did you read Installation Problems that I posted the link to priorly?
Title: Msadox.dll not registered by VB_DCOM_MDAC_JET_AutoSetup.exe
Post by: jcbaena on March 31, 2008, 10:01:05 PM
Yes, i understand the installation process, but....if VB_DCOM_MDAC_JET_AutoSetup.exe install ADO librarys...why does not register msadaox an msjro? If VB_DCOM_MDAC_JET_AutoSetup.exe register them I dont have to distributed them in the script.
Title: Msadox.dll not registered by VB_DCOM_MDAC_JET_AutoSetup.exe
Post by: Randem on March 31, 2008, 10:02:49 PM
Those files are distributed but not on Vista.
 
(Message edited by randem on March 31, 2008)
Title: Msadox.dll not registered by VB_DCOM_MDAC_JET_AutoSetup.exe
Post by: jcbaena on March 31, 2008, 10:17:31 PM
Ok. I'll try it.
Which variable and value is set to Vista in inno setup?
Title: Msadox.dll not registered by VB_DCOM_MDAC_JET_AutoSetup.exe
Post by: Randem on March 31, 2008, 10:20:41 PM
I don't understand what you mean. Those files (as well as others) should NEVER be deployed to Vista.
Title: Msadox.dll not registered by VB_DCOM_MDAC_JET_AutoSetup.exe
Post by: jcbaena on April 01, 2008, 12:03:31 AM
what script do i have to write to avoid deploy these files?
Title: Msadox.dll not registered by VB_DCOM_MDAC_JET_AutoSetup.exe
Post by: Randem on April 01, 2008, 09:09:24 AM
The Auto OS Updater will not deploy those files to Vista but if you still have them in your script you will still deploy them. As I suggested before run your project through InnoScript (at least once) to see the differences. You will be able to tell the difference in what you should or shouldn't deploy...
 
There are lots of files that you should not deploy and some that should only be deployed in a supplied SP from Microsoft or the the third party vendor. Lot's of research needs to be done if you are going to do this task yourself.
 
(Message edited by randem on April 01, 2008)