The target platform is Windows 7 Home 64bit
We are installing Server Express 2005 SP3 (x64) runtime as part of the installation.
The IA samples and plugins checksql2005_x64 have been utilised to allow the user to locate the instance.
The problem occurs in line:
Code: Select all
Microsoft SQL Server Script : Connect to database TestDB on instance $SERVERNAME$\$INSTANCENAME$ as user $SQLUSER$ (get result into variable SQLTEST)there are no errors in C:\Program Files (x86)\Microsoft SQL Server\MSSQL.1\MSSQL\LOG\ERRORLOG relating to the script nor any evidence of it running.
the SQL script is:
Code: Select all
USE [master]
GO
sp_grantlogin 'BUILTIN\Users'
GO
CREATE DATABASE MyApp ON
( FILENAME = N'c:\Program Files (x86)\MyApp\Data\MyApp.mdf' ),
( FILENAME = N'c:\Program Files (x86)\MyApp\Data\MyApp_log.LDF' )
FOR ATTACH ;
GOPost installation I can run a manual script from the command prompt containing the same SQL code and the attach works perfectly.
Secondly, to work around the first issue I have attempted to include a run program line:
Run Program sqlcmd -S .\MYINSTANCE -U SA -P $Strong$Apa$$word -iattach_sql.sql
This also does not appear to run. I have enabled logging in [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Installer] with "Logging"= voicewarmupx but my log does not report the failure or success of this line.
Should I expect feedback in the log?
You assistance would be appreciated so we can settle the version of IA required and settle our purchase.
Thanks,
Nathan.

