Detect XP Home Edition

For all your non-technical questions.
Post Reply
JeffTucker
Posts: 62
Joined: Thu Mar 19, 2009 11:07 am
Contact:

Detect XP Home Edition

Post by JeffTucker »

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.
Fiddling with technology
CandiceJones
Posts: 904
Joined: Thu Dec 22, 2005 7:03 pm
Contact:

Post by CandiceJones »

You should be able to do this with Read Registry.
Candice Jones
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
Post Reply