Hi,
I have been looking at the log again and the TESTODBCConnection Custom action finishes ok and gives a return of "1" this means that this is finishing properly. However does this mean that the Published event is finishing properly as I can't see a return code for it. I have tried hard coding the argument in the published events but still not working. Can you check to make sure that I have typed it out correctly and not missed a space or somthing? The info is below. I have also copied the log in below.
Published Events
Event: NewDialog
Argument: enTrader_Initial_System_Administrator_Settings
Condition: SqlConnectionOK = "1"
Event: [SQLConnectionString]
Argument: Driver=SQL Server;Server=(Local);Port=1433;Uid=SA;Pwd=SQL123fidd;
Condition: AI_Install
Event: DoAction
Argument: TestODBConnection
Condition: AI_Install

- Screenshot of Dialogs Page
- Dialogs.PNG (238.07 KiB) Viewed 14363 times
Log Extract
Action 10:30:24: FolderDlg.
Action start 10:30:24: FolderDlg.
MSI (c) (C0:20) [10:30:24:515]: Note: 1: 2205 2: 3: AI_ControlEx
MSI (c) (C0:20) [10:30:24:562]: Note: 1: 2228 2: 3: AI_ControlEx 4: SELECT `Dialog_`,`Control`,`Type`,`Attributes`,`Data` FROM `AI_ControlEx` WHERE `Dialog_` = 'enTrader_Service_Settings'
MSI (c) (C0:A4) [10:30:25:358]: PROPERTY CHANGE: Modifying SERVICENAME property. Its current value is '[AppNAME]_[App_Environment]_Service'. Its new value: 'enTrader_TEST_Service'.
MSI (c) (C0:20) [10:30:25:389]: Note: 1: 2205 2: 3: AI_ControlEx
MSI (c) (C0:20) [10:30:25:420]: Note: 1: 2228 2: 3: AI_ControlEx 4: SELECT `Dialog_`,`Control`,`Type`,`Attributes`,`Data` FROM `AI_ControlEx` WHERE `Dialog_` = 'enTrader_Database_Settings'
MSI (c) (C0:B4) [10:30:45:155]: PROPERTY CHANGE: Adding DB_SERVER property. Its value is 'MSSQLSERVER'.
MSI (c) (C0:B4) [10:30:45:171]: PROPERTY CHANGE: Adding DB_NAME property. Its value is 'enTrader'.
MSI (c) (C0:B4) [10:30:45:186]: PROPERTY CHANGE: Adding EUP property. Its value is '**********'.
MSI (c) (C0:B4) [10:30:45:186]: PROPERTY CHANGE: Adding SBP property. Its value is '**********'.
MSI (c) (C0:20) [10:30:45:202]: Note: 1: 2205 2: 3: AI_ControlEx
MSI (c) (C0:20) [10:30:45:249]: Note: 1: 2228 2: 3: AI_ControlEx 4: SELECT `Dialog_`,`Control`,`Type`,`Attributes`,`Data` FROM `AI_ControlEx` WHERE `Dialog_` = 'Database_Settings'
MSI (c) (C0:C8) [10:30:50:491]: PROPERTY CHANGE: Adding DATABASE_USER property. Its value is 'Sa'.
MSI (c) (C0:C8) [10:30:50:522]: PROPERTY CHANGE: Adding DB_PASSWORD property. Its value is '**********'.
MSI (c) (C0:C8) [10:30:50:522]: PROPERTY CHANGE: Adding SQLConnectionString property. Its value is 'Driver=SQL Server;Server=MSSQLSERVER;Port=1433;Uid=SA;Pwd=SQL123fidd;'.
Action ended 10:30:50: FolderDlg. Return value 1.
MSI (c) (C0:54) [10:30:50:537]: Doing action: TestODBCConnection
Action 10:30:50: TestODBCConnection.
Action start 10:30:50: TestODBCConnection.
MSI (c) (C0:B0) [10:30:50:600]: Invoking remote custom action. DLL: C:\Users\matts\AppData\Local\Temp\MSI2947.tmp, Entrypoint: TestSqlConnection
Action ended 10:30:50: TestODBCConnection. Return value 1.
MSI (c) (C0:54) [10:30:50:725]: Doing action: Database_Settings
Action 10:30:50: Database_Settings.
Action start 10:30:50: Database_Settings.
Matt
FOLLOW US
Get the latest news in Application Packaging