Another Silent Install Topic .mst Or Command Line, Etc.
Hello,
I have been given the task of creating an installation package for Bartender 10. I see several examples of specifying installation options using the setup.exe file, but I have no setup.exe.
My executable is “bt100_2868_suite.exe”. From this file, I can extract the file “BarTender.msi”. Are the options specified in the same way, using the same syntax for the .msi? Or should I create a transform file with InstallShield?
I have been requested to configure the installation like this…
Automation Edition
Activate using the PKC
Specify License Server and Port
Either disable, (or don’t install) the Commander service.
They will be using History Explorer, so I need to install
the System Database (SQL Server Express?)
Enable the Automatic Database Maintenance option.
I do have experience packaging with InstallShield, but no experience with Bartender. Is all this possible via one command line? Via an .MST (Transform) file?
Any light that someone may be able to throw on the subject
will be GREATLY appreciated!
Thank You!
-
Refer to the white paper for the various options and how to use them: http://www.seagullscientific.com/label-software/whitepapers/silent-install-201406.pdf
In your command line, replace "setup.exe" with "bt100_2868_suite.exe" from your download. The "setup.exe" file is simply the executable name as is on the BarTender CD rather than downloaded file.
Note that the System Database makes use of SQL Server from Microsoft which has it's own installer. SQL Server is not installed as part of BarTender Suite installation.
0 -
Legacy Poster
★ BarTender Hero ★
Thanks Ian, I am clear on using the downloaded executable name instead of setup.exe. And I think I understand that the installation of SQL Server Express is an entirely separate installation, is that right? Is the correct version of SQL Server Express the 2005 version?
0 -
Correct. And the BarTender System Database can use SQL Server 2005 - 2012 of any edition for your particular BarTender version. SQL Server Express 2005 is bundled together with the BarTender software as it is the free to use edition, and is of a small compact size to minimize download size or fit on the CD.
0 -
Legacy Poster
★ BarTender Hero ★
I have copied the executable to a local folder on my packaging VM. I open a command prompt and change to that local folder and use the following command syntax...
bt100_2868_suite.exe /s /v" /qn EDITION=A" ADDLOCAL=SystemDatabase REMOVE=Commander PKC=xxxx-xxxx-xxxx-xxxx
But nothing at all is happening. When is it necessary to include the quote after a switch, as in the /v" above? also tried adding /L*v "c:\install.log" at the end of the command line to possibly see what the failure is, but no log is created.
I feel I must have some basic syntax wrong, but I just don't see it.
0 -
Looks like the closing double quote should be at the end of the command line.
0 -
Legacy Poster
★ BarTender Hero ★
Indeed it did require the closing quote at the end. Now we're getting somewhere! Many Thanks!
- Now I have the issue that the first time I run Bartender, I get a dialog box asking if I would like to "Run the Enterprise Automation edition, with Trial Features enabled for 30 days." or "Run the Automation Edition only".
Since this will be deployed to several new computers, I don't want the users to choose to run Enterprise Automation with Trial Features. I only want them to be able run the Automation edition. Is there a way to pre select Automation Edition Only and supress the "Choose a BarTender Edition" dialog box completely?
- I also need to create a local system database just using the default settings, but it seems the the SQL Server Express 2005 that is included, isn't compatible with Windows 8.1 64 bit OS. Will Bartender 10 work with for example, the SQL Server 2008 version. For Bartender, does it matter if I use the x86 or x64 version? Once SQL Server Express is installed, can I still use the batch file "createdatabase localhost\SQLExpress" to create the local system database after installing SQL Server Express?
Thanks Again!!
0 -
I think you'd need to adjust a registry key setting. Feel free to experiment.
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Seagull Scientific\BarTender\Licensing\10.0\First Time Run
Or
HKEY_CURRENT_USER\Software\Seagull Scientific\BarTender\Preferences\Emulation
As stated, your version of BarTender supports a System Database using SQL Server 2005 - 2012. SQL Server 2008 fits in between that range. Either x86 or x64 variations can be used. A System Database instance can be created by running the BarTender System Database wizard.
0 -
Legacy Poster
★ BarTender Hero ★
Great! Created/modified the First Time Run key, and set the value to NO, doesn't seem to be having the desired effect, but that's a small thing, I will test some more settings to see if it will work as desired.
For the system database instance, do you know of any possibility to create this programmaticaly, in a silent way, at time of installation without manually stepping through the menus of the System Database Wizard?
FYI, when I do use the System Database Wizard, I get the message that this version of SQL Server Express has "Compatibility Issues" with Windows 8.1, but it does seem to install and function.
0 -
Legacy Poster
★ BarTender Hero ★
Well, it looks like it is not possible to do a silent install of SQL Express 2005 using the SystemDatabaseWizard, because the "Compatibility Issues" errors require interaction, thereby preventing the silent installation. Further complicating things is the System Database Wizard is looking for the specific file "sqlexpr.exe", and it seems that this file exists only in the 2005 version of SQL Express. So even though the Bartender program may work well with a newer version of SQL Express, the Wizard is looking specifically for the executable from the 2005 version. Does anyone have any suggestion for a silent install of SQL Express (newer version) using the SystemDatabaseWizard?
0 -
Why do you keep trying to install SQL Server Express 2005? Get yourself a newer version of SQL Server Express from the Microsoft website and use the instructions from Microsoft on how to perform a silent install. With this done you then run the BarTender System Database (BTSDB) wizard to create a BTSDB instance on the installed database server.
You can launch the Bartender system database wizard directly from the Windows Command line and use command parameters to configure the Bartender system database connection setup. The command for running the System Database Wizard is: SystemDatabaseWizard.exe [Parameters].
Command Parameter Description of Command /Silent Runs the wizard in silent mode without user interaction. /Log=<file name> Logs wizard actions and errors to a log file. Specifies file location to generate log file. Specify a location to generate the log file. /Type=[InstallSQLExpress | Connect] Specifies whether to install SQL Express (InstallSQLExpress) or to connect to an existing remote database (Connect). /BtSystem=<computer name>
Defines the remote computer that this setup will be applied to. /SqlExpressInstaller=<sqlexpr.exe>
Specifies the location of SQL Express Installer. This parameter is required when InstallSQLExpress is used. The path to the SQL Express Installer is located in the BarTender installation directory and Database folder. For 32 bit operating systems, the location is usually “C:\Program Files\Seagull\BarTender Suite\Database\SQLEXPR.EXE”. On 64 bit operating systems, it is usually “C:\Program Files (x86)\Seagull\BarTender Suite\Database\SQLEXPR.EXE”. /Server=<name>
Specifies the SQL server instance name to use. If this parameter is not specified, the server name defaults to localhost/BarTender. /Authentication=[Windows | SQL]
Specifies the authentication type. If this parameter is not specified, the authentication method defaults to Windows. /UserName=<name>
Specifies the SQL authentication account user name. This parameter is only used if SQL authentication is selected. /Password=<password>
Specifies the SQL authentication account password. This parameter is only used if SQL authentication is selected. /Database=<name>
Specifies the SQL database name. If this parameter is not specified, the database name defaults to BarTender. /AllowOtherMachinesToConnect
Configures the new local SQL instance to allow other machines to connect to the database. /EnableMaintenance=[True | False] Enables default maintenance settings. If this parameter is not specified, the enable maintenance flag defaults to True. /Upgrade
Upgrades an existing BarTender database. /? Displays the help topic for running the System Database Wizard using command line parameters.
0
Vous devez vous connecter pour laisser un commentaire.
Commentaires
10 commentaires