PDA

View Full Version : Install hangs if W2K OS is below W2K SP3



sks2004
07-01-2005, 06:55 PM
Our installer hangs after the 'Ready To Install' dialog, on all Windows 2000 SP2 machines. It will never complete.

It works on Windows 2000 SP3 and above.

At this dialog, I am executing a few InstallScript CAs that;
call the function:
MsiSetFeatureState()
call a number of Reg functions:

RegDBSetDefaultRoot
RegDBKeyExist
RegDBGetKeyValueEx

The MSI logfile stops logging at the first CA (using the
MsiSetFeatureState function)...but I don't believe that it has completed logging.

has anyone experienced hanging/crashing issues, while attempting to install to Windows 2000 SP0, SP1, or SP2?

I sure hope a workaround can be found.

Daniel K
07-04-2005, 03:39 AM
I've had problems in Win2k with ISscript CA's that use SdShowMsg()....

Aflaat
07-05-2005, 12:44 PM
Are you trying to log, or using a MSIProcessMessage within a DoAction? This causes MSI to hang, its a real bugger, since I used to use it for logging, and I couldn't log during a button press CA. Now since property changes are logged, I change a specific property to do my logging. Its ugly, but works.

sks2004
07-06-2005, 09:41 AM
I'm doing the logging from the command line, not from any logging function.

sks2004
07-07-2005, 10:15 AM
It appears that the MsiSetFeatureState() function is the problem...if it is called from within a dialog.