PDA

View Full Version : Best Way



NewsArchive
10-13-2017, 02:07 AM
I am trying to find the best way to solve this problem.

I have one app where everything is the same except one data file. I
never know which state(s) will be purchased so I have to build and
upload the new install exe each time.

It is fine here but my partner in Florida can not when I am not
available. I tried making and uploading a zip with the install
downloading and expanding the small tps file. This fails about 50
percent of the time.

So I am thinking about buying a new SB Starter program for him to use.
No need for him to create any script in that he will use the script I send.

Will this work and also how do I handle Code Signing.

Any ideas greatly appreciated.

Don Harvey

NewsArchive
10-13-2017, 02:08 AM
If the data files aren't real huge, maybe just put them all in one
setup and conditionally install based on selected states?

Or maybe you could use Setupbuilder's iDeploy and only download the
ones you need.

Jeff Slarve
www.jssoftware.com

you know what happens when you assuage

NewsArchive
10-13-2017, 02:09 AM
Hi Jeff,

That is the problem. It is a data base of approx 1.3 million trucking
companies in the US which is uploaded monthly. A lot of companies such
as insurance agents only want specific states. Same program but only a
couple or one state.

Easy to break out here and upload whatever state(s) required. At the
same time can name it for identification (casetup.exe, artxsetup.exe, etc).

Works good as long as I am around to process it.

Don Harvey

NewsArchive
10-13-2017, 06:55 AM
You can pass parameters to SB to conditionally build stuff. Perhaps
you could automate the whole thing with something like Arnor's
www.BuildAutomator.com

Jeff Slarve
www.jssoftware.com

you know what happens when you assuage

NewsArchive
10-15-2017, 07:26 AM
> You can pass parameters to SB to conditionally build stuff. Perhaps
> you could automate the whole thing with something like Arnor's
> www.BuildAutomator.com

Your SB script can also read information in from a simple INI format.

We have a standard directory layout for all the files in our templates and
each one of them is in a [PRODUCT] (named) subdirectory.

Our generic SB script is called by Build Automator and we pass the
[PRODUCT_NAME] that we want to build, along with the date and some other
info.

The generic script then loads the INI file from the named folder and each
of the INI entries gets read into SB.

This allows us to use ONE SB script for ALL of our different products.

It is very fast, efficient and it works well because the only time we ever
have to modify the generic script is when SV adds a new version of Clarion.
Even then it is just a few lines of code.

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
10-15-2017, 07:27 AM
Don,

there is surely a reason why you do not send out all data, the set a filter in
your EXE, what data are available for the customer.

If you need to had more or less specific SETUP.EXEs, then you can run the
SB-script with conditions. I once made one, but I forgot, how to.... its stored
somewhere here on my LAN! <hehehe> Look for something like SKU or so.

The SB-script will ask you with a MESSAGE-box during compile, and depending on
the answer the installer will then contain different files or whatever you can
imagine. Very easy, as anything in SB. You just need to know where to find.

hth
Wolfgang

Regards,
Wolfgang Orth
www.odata.de

Please note:
From time to time it happens, that I overlook a reply to my postings.
Please don't be angry.
In case of an emergency, try to contact me via mail.

Bitte beachten:
Von Zeit zu Zeit passiert es mir, dass ich Antworten auf meine Postings übersehe.
Bitte nicht böse sein.
Im Notfall bitte Kontakt per Mail versuchen.

NewsArchive
10-15-2017, 07:27 AM
> You can pass parameters to SB to conditionally build stuff. Perhaps
> you could automate the whole thing with something like Arnor's
> www.BuildAutomator.com

We do not use Build Automator for this sort of thing but I know that
Charles does and has mentioned it before. But we do use BA for
compiling 40 different separate apps - around 800 dlls - and it works
exceptionally well. IMHO it is a no brainer.

Andre

NewsArchive
10-15-2017, 07:28 AM
Hi Charles,

Building is no problem. Many customers do not need or want to purchase
the entire US data. They just want a subset (eg state(s), county, fleet
size, etc).

I can build this subset in a few minutes. So can my partner in florida.
But he can not do the final step of compiling and uploading for
distribution.

So I think the best option is purchasing a 2nd copy or purchasing an
additional user to setupbuilder. Will contact Friedrich to see the best
route.

The main question is how to do the code signing. I am assuming would
still be the same since the same script will be used.

Don Harvey

NewsArchive
10-15-2017, 07:29 AM
> Building is no problem. Many customers do not need or want to purchase
> the entire US data. They just want a subset (eg state(s), county, fleet
> size, etc).

That makes sense.

I know some other Clarion folks that distribute various parts of large
datasets in a similar manner.


> I can build this subset in a few minutes. So can my partner in florida.
> But he can not do the final step of compiling and uploading for
> distribution.

I see.


> So I think the best option is purchasing a 2nd copy or purchasing an
> additional user to setupbuilder. Will contact Friedrich to see the best
> route.

I'm sure he will take good care of you on it.


> The main question is how to do the code signing. I am assuming would
> still be the same since the same script will be used.

Yes, assuming the certificate was issued to a company then you both would
use copies of the files and let SetupBuilder do the heaving lifting for you
from either location.


:-)

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"
-------------------------------------------------------------------------------------------------------