|
-
Nov 24th, 2007, 03:55 PM
#1
Thread Starter
New Member
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
-
Nov 24th, 2007, 07:19 PM
#2
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).
-
Nov 25th, 2007, 03:44 AM
#3
Re: MDAC and Vista - pls help :(
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Nov 25th, 2007, 03:56 AM
#4
Thread Starter
New Member
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
-
Nov 25th, 2007, 04:05 AM
#5
Re: MDAC and Vista - pls help :(
Are you re-distributing Microsoft Forms 2.0 library?
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Nov 25th, 2007, 03:26 PM
#6
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.
-
Nov 25th, 2007, 04:36 PM
#7
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.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|