Hoping that someone can tell how me how the IA's SQLExpress 2005 'Application Runtime' determines if SQL Express 2005 has already been installed on a workstation.
I need to know this because I have a machine on which SQL Express has been uninstalled, however when I run my InstallAware setup (which includes the SQLExpress 2005 Application Runtime), it will not reinstall SQL Express.
I imagine that InstallAware is checking the Windows Registry for the presence of a specific entry, however I cannot determine what registry entry InstallAware is looking for in order to determine this.
If I understood how IA determines whether or not to run the SQL Express installation, then I could devise a workaround
Any help would be greatly appreciated.
Thanks,
Steve
How does IA determine if SQL Express is already installed?
-
MichaelNesmith
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
Hi Michael,
Thanks for the quick reply.
Can you please tell me how/where it checks for the service name. I cannot find anything is my project that indicates where the script does this. Is it looking for this information in the Registry somewhere and if so, where is the registry key located?
Thanks in advance
Steve
Thanks for the quick reply.
Can you please tell me how/where it checks for the service name. I cannot find anything is my project that indicates where the script does this. Is it looking for this information in the Registry somewhere and if so, where is the registry key located?
Thanks in advance
Steve
Hi Steve,
check the script "checksql2005" that was automatically added to your project.
The first line checks if a windows service by a given name is installed. I guess, it does this with the windows service API without directly reading the registry.
Rgds
Richard
check the script "checksql2005" that was automatically added to your project.
The first line checks if a windows service by a given name is installed. I guess, it does this with the windows service API without directly reading the registry.
Rgds
Richard
http://www.pointline.com
http://www.paraeasy.ch
http://ulrichard.ch
http://www.paraeasy.ch
http://ulrichard.ch

