PDA

View Full Version : SB7 "SKU Management Wizard" in beta-1 (Part 2)



NewsArchive
12-10-2008, 08:17 AM
And there is more in the new beta-1. We have enhanced the "#pragma"
compiler directive to play nicely with the "SDK Management Wizard" (or with
"compiler variables" in general).

You can now programmatically enabled and disable the "Web Install" and "Web
Update" feature from the script level.

This functionality is demonstrated in the new "SKU Management Demo 2.sb7"
project script.

See attached screenshots.

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

SetupBuilder "point. click. ship"
Create Windows Vista ready installations in minutes

-- Official Comodo Code Signing and SSL Certificate Partner

NewsArchive
12-11-2008, 01:42 AM
Hi Friedrich,

I've sent you a private email. I hope you got this one.

Of course the notion of compiler conditionals is brilliant, but then
again everything you do always is. Hell I'm jealous.

I notice that the "User defined" compiler variables such as [EXENAME]
have a disabled "SKU Management Configuration" checkbox. Would it be
wise to be able to add SKU Management to these too so you can do such
things as change the name of the [EXENAME] depending on what
conditions you set so as to avoid mixing up installers. I know you
could simply create another SKU with a variable assigning a different
name to [EXENAME] but thought it might be easier to be able to just
add the SKU configuration to existing variables. What do you think?

Best Regards,
Geoff Spillane
Data Down Under

NewsArchive
12-11-2008, 01:45 AM
Hi Geoff,

> I've sent you a private email. I hope you got this one.

I received this private email but missed the last one :-(

> Of course the notion of compiler conditionals is brilliant, but then
> again everything you do always is. Hell I'm jealous.

:-)

> I notice that the "User defined" compiler variables such as [EXENAME]
> have a disabled "SKU Management Configuration" checkbox. Would it be
> wise to be able to add SKU Management to these too so you can do such
> things as change the name of the [EXENAME] depending on what
> conditions you set so as to avoid mixing up installers. I know you
> could simply create another SKU with a variable assigning a different
> name to [EXENAME] but thought it might be easier to be able to just
> add the SKU configuration to existing variables. What do you think?

Thanks for the above message!! The very cool thing is that you can use the
"Custom" Compiler Variable (that supports the SKU Management) in the other
"Userdefined" compiler variable types. I have developed a new "SKU
Management Demo 3.sb7".

See attached "sku1.gif" screenshot. We create a new custom
[_MY_PRODUCTNAME_] compiler variable and enable the "SKU Management" option.
We define three product names:

- Data Down Under Mega Toolkit
- Optimizer for Windows 7
- Internet Protector Plus

See attached "sku2.gif". Just for fun, we create a new [_MY_EXENAME_]
compiler variable and set the default value to "test.exe". "SKU Management"
is NOT enabled.

See attached "sku3.gif". In the "General Information Visualizer", we set
"Product Name [PRODUCTNAME] to the newly created [_MY_PRODUCTNAME_] "SKU
Management" enabled compiler variable. Executable Name [EXENAME] is set to
the new [_MY_EXENAME_] compiler variable.

See attached "sku4.gif". Now comes the "magic" in the Script Editor. Based
on the selected product in the resulting "SKU Management Setting", the
script defines the "Product Name" and "Setup Executable Name". Of course,
you can do whatever you want now ;-)

For example, if "Data Down Under Mega Toolkit" is selected, the Product Name
is set to "Data Down Under Mega Toolkit" and the executable name is set to
DataDownUnder.exe

I have uploaded a new SB7 Examples package that includes the new "SKU
Management Demo 3.sb7".

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

What do you think?

Friedrich

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

SetupBuilder "point. click. ship"
Create Windows Vista ready installations in minutes

-- Official Comodo Code Signing and SSL Certificate Partner

NewsArchive
12-11-2008, 05:37 AM
> SKU Management Demo 3.sb7

Friedrich,

Great new example! thank you!

Script Logic
Script Editor

It would be nice to have this moved ABOVE the Advanced in left side menu so
it's easy to mouse click on the Script Editor without having to scroll.

David

--
From David Troxell - Product Scope 7 - Encourager Software
Clarion Third Party Profile Exchange Online
http://encouragersoftware.com/profile/clarlinks.html
Profile Exchanges - www.encouragersoftware.com/profile/
http://www.profileexchanges.com/blog/

NewsArchive
12-11-2008, 05:39 AM
Hi David,

> Great new example! thank you!

:)

> Script Logic
> Script Editor
>
> It would be nice to have this moved ABOVE the Advanced in left side menu
> so
> it's easy to mouse click on the Script Editor without having to scroll.

See attached screenshot. Just "hoover" over the "Script Editor" item (or
click it) and the Script Editor opens.

Friedrich

NewsArchive
12-11-2008, 05:40 AM
> Hi David,
>
>> Great new example! thank you!
>
> :)
>
>> Script Logic
>> Script Editor
>>
>> It would be nice to have this moved ABOVE the Advanced in left side menu
>> so
>> it's easy to mouse click on the Script Editor without having to scroll.
>

Friedrich,

> See attached screenshot. Just "hoover" over the "Script Editor" item (or
> click it) and the Script Editor opens.

OK, I'm not adverse to learning new techniques! :-D

Very handy!

Just make sure that Tips and Techniques guy/gal is writing all this down!
:-D

David

--
From David Troxell - Product Scope 7 - Encourager Software
Clarion Third Party Profile Exchange Online
http://encouragersoftware.com/profile/clarlinks.html
Profile Exchanges - www.encouragersoftware.com/profile/
http://www.profileexchanges.com/blog/

NewsArchive
12-11-2008, 05:42 AM
Hi Friedrich,

I should have known you had it all thought out. Thanks that's great.

With you coming up with new stuff every week it's like unwrapping
endless Christmas presents. I'm exhausted.

Best Regards,
Geoff