cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
d-light
Level 2

SQL script and ini file

Hi!

I've got an Installshield Basic MSI project.
In that project, I want to insert some records into an SQL Server database.
Since the setup is published to several customers, i need to get set Server and Database from a customer ini file.
The ini-file is found in the same folder as setup.exe.
I''ve tried the System Search to store the values in IS_SQLSERVER_SERVER and IS_SQLSERVER_DATABASE properties. Is it possible to use those properties in the connectionstring to the database? The user and password are the same for all our customers, only the server and database is different.
Is there any other way to acheive this task?
Labels (1)
0 Kudos
(1) Reply
hidenori
Level 17

The build-in INI file system search has a limitation that INI files must exist in the Windows folder. Therefore, you need to write your own custom action that will read the information from an INI file and set them to the Windows Installer properties.
0 Kudos