PDA

View Full Version : 3rd party product SB6 script example?



NewsArchive
09-22-2009, 01:41 AM
Hi all,

Anybody can shared a SB6 script example that install 3rd party product?


--
gennadi,
http://ingasoftplus.com - Clarion 3rd party add-ons,
http://motleysoft.com - World softfair, buy and sell here!

NewsArchive
09-22-2009, 01:42 AM
gennadi,

>
> Anybody can shared a SB6 script example that install 3rd party product?
>

The "old" SB6 examples are in the SB6 Examples Package:

http://www.lindersoft.com/forums/showthread.php?t=11893

The new SB7 Examples are here:

http://www.lindersoft.com/sb7_Examples.exe

Friedrich

--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910

SetupBuilder is Windows installation -- "point. click. ship"

-- Official Comodo Code Signing and SSL Certificate Partner

NewsArchive
09-22-2009, 01:43 AM
Hi friedrich,
>
>> Anybody can shared a SB6 script example that install 3rd party product?
>>
>
> The "old" SB6 examples are in the SB6 Examples Package:
>
> http://www.lindersoft.com/forums/showthread.php?t=11893

Thank you! I have checked this one and it seems that I have it already, but
it doesn't work as expected.

For example, if you select another folder for "Example Folder" then it
returns again to long path in "SoftVelocity\Clarion7\accessory" and
subdirectory of CSIDL_COMMON_DOCUMENTS...

Look at attached image, I have selected d:\2 as a folder to setup
Examples....


--
gennadi,
http://ingasoftplus.com - Clarion 3rd party add-ons,
http://motleysoft.com - World softfair, buy and sell here!

NewsArchive
09-22-2009, 01:44 AM
gennadi,

> Look at attached image, I have selected d:\2 as a folder to setup
> Examples....

Unfortunately, I can't help because I don't know what you are doing
"behind-the-scenes" in your project.

The following LSZip install uses the Clarion deployment method and as you
can see (screenshot), it works as expected.

http://www.lindersoft.com/lszip_clarion.exe

--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910

SetupBuilder is Windows installation -- "point. click. ship"

-- Official Comodo Code Signing and SSL Certificate Partner

NewsArchive
09-22-2009, 01:44 AM
BTW, important notes from the following link:

http://www.lindersoft.com/forums/showthread.php?t=11893

"...you need at least SetupBuilder 6.9 Build 2454..."

This Clarion deployment method does NOT work with older SetupBuilder
versions!

--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910

SetupBuilder is Windows installation -- "point. click. ship"

-- Official Comodo Code Signing and SSL Certificate Partner

NewsArchive
09-22-2009, 01:44 AM
Hi friedrich,
> BTW, important notes from the following link:
>
> http://www.lindersoft.com/forums/showthread.php?t=11893
>
> "...you need at least SetupBuilder 6.9 Build 2454..."
>
> This Clarion deployment method does NOT work with older SetupBuilder
> versions!

btw what is a "the Clarion deployment method" you are talking about? When I
open a demo project I just see usual Dialogues... What is the difference
between 2454 and early versions?

I have 2309....

Gennadi

NewsArchive
09-22-2009, 01:45 AM
> btw what is a "the Clarion deployment method" you are talking about? When
> I
> open a demo project I just see usual Dialogues... What is the difference
> between 2454 and early versions?

Build 2454 (pre-release, the Gold version was Build 2481) introduced new
runtime features to support the enhanced Clarion 6 and Clarion 7 deployment
method.

I am talking about the Clarion Deployment Method to deploy to all Clarion
versions from a single setup.exe (described here)

http://www.lindersoft.com/forums/showthread.php?t=11712
http://www.lindersoft.com/forums/showthread.php?t=11893

Friedrich

