cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
jbryant
Level 3

SQL Login information not being set at uninstall?

I have written a custom action that uses the SQL information entered in the SQL Connection dialog. This all works fine during install, however it looks like the properties never get set on uninstall. I see the values stored in the registry, but I don't see them getting reset in my log (in this case, I just need the server because I'm connecting using Windows Auth)

Is there something I've forgotten to check?
This is an InstallScript MSI project....

Thanks,
Labels (1)
0 Kudos
(1) Reply
jbryant
Level 3

Nevermind, I found it with a little more digging, calling

SQLRTInitialize2();
SQLRTServerValidate(ISMSI_HANDLE);

in OnMaintUIBefore fixed the problem
0 Kudos