How to create an Installer which installs SQL Server without Internet connection - installshield

Could any one guide me through the steps to create an Installer using InstallShield-2021 which will install 'SQL Server Express 2019' on a target machine WITHOUT Internet Connection.
Thanks and Regards
Aslam

In Installation Designer tab of Installshield, browse for:
Application Data > Redistributables > Find 'SQL Server Express 2019' > Right click 'Download it' > Check the checkbox

Related

Missing "Import Web Application" option in Web Deploy 3.6

Using Web Deploy 3.6 both on IIS 8.5 (Windows Server 2012 R2) and IIS 7.5 (Windows 7), I cannot find the Deploy -> "Import Web Application" option. The "Export Web Application" is also missing (see screenshot)
I can still see the "Install Application from Gallery" but that does not really help. All works fine with Web Deploy 3.5.
Are the Import / Export Web Application options removed in 3.6?
If yes, what is the alternative to deploy a standard ASP.NET MVC app to IIS 8.5 with Web Deploy 3.6?
If not, what do I need to do to enable / see them again?
WebDeploy 3.6 prerequisites for Import / Export Web Application slightly changed and more rights need to be given for web management to enable these options again.
Here are the steps to allow it again in Windows Server 2012 R2 (and Windows Server 2016):
Using Server Manager get to Add Roles and Features.
Pick ‘Management Service’ under Roles/Web Server/Management Tools
Either uninstall and reinstall WebDeploy 3.6 or use the Change option and make sure to install the “IIS Deployment Handler” for Web Deploy. This will bring back the Import / Export Web Application option again.
Steps to allow it again in Windows 7:
Go to Turn Windows features on or off
Under Web Management Tools -> enable IIS Management Service
same as above for Windows 2012
(for Windows 10 you will likely need to run a repair installation on WebDeploy before this solution works)
Download "Web Platform Installer" from here:
https://www.microsoft.com/web/downloads/platform.aspx
Then search "Web Deployment Tool 2.1". I have it in Spanish like this:
"Herramienta de implementación web 2.1"
It just worked for me.
Windows 10:
It uses Microsoft Web Deploy 4.0. You can check if it's already installed in the Control panel > Applications.
If it's already installed, and you can't see the "Deploy" option in IIS, you need to reinstall it and, during the setup, choose the custom or full install, including the UI options. Perhaps you can do that by choosing repair or Change from the control panel.
According to MS, You should be able to download it from Web Platform Installer, but I only found versions up to 3.6. However, I found this link for an stand-alone installer for 4.0:
webdeploy_amd64_en-us.msi
NOTE: I'm using an Spanish Windows, so the name of the options can be wrong. For anyone using a non-English Windows, there is only one installer, and you'll see the menus and options in your language (at least in Spanish).
Try to run IIS as administrator and you should see the Import Web Application" option and The "Export Web Application".

Deploy Windows Apps to Family and Friends without store, enterprise or development-tools

I wrote a App for my family/friends and now we would like deploy it on or PCs. Publishing it in the store is not an option and not everyone has an Widows Live account. Sideloading isn't an option, because we do not own a Enterprise edition.
I found only the three already described ways. Either by publishing it in the store, using the development tools or having the enterprise edition.
Is there a fourth way to deploy a Windows UWP App without using the Windows Store or the need to install a developer certificate? If not, is there a possibility that something similar will be possible in the future?
The Windows 10 Deployment Tool looks like the thing I'm looking for, but i seems to be for mobile phones, or am i wrong?
The future is now! The process is easier on Windows 10 and the linked questions aren't relevant to that version. On Windows 10 users can enable developer mode or side loading in system settings on the "Update & security" page, in the for developers section.
See https://msdn.microsoft.com/en-us/library/windows/apps/dn706236.aspx
now with Windows 10 Anniversary update, you could just double click *.appxbundle file to install
Steps:
create your package, select no, when prompt "Do you want to build packages to upload to Windows Store?"
go to the package folder, double click *.cer, and install the certificate to Trusted Root Certification Authorities
double click *.appxbundle to install
Client OS Requirement: Win10 14393
UWP Target SDK: 14393
UWP Min SDK: 14393
On the target device, open the test folder. For example, C:\Projects\MyApp\MyApp\AppPackages\MyApp_1.0.2.0_Test
Right-click on the Add-AppDevPackage.ps1 file, then choose Run with PowerShell and follow the prompts.
Click the Start button and then type the name of your app to launch it.

