Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Setup / October 2007

Tip: Looking for answers? Try searching our database.

Deployment of an application with SQLExpress

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Karsten Lundsgaard - 29 Oct 2007 13:16 GMT
Hi, I would like to make a Setup project with SQLExpress included, and it
almost works :-)  

I have fixed the "package.xml" file so it installs a new instance called
"KAMSTRUPMT_UFx4", so far so good.

The problem is in the "<InstallConditions>", the check
<BypassIf Property="SQLExpressInstalled" Compare="ValueEqualTo" Value="0"/>

This check checkes if SQLExpress is already installed, but I would like to
check if the "KAMSTRUPMT_UFx4" instance is installed.
How can I check this, and where can I find some documentation on haw to make
the Package.xml file?
I would like to make the check - "BypassIf KAMSTRUPMT_UFx4_Installed"

Thanks

Karsten Lundsgaard
Robbe Morris - [MVP] C# - 29 Oct 2007 22:11 GMT
Via the link below, I've had the best success with its approach.

Signature

Robbe Morris [Microsoft MVP - Visual C#]
.NET Setup Deployment - MSI, Cassini, SQL Server, NTFS
http://www.eggheadcafe.com/tutorials/aspnet/2a5222d8-3d69-4f1c-b5ab-35ca33da0f65
/net-setup-deployment--m.aspx


> Hi, I would like to make a Setup project with SQLExpress included, and it
> almost works :-)
[quoted text clipped - 16 lines]
>
> Karsten Lundsgaard
Karsten Lundsgaard - 30 Oct 2007 09:47 GMT
Hi, Robbe Morris.

Thanks for the help, but I would like to install it without an
"Installer"-class.

BTW. I have already solved the problem with the  NTFS permissions in the
PACKAGE.XML file.

       <Command PackageFile="sqlexpr32.exe"
                Arguments='-q /norebootchk /qn reboot=ReallySuppress
addlocal=all instancename=KAMSTRUPMT_UFx4 QLAUTOSTART=1 SECURITYMODE=SQL
SAPWD=xxxx  SQLACCOUNT="NT AUTHORITY\SYSTEM" SQLBROWSERACCOUNT="NT
AUTHORITY\SYSTEM" AGTACCOUNT="NT AUTHORITY\SYSTEM" ASACCOUNT="NT
AUTHORITY\SYSTEM" RSACCOUNT="NT AUTHORITY\SYSTEM"'

Thanks

Karsten Lundsgaard

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.