PDA

View Full Version : Setupbuilder file extension



NewsArchive
05-31-2013, 12:16 AM
Hi Friedrich,

When Setup Builder 7 or Setup Builder 8 convert a file from an older file
format and the file is saved it will automatically save using the older
format extension. For example if I open and convert a .sb7 file to SB8 and
do a file | save, it will save it to the .sb7 file. Even if I use the File
|save as, it will suggest SB8 extension (sb8) but save it to the original
extension (sb7)

This can cause problems for people using Build Automator as it picks up the
version by the file extension and this can apparently cause problems if SB8
is set up to associate with the other file extensions, for example .sb7.

Is there ANY way to find out what version the file is actually for? I have
not found anything in the file format that indicates for what version it is
and I'd like to make sure that BA is not trying to use the wrong version of
the compiler - or at least have it optional:)

Best regards,

--
Arnór Baldvinsson - Icetips Alta LLC
Port Angeles, Washington
www.icetips.com - www.buildautomator.com - www.altawebworks.com
Icetips product subscriptions at http://www.icetips.com/subscribe.php

NewsArchive
05-31-2013, 12:17 AM
Hi Arnór,

The project file format did not change in SetupBuilder 8. So you can
open/compile .sb7 project files (without conversion) in SB8 and you can even
open .sb8 project files in the old SB7. Quite a few developers never change
the file extensions from older projects.

Would it be possible for BA to always use SB8 (if available) as the default
compiler? Perhaps let BA check if the following SB8 Product GUIDs are
installed:

(HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Cur rentVersion\Uninstall\{ProductGuidGoesHere})

Product GUID Developer Edition: {57C1DC50-00A4-11E2-2EA6-154AF04E0BB3}

Product GUID Professional Edition: {4F69A150-00A4-11E2-41BB-154AB99E5AF1}

Product GUID Clarion Edition: {4173B770-00A4-11E2-6784-154A5E2018BE}

BTW, for future SB versions, would it help to have the "SB version number
used to save" in the project? I can then provide you with a DLL to retrieve
that information from the project.

Friedrich

NewsArchive
06-01-2013, 03:40 AM
Hi Friedrich,

> The project file format did not change in SetupBuilder 8. So you can
> open/compile .sb7 project files (without conversion) in SB8 and you can even
> open .sb8 project files in the old SB7. Quite a few developers never change
> the file extensions from older projects.

I had a report from a customer that indicates there is something that BA
doesn't like at all when it tries to access SetupBuilder projects with .sb7
when only SB8 is installed. I've sent him a debug dll last night so I can
figure out what is crashing. It may not be related to SB at all, but the
debug log from the dll will give me exactly what is crashing.

> Would it be possible for BA to always use SB8 (if available) as the default
> compiler? Perhaps let BA check if the following SB8 Product GUIDs are
> installed:
>
> (HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Cur rentVersion\Uninstall\{ProductGuidGoesHere})
>
> Product GUID Developer Edition: {57C1DC50-00A4-11E2-2EA6-154AF04E0BB3}
>
> Product GUID Professional Edition: {4F69A150-00A4-11E2-41BB-154AB99E5AF1}
>
> Product GUID Clarion Edition: {4173B770-00A4-11E2-6784-154A5E2018BE}

That was exactly my thought, to check for the GUIDs and also the file
association (which I do now) etc to try to figure out what to do exactly.

> BTW, for future SB versions, would it help to have the "SB version number
> used to save" in the project? I can then provide you with a DLL to retrieve
> that information from the project.

That would be very nice! Perhaps even information about backward
compatibility, i.e. like SB9 compatible with SB8, SB7 or something like
that. It may change in the future;) Being able to retrieve information
directly from the project rather than try to figure it out from registry and
extensions would be very nice:)

Best regards,


--
Arnór Baldvinsson - Icetips Alta LLC
Port Angeles, Washington
www.icetips.com - www.buildautomator.com - www.altawebworks.com
Icetips product subscriptions at http://www.icetips.com/subscribe.php