PDA

View Full Version : Missing rt_msi31redist_x86.sbi & rt_msi20redist_x86.sbi files



NewsArchive
02-20-2007, 10:00 AM
I've added the rt_sql2005expr.sbi script to my project; SB added
rt_mdac28_86.sbi and rt_dotnetframework2_x86.sbi. SetupBuilder compiles and
this just fine.

However, when I edit rt_dotnetframework2_x86.sbi, I see that it references
rt_msi31redist_x86.sbi and rt_msi20redist_x86.sbi. If I attempt to open either
of these scripts by selecting its tab in the script editor, I get the error,
"SetupBuilder cannot load script c:\program files\lindersoft\setupbuilder 6
developer\..."

A search of the hard drive shows that the MSI .sbi files do not exist.

How can I obtain these files ASAP? Also, should not SB have raised an compiler
error since these files were missing?

SB version 6.0.1750 Develpoer

Greg Fasolt

NewsArchive
02-20-2007, 10:00 AM
Greg,

I think you have not downloaded and installed the Windows 3.1 and 2.0
redistributables.

Do this and you are done.

Does this help?

Friedrich

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

"point. click. ship" - that's SetupBuilder 6
Create Windows Vista ready installations in minutes

-- Official Comodo Code Signing and SSL Certificate Partner

NewsArchive
02-20-2007, 10:00 AM
Just like magic!

Thanks, Friedrich.

Question: Shouldn't SB have generated a compiler error due to the missing .sbi files?

Suggestion: I wouldn't have had to bother you with this if SB could detect the
missing script/redistributable and provide a hint. Perhaps SB could even offere
to open the redistributable manager dialog.

Greg

NewsArchive
02-20-2007, 10:00 AM
Hi Greg,

> Just like magic!
>
> Thanks, Friedrich.

:)

> Question: Shouldn't SB have generated a compiler error due to the missing
> .sbi files?

The compiler only complains if the .sbi is really required. The .NET
Framework redistributable requires MSI, but MSI it's available on most
machines. So the [DOTNET_MSI] compiler variable is set to 0 by default
(means, do not include MSI into setup.exe).

You can check from your script if MSI is available on the target machine.
If this is not the case, abort the installer and ask the customer to
download MSI.

Set Variable %MSIVERSION% to ScriptItem->Get System Information(Windows
Installer Version)
If %MSIVERSION% Version Less Than "2.0" Then
Display Message Box "Yada yada"
Exit Installation
End

> Suggestion: I wouldn't have had to bother you with this if SB could detect
> the missing script/redistributable and provide a hint. Perhaps SB could
> even offere to open the redistributable manager dialog.

I'll see what we can do.

Thank you!

Friedrich

NewsArchive
02-20-2007, 10:01 AM
BTW, if you don't include a MSI redistributable ([DOTNET_MSI] compiler
variable is set to 0) then it will not display a compiler error because you
do not distribute it.

Friedrich

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

"point. click. ship" - that's SetupBuilder 6
Create Windows Vista ready installations in minutes

-- Official Comodo Code Signing Certificate Partner