MDAC and Vista - pls help :(
I've got an application that uses ado controls to connect to Access database. I created a deployment package with innosetup and attached file created by Randem - the one that installs VB6 run time and MDAC (appropriate version).
But the problem is that my clients cannot use my VB6 application on computers with Vista, there is no connection to access database. I don't know how to create installation package for Vista.
It looks like there is nothing about MDAC on Randem's site or I'm missing something. All installation files end up with Windows XP.
Pls help me or my clients will kill me :)
Re: MDAC and Vista - pls help :(
Did you use Inno Script to create your script?
Which version of the Auto OS Updater did you use?
Post your script. The whole script (everything).
Re: MDAC and Vista - pls help :(
Re: MDAC and Vista - pls help :(
Here is my script:
Code:
[Setup]
AppName=eMaestro! - Język włoski
AppVerName=eMaestro! 1.0.1
AppPublisher=ABELTIS
AppPublisherURL=http://www.something.pl
AppSupportURL=http://www.something.pl
AppUpdatesURL=http://www.something.pl
DefaultDirName={pf}\eMaestro!_ita
DefaultGroupName=eMaestro!
LicenseFile=C:\A_Projekt\Nowy włoski\FINAL\licencja.txt
Compression=lzma
SolidCompression=yes
PrivilegesRequired=admin
[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
Name: "quicklaunchicon"; Description: "{cm:CreateQuickLaunchIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
[Files]
Source: "C:\A_Projekt\Nowy włoski\FINAL\VB_DCOM_MDAC_JET_AutoSetup.exe"; DestDir: "{tmp}"; Flags: ignoreversion deleteafterinstall
Source: "sys\new\Vb6stkit.dll"; DestDir: "{sys}"; Flags: restartreplace uninsneveruninstall sharedfile
Source: "sys\new\MSCOMCTL.OCX"; DestDir: "{sys}"; Flags: restartreplace uninsneveruninstall sharedfile regserver
Source: "sys\new\FM20.DLL"; DestDir: "{sys}"; Flags: restartreplace uninsneveruninstall sharedfile regserver
Source: "sys\new\DBGRID32.OCX"; DestDir: "{sys}"; Flags: restartreplace uninsneveruninstall sharedfile regserver
Source: "sys\new\MSSTDFMT.DLL"; DestDir: "{sys}"; Flags: restartreplace uninsneveruninstall sharedfile regserver
Source: "sys\new\MSDATGRD.OCX"; DestDir: "{sys}"; Flags: restartreplace uninsneveruninstall sharedfile regserver
Source: "sys\new\msadodc.ocx"; DestDir: "{sys}"; Flags: restartreplace uninsneveruninstall sharedfile regserver
Source: "sys\new\MSBIND.DLL"; DestDir: "{sys}"; Flags: restartreplace uninsneveruninstall sharedfile regserver
Source: "sys\new\MCI32.OCX"; DestDir: "{sys}"; Flags: restartreplace uninsneveruninstall sharedfile regserver
Source: "C:\A_Projekt\Nowy włoski\FINAL\emaestro.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\A_Projekt\Nowy włoski\FINAL\set.dat"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\A_Projekt\Nowy włoski\FINAL\pic.msd"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\A_Projekt\Nowy włoski\FINAL\conf.dat"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\A_Projekt\Nowy włoski\FINAL\misc\*"; DestDir: "{app}\misc"; Flags: ignoreversion recursesubdirs
DestDir: "{app}"; Flags: ignoreversion
[INI]
Filename: "{app}\emaestro.url"; Section: "InternetShortcut"; Key: "URL"; String: "http://www.something.pl"
[Icons]
Name: "{group}\eMaestro! - Język włoski"; Filename: "{app}\emaestro.exe"
Name: "{group}\{cm:ProgramOnTheWeb,eMaestro! - Język włoski}"; Filename: "{app}\emaestro.url"
Name: "{group}\{cm:UninstallProgram,eMaestro! - Język włoski}"; Filename: "{uninstallexe}"
Name: "{userdesktop}\eMaestro! - Język włoski"; Filename: "{app}\emaestro.exe"; Tasks: desktopicon
Name: "{userappdata}\Microsoft\Internet Explorer\Quick Launch\eMaestro! - Język włoski"; Filename: "{app}\emaestro.exe"; Tasks: quicklaunchicon
[Run]
Description: "{cm:LaunchProgram,Microsoft Data Access Components}"; Flags: nowait postinstall skipifsilent
Filename: "{tmp}\VB_DCOM_MDAC_JET_AutoSetup.exe"; Parameters: /NORESTART /VERYSILENT WorkingDir: {tmp}; Flags: skipifdoesntexist
Filename: "{app}\emaestro.exe"; Description: "{cm:LaunchProgram,eMaestro!}"; Flags: nowait postinstall skipifsilent
Flags: skipifdoesntexist; Tasks: MDAC; MinVersion: 4.1,4.0;
[UninstallDelete]
Type: files; Name: "{app}\emaestro.url"
I use this Auto OS updater:
http://www.***********/cgi-bin/randem..._AutoSetup.exe
Re: MDAC and Vista - pls help :(
Are you re-distributing Microsoft Forms 2.0 library?
Re: MDAC and Vista - pls help :(
One thing is you should run your app thru Inno Script to pick up your dependencies and to eliminate unsafe files. At least to compare your script and the one it generates. You might be surprised in what you missed. Secondly I don't see you deploying a database so how could your app work???
And you can't distribute the Form 2 library without a license or deploying a re-distributable MS app that has that library in it to get it deployed.
Re: MDAC and Vista - pls help :(
Yes, thats what I was getting at with the forms 2.0. Also, if you do get the license and redistribute it legally you have to be very careful as if the user has it already on their system and a different version you can corrupt their Access install.