PDA

View Full Version : Post install validations



NewsArchive
08-14-2010, 04:34 AM
Friedrich,

Don't know if this is in your feature list or a request for one <g>.

I've a program from another vendor that has the ability to run a repair on itself.
It's a small program that checks the CRC values of everything it installs and if
it finds discrepancies, it downloads/re-installs that module.

Can SB7 do something like that?

--
Russell B. Eggen
www.radfusion.com
Clarion developers: www.radfusion.com/devs.htm

NewsArchive
08-14-2010, 04:37 AM
Russ,

> Don't know if this is in your feature list or a request for one <g>.
>
> I've a program from another vendor that has the ability to run a repair
> on itself. It's a small program that checks the CRC values of everything
> it installs and if it finds discrepancies, it downloads/re-installs that
> module.
>
> Can SB7 do something like that?

Yes, absolutely no problem. SB7 can handle this scenario.

Just for fun, remove (as an example) LSPACK.DLL from your SetupBuilder
"Program Files" folder (your install is corrupted now). To fix this, launch
the SB7 install image and it will switch into "maintenance mode" to repair
your install. See attached screenshot.

Of course, you have to add all the logic required (e.g. do not add Shortcuts
during a "repair", etc.). Only the developer of the install project can
decide what is required to do the "repair".

Friedrich

NewsArchive
08-14-2010, 04:37 AM
BTW, and the same deployment logic can be used to "update" and existing
installation with a full install image.

See attached screenshot. In this case, the installer detects an "outdated"
product and switches into the update mode.

Friedrich

NewsArchive
08-14-2010, 04:38 AM
OK - slow down a bit, you are going too fast! <g>

So if one of my modules (for lack of a better term), is missing or hosed, what
started this dialog? The install? IOW - what do I tell my clients to do?

--
Russell B. Eggen
www.radfusion.com
Clarion developers: www.radfusion.com/devs.htm

NewsArchive
08-14-2010, 04:38 AM
Russ,

> IOW - what do I tell my clients to do?

Buy from a reputable developer?!<g>

--
Lee White

RPM Report Viewer.: http://www.cwaddons.com/products/rpm/
RPM Review........: http://www.clarionmag.com/cmag/v11/v11n06rpm.html
Report Faxing.....: http://www.cwaddons.com/products/afe/
---Enroll Today---: http://CWaddons.com

Enhanced Reporting: http://www.cpcs-inc.com

NewsArchive
08-14-2010, 04:39 AM
So no AFE? <g>

Two can play that game! LOL

--
Russell B. Eggen
www.radfusion.com
Clarion developers: www.radfusion.com/devs.htm

NewsArchive
08-14-2010, 04:39 AM
Hi Russ,

> OK - slow down a bit, you are going too fast! <g>

<BG>

> So if one of my modules (for lack of a better term), is missing or hosed,
> what started this dialog? The install? IOW - what do I tell my clients
> to do?

What you have to do is to add a "update" and/or "repair" method to your
deployment strategy for your application.

For example, what we do in SetupBuilder 7 is, the installer checks for a
previously installed SB7 version. If detected, it checks the installed
version number. If the installed version is "greater than" the version in
the setup.exe, then the update/repair is not allowed (see screenshot). Only
"uninstall" will be offered.

If the installed version number is "equal to" the version in the setup.exe,
then the installer switches into "repair" mode and updates/installs required
files.

If the installed version number is "less than" the version in the setup.exe,
then the installer switches into "update" mode and updates/installs required
files. This also enables rollback capability. That means, it's always
possible to rollback to the previous version (see "Rollback SetupBuilder 7
to Build X" shortcut in the SetupBuilder shortcut menu).

There is no external application required to handle this. It's all done
from the same setup.exe (full install, update, repair, uninstall).

Friedrich

NewsArchive
08-14-2010, 04:40 AM
> BTW, and the same deployment logic can be used to "update" and existing
> installation with a full install image.
>
> See attached screenshot. In this case, the installer detects an "outdated"
> product and switches into the update mode.

Friedrich,

AND included with your wonderful Examples - Project Examples Package!

Matter of fact, I took the example for update - modified it to run like
this:

If Product Scope is Version x.xx or higher - Upgrade - If Product Scope is
Version x.xx or previous - STOP the install. Works WELL!

It will identify the older Product Scope installed version number - display
the older Installation path (NOT UAC Safe) - and warn if it is Product
Scope 7.5 or older, the install will end - then explains what to do for
older installs.

If the previous version is 7.8, the upgrade can continue!

David

--
From David Troxell - Product Scope 7.9 - Encourager Software
Product Scope 7 Viewer - NO Registration Fee! Free to Use!
http://encouragersoftware.com/profile/clarlinks.html

NewsArchive
08-14-2010, 06:29 AM
OIC - they just run the install again and these options are available (situation
permitting)?

--
Russell B. Eggen
www.radfusion.com
Clarion developers: www.radfusion.com/devs.htm

NewsArchive
08-14-2010, 06:30 AM
> OIC - they just run the install again and these options are available
> (situation permitting)?

Yes :)

Friedrich

NewsArchive
08-15-2010, 07:15 AM
Cool!

But will it work for Lee's products? <g,d&r>

--
Russell B. Eggen
www.radfusion.com
Clarion developers: www.radfusion.com/devs.htm

NewsArchive
08-15-2010, 07:16 AM
??
I always heard that Lee's products install correctly the FIRST time <g>

jf

NewsArchive
08-15-2010, 07:16 AM
LATELY<g>

Jeff Slarve

NewsArchive
08-15-2010, 07:16 AM
Jeff,

> LATELY<g>

That ONE time was NOT using SetupBuilder... I rest my case!<g>

--
Lee White

RPM Report Viewer.: http://www.cwaddons.com/products/rpm/
RPM Review........: http://www.clarionmag.com/cmag/v11/v11n06rpm.html
Report Faxing.....: http://www.cwaddons.com/products/afe/
---Enroll Today---: http://CWaddons.com

Enhanced Reporting: http://www.cpcs-inc.com

NewsArchive
08-15-2010, 07:17 AM
Jane,

> I always heard that Lee's products install correctly the FIRST time <g>

<g>


((thanks))

--
Lee White

RPM Report Viewer.: http://www.cwaddons.com/products/rpm/
RPM Review........: http://www.clarionmag.com/cmag/v11/v11n06rpm.html
Report Faxing.....: http://www.cwaddons.com/products/afe/
---Enroll Today---: http://CWaddons.com

Enhanced Reporting: http://www.cpcs-inc.com