NewsArchive
09-22-2009, 01:45 AM
Hi friedrich,
>> btw what is a "the Clarion deployment method" you are talking about? When
>> I
>> open a demo project I just see usual Dialogues... What is the difference
>> between 2454 and early versions?
>
> Build 2454 (pre-release, the Gold version was Build 2481) introduced new
> runtime features to support the enhanced Clarion 6 and Clarion 7
> deployment method.
>
> I am talking about the Clarion Deployment Method to deploy to all Clarion
> versions from a single setup.exe (described here)
>
> http://www.lindersoft.com/forums/showthread.php?t=11712
> http://www.lindersoft.com/forums/showthread.php?t=11893

I see. but I really don't understand what is new? In sb6.9.2309 and even
early there was c7 detection feature and it works (I can test it). Even
early I have used this sb6 version to deploy all clarion versions (5, 5.5,
6.1, 6.2 and 6.3) just in one setup file. What is "the enhanced Clarion 6
and Clarion 7 deployment method"?

Just curious.


--
gennadi,
http://ingasoftplus.com - Clarion 3rd party add-ons,
http://motleysoft.com - World softfair, buy and sell here!

NewsArchive
09-22-2009, 01:46 AM
>> http://www.lindersoft.com/forums/showthread.php?t=11712
>> http://www.lindersoft.com/forums/showthread.php?t=11893
>
> I see. but I really don't understand what is new? In sb6.9.2309 and even
> early there was c7 detection feature and it works (I can test it). Even
> early I have used this sb6 version to deploy all clarion versions (5, 5.5,
> 6.1, 6.2 and 6.3) just in one setup file. What is "the enhanced Clarion 6
> and Clarion 7 deployment method"?
>
> Just curious.

See above link(s) <g> Previous SetupBuilder versions did not support
Clarion 7! So "enhanced" means, you can deploy to C2-C6 (non-UAC-aware) and
Clarion 7 (UAC-aware) from the very same setup.exe now.

Friedrich

--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910

SetupBuilder is Windows installation -- "point. click. ship"

-- Official Comodo Code Signing and SSL Certificate Partner

NewsArchive
09-22-2009, 01:47 AM
Hi friedrich,
>>> http://www.lindersoft.com/forums/showthread.php?t=11712
>>> http://www.lindersoft.com/forums/showthread.php?t=11893
>>
>> I see. but I really don't understand what is new? In sb6.9.2309 and even
>> early there was c7 detection feature and it works (I can test it). Even
>> early I have used this sb6 version to deploy all clarion versions (5,
>> 5.5,
>> 6.1, 6.2 and 6.3) just in one setup file. What is "the enhanced Clarion 6
>> and Clarion 7 deployment method"?
>>
>> Just curious.
>
> See above link(s) <g> Previous SetupBuilder versions did not support
> Clarion 7!

Sounds strange <g> See attached image.


>So "enhanced" means, you can deploy to C2-C6 (non-UAC-aware) and
> Clarion 7 (UAC-aware) from the very same setup.exe now.


gennadi

NewsArchive
09-22-2009, 01:48 AM
>> See above link(s) <g> Previous SetupBuilder versions did not support
>> Clarion 7!
>
> Sounds strange <g> See attached image.

No, it does not sound strange <g>. Your screenshot shows the "Clarion
Environment Detection" (works for C7 prior SB6 Build 2454). Clarion
detection and template registration are completely different animals!

As you probably know, SoftVelocity introduced template registration support
for C7 in December 2008. That's why we released "SetupBuilder 6.9 Build
2454 #PRE-RELEASE#" on December 23, 2008 to provide 3rd-Party developers
with support for C7 registration. All previous Clarion 7 pre-release
versions did not support template registration! As a result, all
SetupBuilder versions prior Build 2454 can also not support it ;-)

Does this make sense?

Friedrich

--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910

SetupBuilder is Windows installation -- "point. click. ship"

-- Official Comodo Code Signing and SSL Certificate Partner

NewsArchive
09-22-2009, 01:49 AM
To make it clear: the following note is VERY important:

---

Note: we have renamed the "Clarion Template Deployment.sb6" to "Clarion
Accessory Deployment Demo.sb6" in the new #2465 Examples package. To use the
new "Clarion Accessory Deployment Demo.sb6", you need at least SetupBuilder
6.9 Build 2454!

