Detect XP Home Edition
Posted: Fri Jun 12, 2009 7:55 am
We are packaging SQL Express 2005 sp2 with our app and it will not install if simple file sharing is on. This is the case for XP Home Edition unless someone reboots in safe mode to turn off simple file sharing. There doesn't seem to be any way to detect XP Home edition with an IA function call. Is there a work around here that someone has devised?
I can tell that the OS is XP from the Get Exact OS Level into OperatingSystem call, but not if it is XP Home. This would be a show stopper for the installer so I'd like to alert the user in this case and tell him what to do.
I can tell that the OS is XP from the Get Exact OS Level into OperatingSystem call, but not if it is XP Home. This would be a show stopper for the installer so I'd like to alert the user in this case and tell him what to do.