Hi,
I'm tyring to run 3 script files from AI during the installation, so i created a dialog tht prompts for server/database/user/pwd, and passed those on the connection string.
During the installation i see for a second a message that says something about processing sql scripts but the scripts never seem to run. I have GO as the batch separator.
i saved the installation progress in a log file and i dont know if these are the relevant lines, let me know if you need the full file:
MSI (s) (B4:00) [16:08:36:574]: Doing action: AI_SqlInstall
Action start 16:08:36: AI_SqlInstall.
MSI (s) (B4:00) [16:08:36:621]: Creating MSIHANDLE (15) of type 790542 for thread 4352
MSI (s) (B4:98) [16:08:36:621]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSI4BA.tmp, Entrypoint: OnSqlInstall
MSI (s) (B4:B8) [16:08:36:621]: Generating random cookie.
MSI (s) (B4:B8) [16:08:36:715]: Created Custom Action Server with PID 3268 (0xCC4).
MSI (s) (B4:90) [16:08:36:949]: Running as a service.
MSI (s) (B4:90) [16:08:36:965]: Hello, I'm your 32bit Impersonated custom action server.
MSI (s) (B4!18) [16:08:37:105]: Creating MSIHANDLE (16) of type 790541 for thread 2840
MSI (s) (B4!18) [16:08:37:105]: Creating MSIHANDLE (17) of type 790540 for thread 2840
MSI (s) (B4!18) [16:08:37:105]: Creating MSIHANDLE (18) of type 790531 for thread 2840
MSI (s) (B4!18) [16:08:37:105]: Closing MSIHANDLE (18) of type 790531 for thread 2840
MSI (s) (B4!18) [16:08:37:105]: Creating MSIHANDLE (19) of type 790531 for thread 2840
MSI (s) (B4!18) [16:08:37:105]: Closing MSIHANDLE (19) of type 790531 for thread 2840
MSI (s) (B4!18) [16:08:37:105]: Creating MSIHANDLE (20) of type 790531 for thread 2840
MSI (s) (B4!18) [16:08:37:121]: Closing MSIHANDLE (20) of type 790531 for thread 2840
MSI (s) (B4!18) [16:08:37:121]: Creating MSIHANDLE (21) of type 790531 for thread 2840
MSI (s) (B4!18) [16:08:37:121]: Closing MSIHANDLE (21) of type 790531 for thread 2840
MSI (s) (B4!18) [16:08:37:121]: Closing MSIHANDLE (17) of type 790540 for thread 2840
MSI (s) (B4!18) [16:08:37:121]: Creating MSIHANDLE (22) of type 790540 for thread 2840
MSI (s) (B4!18) [16:08:37:121]: Creating MSIHANDLE (23) of type 790531 for thread 2840
MSI (s) (B4!18) [16:08:37:121]: Closing MSIHANDLE (23) of type 790531 for thread 2840
MSI (s) (B4!18) [16:08:37:121]: Creating MSIHANDLE (24) of type 790531 for thread 2840
MSI (s) (B4!18) [16:08:37:121]: Closing MSIHANDLE (24) of type 790531 for thread 2840
MSI (s) (B4!18) [16:08:37:121]: Creating MSIHANDLE (25) of type 790531 for thread 2840
MSI (s) (B4!18) [16:08:37:387]: Closing MSIHANDLE (25) of type 790531 for thread 2840
MSI (s) (B4!18) [16:08:37:387]: Creating MSIHANDLE (26) of type 790531 for thread 2840
MSI (s) (B4!18) [16:08:37:496]: Closing MSIHANDLE (26) of type 790531 for thread 2840
MSI (s) (B4!18) [16:08:37:496]: Creating MSIHANDLE (27) of type 790531 for thread 2840
MSI (s) (B4!18) [16:08:37:543]: Closing MSIHANDLE (27) of type 790531 for thread 2840
MSI (s) (B4!18) [16:08:37:543]: PROPERTY CHANGE: Adding AI_SqlRollback property. Its value is 'Connection-10060Driver={SQL Native Client};Server=.;Uid=sa;Pwd=mypwd;Database=MSDE_4401;'.
MSI (s) (B4!18) [16:08:37:543]: Doing action: AI_SqlRollback
Action start 16:08:37: AI_SqlRollback.
Action ended 16:08:37: AI_SqlRollback. Return value 1.
MSI (s) (B4!18) [16:08:37:574]: PROPERTY CHANGE: Deleting AI_SqlRollback property. Its current value is 'Connection-10060Driver={SQL Native Client};Server=.;Uid=sa;Pwd=mypwd;Database=MSDE_4401;'.
MSI (s) (B4!18) [16:08:37:574]: PROPERTY CHANGE: Adding AI_SqlConfig property. Its value is 'Connection-10060Driver={SQL Native Client};Server=.;Uid=sa;Pwd=mypwd;Database=MSDE_4401;'.
MSI (s) (B4!18) [16:08:37:574]: Doing action: AI_SqlConfig
Action start 16:08:37: AI_SqlConfig.
Action ended 16:08:37: AI_SqlConfig. Return value 1.
MSI (s) (B4!18) [16:08:37:590]: PROPERTY CHANGE: Deleting AI_SqlConfig property. Its current value is 'Connection-10060Driver={SQL Native Client};Server=.;Uid=sa;Pwd=mypwd;Database=MSDE_4401;'.
MSI (s) (B4!18) [16:08:37:590]: Closing MSIHANDLE (22) of type 790540 for thread 2840
MSI (s) (B4!18) [16:08:37:590]: Closing MSIHANDLE (16) of type 790541 for thread 2840
MSI (s) (B4:98) [16:08:37:621]: Closing MSIHANDLE (15) of type 790542 for thread 4352
Action ended 16:08:37: AI_SqlInstall. Return value 1.
Any idea what I'm doing wrong?
THanks,
Marcelo
FOLLOW US
Get the latest news in Application Packaging