---

If a 3rd-party developer is using a deployment strategy based on the above
"new" (December 2008 / January 2009) Clarion template examples then
SetupBuilder Build #2481 (or better) is a must. It's well possible that the
code compiles in previous SB6 builds, but it will not work as expected!

--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910

SetupBuilder is Windows installation -- "point. click. ship"

-- Official Comodo Code Signing and SSL Certificate Partner

NewsArchive
09-22-2009, 01:50 AM
Hi friedrich,
>>> See above link(s) <g> Previous SetupBuilder versions did not support
>>> Clarion 7!
>>
>> Sounds strange <g> See attached image.
>
> No, it does not sound strange <g>. Your screenshot shows the "Clarion
> Environment Detection" (works for C7 prior SB6 Build 2454). Clarion
> detection and template registration are completely different animals!
>
> As you probably know, SoftVelocity introduced template registration
> support for C7 in December 2008. That's why we released "SetupBuilder 6.9
> Build 2454 #PRE-RELEASE#" on December 23, 2008 to provide 3rd-Party
> developers with support for C7 registration. All previous Clarion 7
> pre-release versions did not support template registration! As a result,
> all SetupBuilder versions prior Build 2454 can also not support it ;-)
>
> Does this make sense?

OK, I see the differents now. BTW I am not interesting in template
registration support for C7. So could I use my current SB6 version for the
rest?


--
gennadi,
http://ingasoftplus.com - Clarion 3rd party add-ons,
http://motleysoft.com - World softfair, buy and sell here!

NewsArchive
09-22-2009, 01:50 AM
> OK, I see the differents now. BTW I am not interesting in template
> registration support for C7. So could I use my current SB6 version for the
> rest?

Not if you are using the technique described in the "Clarion Accessory
Deployment Demo.sb6" example. This requires Build #2454 and later.

--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910

SetupBuilder is Windows installation -- "point. click. ship"

-- Official Comodo Code Signing and SSL Certificate Partner

NewsArchive
09-22-2009, 01:50 AM
Hi friedrich,
>> OK, I see the differents now. BTW I am not interesting in template
>> registration support for C7. So could I use my current SB6 version for
>> the rest?
>
> Not if you are using the technique described in the "Clarion Accessory
> Deployment Demo.sb6" example. This requires Build #2454 and later.

But what the technique? I am not interesting in template registration
support for C7. What other is not compatible?


--
gennadi,
http://ingasoftplus.com - Clarion 3rd party add-ons,
http://motleysoft.com - World softfair, buy and sell here!

NewsArchive
09-22-2009, 01:51 AM
Hi gennadi,

>> Not if you are using the technique described in the "Clarion Accessory
>> Deployment Demo.sb6" example. This requires Build #2454 and later.
>
> But what the technique? I am not interesting in template registration
> support for C7. What other is not compatible?

I am talking about the technique that I developed in "Clarion Accessory
Deployment Demo.sb6" to deploy C2-C6 and C7 from a single setup.exe for
UAC-aware systems. This requires Build #2454 and later. If you check the
Release History for SetupBuilder, you'll see that there are quite a few
changes since Build #2309.

http://www.lindersoft.com/HISTORYSB.TXT
http://www.lindersoft.com/HISTORYSB7.TXT

So I can't guarantee that the above "Clarion Accessory Deployment Demo.sb6"
works with SetupBuilder prior Build #2454. As I understand it, you tried to
use the method (or parts of it) and it does not work.

But please note that even if you have your own method to deploy to C2-C6 and
C7 from the same setup.exe (I am sure it can be done with a previous
version), you'll definitely run into problems because the install will
neither be Windows 7- nor Server 7-aware. Quite a few developers are
already using a Win7 operating system.

Friedrich

--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910

SetupBuilder is Windows installation -- "point. click. ship"

-- Official Comodo Code Signing and SSL Certificate Partner

NewsArchive
09-22-2009, 01:52 AM
Hi friedrich,

