View Full Version : Adding appbroker to the setup
NewsArchive
06-12-2017, 05:30 AM
Has anyone added C10 appbroker to a setup installation?
What is the best way?
It is possible to make a silent install?
Is there command line options to C10 installation file?
(setup_appbroker-10.12567.exe /? does not show nothing)
Thanks
Peter Kompier
NewsArchive
06-13-2017, 09:49 AM
Hi Peter,
Good question, I would also be interested in this.
The SV AppBroker Setup is installing the AppBroker.exe service default
under SYSTEM account. I need this to be under a USER account, so that
the printers are available.
Is this possible with SetupBuilder? So to change a service SYSTEM
account afterwards into a service USER account? Now I have to do this
action manually which is not "customer friendly".
Perhaps Friedrich can drop in? ;-)
Best regards,
Jeffrey
NewsArchive
06-14-2017, 02:12 AM
Hi Jeffrey,
Hi Peter,
unfortunately, I do not have experiences with AppBroker.
What are you doing at the moment to install it manually. I am sure I can
help to automate this process. Perhaps we can make it available as an
include script.
I have AppBroker 10.12567 here and will play with it a bit.
Friedrich
NewsArchive
06-14-2017, 02:12 AM
Hi Friedrich,
Step 1:
I just install the AppBroker with the original SV AppBroker Setup.
Step 2:
After that I go to Services and Edit the Clarion Application Broker
service. There I change the SYSTEM account into a user account with the
corresponding password.
So after this, Task Manager shows that AppBroker.exe is running by user
Jeffrey and not by the SYSTEM account anymore.
Is this clear to you now? Thanks!
Best regards
Jeffrey
NewsArchive
06-14-2017, 02:13 AM
Hi Jeffrey,
thanks for the info! I'll see what I can do.
Friedrich
NewsArchive
06-14-2017, 08:53 AM
Hi Jeffrey,
similar to this, correct?
Friedrich
NewsArchive
06-14-2017, 08:54 AM
BTW, "JoeUser" with login password "test" is another user on this test
machine. I have used a small SetupBuilder app to handle it (automatically
without any user interaction).
Friedrich
NewsArchive
06-14-2017, 08:54 AM
Thank you Friedrich!
Best regards,
Jeffrey
NewsArchive
06-14-2017, 08:55 AM
Hi Friedrich,
Can you see also if it's possible to add a silent install of the
Clarunextsetup?
Thanks again
Jeffrey
NewsArchive
06-14-2017, 08:56 AM
Hi Peter,
> Can you see also if it's possible to add a silent install of the
> Clarunextsetup?
Pardon me, but what is "Clarunextsetup"? Is this a setup that you have
developed with SetupBuilder?
Friedrich
NewsArchive
06-14-2017, 08:57 AM
Hi Friedrich,
See attached (Save As ClaRunExtSetup.PNG if it appears as 'part1')
It was included in previous Clarion installs in the \Bin folder to
support the ClaRunExt.DLL file by installing the VC++ runtimes.
Graham
NewsArchive
06-14-2017, 08:59 AM
....just to add that it's seems 'naughty' that SoftVelocity haven't
bothered to correctly version the install exe as displaying it's
properties would lead people (wrongly) to think you had directly
produced it (see attached)
Graham
NewsArchive
06-14-2017, 09:00 AM
> ....just to add that it's seems 'naughty' that SoftVelocity haven't
> bothered to correctly version the install exe as displaying it's
> properties would lead people (wrongly) to think you had directly
> produced it (see attached)
yes, they forgot to add a version resource :-) But it's fixed in the latest
version.
Friedrich
NewsArchive
06-14-2017, 09:01 AM
Hi Graham,
> See attached (Save As ClaRunExtSetup.PNG if it appears as 'part1')
>
> It was included in previous Clarion installs in the \Bin folder to
> support the ClaRunExt.DLL file by installing the VC++ runtimes.
aha, okay! Thanks for the information.
If silent mode is not disabled in the setup (SetupBuilder is completely
configurable; you can enable/disable standard features), the following
should do the trick:
Clarunextsetup.exe /S
Friedrich
NewsArchive
06-14-2017, 09:09 AM
>
> Clarunextsetup.exe /S
>
Can't test it because I do not find any Clarion version in my backups with
this redistributable, sorry :-(
Friedrich
NewsArchive
06-14-2017, 09:09 AM
>> Clarunextsetup.exe /S
>>
>
> Can't test it because I do not find any Clarion version in my backups with
> this redistributable, sorry :-(
Found one in Clarion 9.1. It's developed in such a way that the /S silent
mode switch is disabled.
So "Clarunextsetup.exe" just installs the VC++ 2005 security update?
Nothing else? Older ClaRunExt.DLL need this?
Friedrich
NewsArchive
06-15-2017, 03:05 AM
> yes, they forgot to add a version resource :-) But it's fixed in the latest
> version.
However from your screen shot it appears that they are stuck in 2016!
I guess we need to send a time traveler back to rescue them!
:-)
Charles
--
-------------------------------------------------------------------------------------------------------
Charles Edmonds
cjeByteMeSpammers@lansrad.com (remove the "ByteMeSpammers" to email me)
www.clarionproseries.com - ProDocument, ImageEx, ProScan, ProImage, ProPath
and other Clarion developer tools!
www.seal-soft.com - The xProduct Clarion templates - xWordCOM, xToolTip,
xDataBackup Manager and more!
www.ezchangelog.com - "Free ChangeLog software to manage your projects!"
www.setupcast.com - "A revolutionary new publishing system for software
developers - enhanced for SetupBuilder users!"
www.ezround.com - "Round Corner HTML tables with matching Banners, Buttons
and Forms - Now with PNG support!
www.lansrad.com - "Intelligent Solutions for Universal Problems"
www.fotokiss.com - "World's Best Auction Photo Editor"
-------------------------------------------------------------------------------------------------------
NewsArchive
06-15-2017, 03:06 AM
Hi Friedrich,
As far as Dependancy Walker can show me both 'old' and latest releases
of CLARUNEXT.DLL depend upon MSVCR120.DLL - but for some reason SV have
stopped including the ClaRunExtSetup.exe program in the latest releases
You'll need to ask them what it does and maybe why it's no longer
distributed.
Graham
NewsArchive
06-15-2017, 03:07 AM
> You'll need to ask them what it does and maybe why it's no longer
> distributed.
....clearly there's something here that needs thorough investigation.
Maybe in a Senate committee - there's obviously a Russian connection
here with past payments being received in the hope of future NET
rewards !
Some of the names at the top are decidedly 'foreign' too - I'm not
going to mention vich ones l-)
Graham
NewsArchive
06-15-2017, 03:09 AM
Correct Friedrich.
Best regards
Jeffrey
NewsArchive
06-15-2017, 03:09 AM
Hi Friedrich,
Very nice, just what I need.
Best regards
Jeffrey
NewsArchive
06-17-2017, 07:21 AM
Hi Graham,
> As far as Dependancy Walker can show me both 'old' and latest releases
> of CLARUNEXT.DLL depend upon MSVCR120.DLL - but for some reason SV have
> stopped including the ClaRunExtSetup.exe program in the latest releases
I seem to recall Diego saying that ClaRunExt was a .NET dll... I find
text in the dll like:
"System.Data System System.Drawing System.Windows.Forms System.Xml
AssemblyTitleAttribute System.Reflection AssemblyAttributesGoHere
System.Runtime.CompilerServices AssemblyDescriptionAttribute
AssemblyConfigurationAttribute"
which strongly indicates .NET.
Best regards,
--
Arnor Baldvinsson
Icetips Alta LLC
NewsArchive
06-17-2017, 07:21 AM
Hi Arnor,
> I seem to recall Diego saying that ClaRunExt was a .NET dll... I find text
> in the dll like:
Well it's both :-)
It's a set of .NET (.NET 4.5 in the latest version) functions made
accessible to ordinary Win32 Clarion programs via C++ wrappers
So if you take it appart with something like JustDecompile you see the
..NET References which allow it to do the work (AWSSDK.S3, System.Web,
System.XML etc etc) alongside the CppImplementationDetails Classes that
wrap the .NET fuctions and make them available LibMaker and so to
Clarion EXEs and DLLs.
It's the wrappers that make use of the MSVCR120 functions
Without the wrappers (or some equivalent, say COM or MSIL manipulation)
you wouldn't be able to access the .NET functions from Clarion.
Graham
NewsArchive
06-18-2017, 02:04 PM
> Maybe in a Senate committee - there's obviously a Russian connection
> here with past payments being received in the hope of future NET rewards !
>
> Some of the names at the top are decidedly 'foreign' too - I'm not going
> to mention vich ones l-)
ROFL!
A fellow programmer with a sense of humour! How refreshing.
Andre Labuschagne
NewsArchive
06-20-2017, 07:13 AM
Hi Friedrich,
Any more news about this?
Best regards,
Jeffrey
NewsArchive
06-20-2017, 07:13 AM
Hi Jeffrey,
>
> Any more news about this?
>
I'll post a test include script (.sbi) later today or tomorrow.
Friedrich
NewsArchive
06-20-2017, 07:13 AM
Thank you very much Friedrich!
Best regards,
Jeffrey
NewsArchive
06-20-2017, 07:14 AM
>
> Thank you very much Friedrich!
>
You are welcome. The include script should be able to handle it
automatically (install files, install service, start service). Will test it
on some VMs today and then make a test version for you available tomorrow.
Friedrich
NewsArchive
06-20-2017, 08:40 AM
Great Friedrich!! Thank you!
Best regards,
Jeffrey
NewsArchive
06-21-2017, 09:13 AM
Hi Jeffrey,
I have uploaded a first test version:
http://www.lindersoft.com/projects/SV_Deploy_AppBroker.zip
This include script (.sbi) can install the Clarion Application Broker. It
installs the files, writes the required Windows registry entries, then
installs and starts the service. It can even package and install the
required Visual C++ 2013 Redistributable (x86).
Please see the attached screenshots.
1. Add the "SV_Deploy_AppBroker.sbi" include script to your main project.
2. Right-click the "#include script" line and select Details...
3. Modify the configuration settings.
BTW, you can leave the LOGINUSERNAME and LOGINPASSWORD fields blank,
hard-code values or use runtime variables.
Does this work? Do you need anything else?
Friedrich
NewsArchive
06-21-2017, 09:14 AM
Hi Friedrich,
You are the best!!
This is exactly what I need, thank you so much!
I will test this script soon and will let you know when I'm done.
Is it also possible that I include some files of my own, which also have
to be installed?
Best regards,
Jeffrey
NewsArchive
06-21-2017, 10:45 AM
Hi Jeffrey,
> You are the best!!
> This is exactly what I need, thank you so much!
> I will test this script soon and will let you know when I'm done.
>
> Is it also possible that I include some files of my own, which also have
> to be installed?
Absolutely no problem. At the moment, the "SV_Deploy_AppBroker.sbi" script
includes the deployment logic that is required to install the Clarion
Application Broker.
I would suggest to add your own files (and other items) to the main .sbp
project. But of course, you can also modify "SV_Deploy_AppBroker.sbi"
directly and add files of your own, registry items, etc. Ideas for future
enhancements: some code to update an existing app broker installation (stop
broker, update files, restart broker). All this can be done automatically
with SetupBuilder quietly behind the scenes.
Friedrich
NewsArchive
06-21-2017, 10:58 AM
Hi Friedrich,
Wow, so powerful!!
Thank you.
Best regards
Jeffrey
NewsArchive
06-21-2017, 10:59 AM
Who's the man?
Jeff Slarve
www.jssoftware.com
WAG, the dog?
NewsArchive
06-22-2017, 06:01 AM
Thanks very much!!!!
Two questions:
1) The login username and password. Can I get this info from the current
user that is installing my setup?
2) Do you know if I add the include VC2013 runtime is the same that I
run ClaRunExtsetup.exe? (If I don´t run this setup, the global
communication extension does not work and I can´t send emails).
Peter
NewsArchive
06-22-2017, 06:02 AM
And where I can get the rt_vc2013....sbi?
Thanks again
Peter Kompier
NewsArchive
06-22-2017, 08:54 AM
Peter,
> Two questions:
>
> 1) The login username and password. Can I get this info from the current
> user that is installing my setup?
Yes, you can display a dialog and let the current user enter his login name
and password. If you need help with this, please let me know.
> 2) Do you know if I add the include VC2013 runtime is the same that I run
> ClaRunExtsetup.exe? (If I don´t run this setup, the global communication
> extension does not work and I can´t send emails).
If "ClaRunExtsetup.exe" also installs a VC++2013 redistributable then it's
the same one.
Friedrich
NewsArchive
06-22-2017, 08:55 AM
> And where I can get the rt_vc2013....sbi?
> Thanks again
Just use the Redistributable Manager...
Friedrich
NewsArchive
09-13-2017, 02:18 AM
Hi Friedrich,
At this moment, I have to make a complete full proof Setup for my H5
App, including the installation of the SV AppBroker.
So I'm very happy that you have made the "SV_Deploy_AppBroker.sbi"
script, thank you again!
> Ideas for future enhancements:
> some code to update an existing app broker installation
> (stop broker, update files, restart broker).
Can you also please help me with this:
"update an existing app broker installation (stop broker, update files,
restart broker)."
I need this when my customer is already running the AppBroker, for
example, when I come with a new update of our H5 App, or when there is a
new update of the SV AppBroker.
I don't want to use the SV Setup file of the AppBroker, because SV
installs the AppBroker service under SYSTEM, which gives a problem with
printing etc. I want to use your script for new installs, but also for
update installs.
Thank you very much!
Best regards,
Jeffrey
NewsArchive
09-13-2017, 10:01 AM
Hi Jeffrey,
> At this moment, I have to make a complete full proof Setup for my H5 App,
> including the installation of the SV AppBroker.
> So I'm very happy that you have made the "SV_Deploy_AppBroker.sbi" script,
> thank you again!
You are very welcome :-)
> Can you also please help me with this:
> "update an existing app broker installation (stop broker, update files,
> restart broker)."
> I need this when my customer is already running the AppBroker, for
> example, when I come with a new update of our H5 App, or when there is a
> new update of the SV AppBroker.
>
> I don't want to use the SV Setup file of the AppBroker, because SV
> installs the AppBroker service under SYSTEM, which gives a problem with
> printing etc. I want to use your script for new installs, but also for
> update installs.
I'll have to play with this and get back to you...
Friedrich
NewsArchive
09-13-2017, 10:01 AM
Thank you Friedrich!
Best regards,
Jeffrey
NewsArchive
09-20-2017, 02:21 AM
Hi Friedrich,
Your script is working great!
I also managed to change the script a bit with the part: stop existing
service, remove service and after that, update/install service.
So easy with SB!!
Thanks again
Jeffrey
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.