[wix-users] Custom action

Habib Salim habib at hsalim.com
Tue Nov 7 11:42:49 PST 2017


Hi
I copied Shane KM's code 
https://stackoverflow.com/questions/14480837/wix-database-deployment-installation
And of course modified it a fair bit.  Like Shane, I am adding a dialog to 
show available SQL servers and to create a SQL database on the selected 
server.
(then create SQL objects.)

The installer fails at EnumerateSqlServers

The installing user has Admin rights.  I'm stumped.

Thanks in advance for any help.
Regards
Habib




Here is the relevant portion of the install log:

SFXCA: Binding to CLR version v2.0.50727
Calling custom action 
WixDbInstall!HSalimCo.CustomActions.EnumerateSqlServers
EnumerateSQLServers: Begin
EnumerateSQLServers: ATTEMPTING TO RUN WITHOUT ADMIN RIGHTS
CustomAction EnumerateSqlServers returned actual error code 1603 (note this 
may not be 100% accurate if translation happened inside sandbox)
Action ended 11:15:13: EnumerateSqlServers. Return value 3.
MSI (c) (00:2C) [11:15:13:853]: Doing action: FatalError
MSI (c) (00:2C) [11:15:13:853]: Note: 1: 2205 2:  3: ActionText
Action 11:15:13: FatalError.
Action start 11:15:13: FatalError.
Action 11:15:13: FatalError. Dialog created


More information about the wix-users mailing list