>>> Not if you are using the technique described in the "Clarion Accessory
>>> Deployment Demo.sb6" example. This requires Build #2454 and later.
>>
>> But what the technique? I am not interesting in template registration
>> support for C7. What other is not compatible?
>
> I am talking about the technique that I developed in "Clarion Accessory
> Deployment Demo.sb6" to deploy C2-C6 and C7 from a single setup.exe for
> UAC-aware systems. This requires Build #2454 and later. If you check the
> Release History for SetupBuilder, you'll see that there are quite a few
> changes since Build #2309.
>
> http://www.lindersoft.com/HISTORYSB.TXT
> http://www.lindersoft.com/HISTORYSB7.TXT
>
> So I can't guarantee that the above "Clarion Accessory Deployment
> Demo.sb6" works with SetupBuilder prior Build #2454. As I understand it,
> you tried to use the method (or parts of it) and it does not work.
As I told, all works fine, just one thing doesn't work and it is not related
to the technique you have mentioned. As I wrote this part is not working:

For example, if you select another folder for "Example Folder" then it
returns again to long path in "SoftVelocity\Clarion7\accessory" and
subdirectory of CSIDL_COMMON_DOCUMENTS... And not because of SB version but
besause of wrong code:


Define Wizard Dialog "EXAMPLESFOLDER" (Select Install Folder)
(%CLA_EXAMPLES%)
.......

in code always
Set Variable %CLA_EXAMPLES% to "%_CSIDL_COMMON_DOCUMENTS%"
Set Variable %CLA_EXAMPLES% to
"\%C7_EXAMPLES_SUBFOLDER%\%THIRD_PARTY_PRODUCT%" [Append Value]

so it doesn't matter what we have selected on "Select Install Folder" dialog
window....

So in general, when I say "it doesn't work as expected" I meant script
logic/error problem.



> But please note that even if you have your own method to deploy to C2-C6
> and C7 from the same setup.exe (I am sure it can be done with a previous
> version), you'll definitely run into problems because the install will
> neither be Windows 7- nor Server 7-aware. Quite a few developers are
> already using a Win7 operating system.
I see.


--
gennadi,
http://ingasoftplus.com - Clarion 3rd party add-ons,
http://motleysoft.com - World softfair, buy and sell here!

NewsArchive
09-22-2009, 01:53 AM
> So in general, when I say "it doesn't work as expected" I meant script
> logic/error problem.

Aha, okay. Please note, the demo is just a starting point for your own
project(s). What you describe is just a refresh problem.

The following addition (see screenshot) refreshes the "Ready to Install"
dialog.

Friedrich

NewsArchive
09-22-2009, 01:53 AM
> The following addition (see screenshot) refreshes the "Ready to Install"
> dialog.

By the way, we'll definitely change this in the SB7 "Clarion Accessory
Deployment Demo.sb7" demo. Thank you for bringing this to my attention!

Friedrich

NewsArchive
09-22-2009, 01:54 AM
Hi friedrich,

>> Look at attached image, I have selected d:\2 as a folder to setup
>> Examples....
>
> Unfortunately, I can't help because I don't know what you are doing
> "behind-the-scenes" in your project.
I just checked "Clarion Accessory Deployment" demo from the url you have
provided.

> The following LSZip install uses the Clarion deployment method and as you

btw what is a "the Clarion deployment method" you are talking about? When I
open a demo project I just see usual Dialogues...

Gennadi

NewsArchive
09-22-2009, 02:49 AM
Hi friedrich,
>> So in general, when I say "it doesn't work as expected" I meant script
>> logic/error problem.
>
> Aha, okay. Please note, the demo is just a starting point for your own
> project(s). What you describe is just a refresh problem.
>
> The following addition (see screenshot) refreshes the "Ready to Install"
> dialog.

Thank you, Friedrich

--
gennadi,
http://ingasoftplus.com - Clarion 3rd party add-ons,
http://motleysoft.com - World softfair, buy and sell here!