Page 1 of 1

Express and MS Access driver

Posted: Mon May 23, 2011 7:35 am
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

Re: Express and MS Access driver

Posted: Mon May 23, 2011 3:04 pm
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.