PDA

View Full Version : prq help - installed but says not



soniceffect
09-16-2009, 03:32 AM
Hi All,
This is the first time I have set up my own prereq in installshield and I seem to be having a few issues. Due to problems that I had with sql server 2005 I decided to change my project to use 2008.

Now when I try the installer, it goes through the install of sql server, however when it gets to the end it says that it has failed. When I have a look at the installation it seems to have been installed exactly as I wanted it to, so I'm a little confused. Any help would be greatly appreciated. here are the contents of my prq file which I based on the rtm version I found on here:-



<?xml version="1.0" encoding="UTF-8"?>
<SetupPrereq>
<conditions>
<condition Type="32" Comparison="2" Path="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\SQLEXPRESS\MSSQLServer\CurrentVersion" FileName="CurrentVersion" ReturnValue="10.0.1600.22"></condition>
</conditions>
<files>
<file LocalFile="&lt;ISProductFolder&gt;\Objects\SQL2008Express\SQLEXPR32_x86_ENU.exe" URL="http://download.microsoft.com/download/c/2/8/c28cc7df-c9d2-453b-9292-ae7d242dfeca/SQLEXPR32_x86_ENU.exe" CheckSum="A0B9F130E122ED4F4D10A12B8C886530" FileSize="0,93377552"></file>
</files>
<execute file="SQLEXPR32_x86_ENU.exe"
cmdline="/qs /ACTION=Install /FEATURES=SQL /INSTANCENAME=SQLEXPRESS /SECURITYMODE=SQL /SAPWD=&quot;mypass&quot; /SQLSVCACCOUNT=&quot;NT AUTHORITY\Network Service&quot; /SQLSYSADMINACCOUNTS=&quot;NT AUTHORITY\Network Service&quot; /AGTSVCACCOUNT=&quot;NT AUTHORITY\Network Service&quot;"
requiresmsiengine="1"></execute>
<properties Id="Microsoft SQL Server 2008 Express (x86)" Description="This installs Microsoft SQL Server 2008 Express Edition (SQL Server Express) onto only 32-bit operating systems. The /q switch suppresses all Setup dialog boxes and error messages. See http://msdn2.microsoft.com/en-us/library/ms144259.aspx for more information." </properties>
</SetupPrereq>