How to install Sql server 2008 during installation in InstallShield

I suppose i can check if some sql server is installed, then i want to install one if no one present.
How this can be done?
Prerequisites are not an option because the user can choose installation type were sql server is not required.
Thanks.
You can include sql server installer exe in your project and you can use LaunchAppAndWait and initiate the exe along with the required parameters.

"Unsolvable" bug in Visual Studio - how do I connect to SQL Server 2008 Express?

I've been struggling for some time now to be able to use the built-in functions in Visual Studio 2008 to handle *.mdf database files with SQL Server 2008 Express. I'm running on an x64-based system, and I've read that there is a known problem with this setup, but the hotfix has not solved my problems.
Basically, what happens is that when I try to add a new *.mdf file to the App_Data folder of a project, I get an error message saying:
Connections to SQL Server files (*.mdf) require SQL Server Express 2005 to
function properly. Please verify the installation of the component or download
from the URL: http://go.microsoft.com/fwlink/?LinkId=49251
My (unsuccessful) steps to solve this:
Uninstall all possible associated programs to Visual Studio, SQL Server or .NET Framework (which left .NET 2.0 Compact Framework and .NET 3.5 Compact Framework, and nothing else .NET related, installed).
Reboot.
Install .NET 3.5 SP1, SQL Server 2008 Express and SQL Server Management Studio 2008 Express via the Web Platform Installer 2.0 (Beta).
Reboot.
Install Visual Studio 2008 Professional from disc.
Reboot.
Install Visual Studio 2008 Service Pack 1.
Reboot.
Install hotfix.
Reboot.
Start VS, create new Web site and try to add database. Still get the error message...
When I look in the Help/About dialog, the hotfix shows up among applied updates. I have also checked and double-checked that the SQL Server instance name is correctly set in Visual Studio (I copy-pasted the instance name from the login screen in SSMS).
Why does the hotfix not solve my problems? Am I doing things in the wrong order, or do I have the wrong software versions somewhere?
According to the KB article, the problem is that Visual Studio doesn't correctly detect "some registry keys" - but nothing is said about which keys. Does anyone know how to fix this manually?
Oh, and yes - I've seen this post. I know I could just "downgrade" to the x86 version of SQL Server, but I really want to make this work with the x64 version (if nothing else, just because it's supposed to work...), so that solution doesn't really solve my problems. Please don't close this as a duplicate.
I had this same error, VS 2008 SP 1 on Vista Ultimate 64 bit with SQL 2008 Express 64 bit. Downloaded the hotfix and rebooted, started up SQLEXPRESS and still got the error.
Then I changed my "SQL Server Instance Name" (under VS 2008 -> Tools -> Options -> Data Connections), which was blank, to "SQLEXPRESS" (versus ".\SQLEXPRESS", which is what I use in my login screen under SSMS.) and now it works like a charm!
Dave
Try changing the user on which the SQL Server Express is running. This can be changed in Services managment (press Win+R, type in services.msc). Choose SQL Server Express, right click -> Properties. 'Log On' tab and select: 'Local System account', tick the 'Allow service to interact with desktop' - this is what worked for me.
I'm not sure I ever solved this, but I've now moved over to Visual Studio 2010 (RC at the moment, but I'll get the full version when it's availabel) and everything works seemlessly.

How can I install Front Page server extensions in IIS 6

Sorry guys, Microsoft don't provide much in the line of documentation for installing front page server extensions.
How is it done?
You need to go to Add/Remove Programs in the Control Panel and click the
button for Add/Remove Windows Components. Within that area, drill down to:
Application Server > Details > Internet Information Services > Details and
check FrontPage 2002 Server Extensions.
You may need your Windows Server CD at this point.
please note that if you have x64 R2 version of windows server 2003 SP2
you need to download it separately.

Resources