Express and MS Access driver

Got a problem you cannot solve? Try here.
Post Reply
Mark A. Smith
Posts: 1
Joined: Mon May 23, 2011 7:01 am

Express and MS Access driver

Post by Mark A. Smith »

Hi,
Upgraded to RAD XE. Imported previous InstallAware project, yet found the same problems.

1. When I assign a file to EULA or Readme from a SubFolder, the OPEN dialog works, inserts the .rtf, yet on Build an Error msg saying the files do not exist in the main project folder. Likewise with .ico and other files in SubFolders. When selecting the "EULA and Readme" menu item, you get the error, but cannot correct the settings, why not?

2. This Build project uses an MS ACCESS database. The Delphi project uses OleDB driver, but Installer only allows ODBC using DropDown. The Delphi ADO Connection is as follows:

Provider=Microsoft.ACE.OLEDB.12.0
DataPath=\\CASSERVER\DataPartition\Asw\Development\MyTestProject\DataDataFile=MyTestProject.accdb
Persist Security Info=False

Question: If I substitute the ACEOLEDB.DLL for ACEODBC.DLL what do I change in Attributes

APILevel=1
ConnectFunctions=YYN
DriverODBCVer=02.50
FileUsage=2
FileExtns=*.mdb,*.accdb
SQLLevel=0

OR:

Do I use another method to install the Driver.

Thanks,
Mark
giaviv
Posts: 2039
Joined: Fri Dec 17, 2010 1:39 pm

Re: Express and MS Access driver

Post by giaviv »

Dear Mark,

1) There files can only be selected from the main folder. This is actually documented with InstallAware. Are you unable to select files from your main project folder?

2) Unfortunately you are bound to the options given by InstallAware. What you can do is find a way to install your driver via command line tools (or any EXE basically) and then run it during the setup with the Run Program command.
Aviv Giladi
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Post Reply