PDA

View Full Version : Problem on "Ready to Install" Dialog



NewsArchive
10-17-2007, 01:56 AM
I'm using SB 6.6.2016. I created an install and was running it on a test
computer (Vista Home Premium) and when I got to the Ready to Install dialog, it
showed the Destination folder as %_SB_INSTALLDIR% rather than the contents of
that variable. I also added an Additional Information Variable that was set to
dieplay the destination data folder. It, too, showed %DATAPATH% rather than
the contents of the variable. You can see it in the attached image named
ReadyToInstall - Vista.gif.

When I ran the same setup.exe on my XP Pro SP2, the dialog displayed correctly
as you can see in the attached image named ReadyToInstall - XP.gif

This is a strange problem and doesn't make sense to me. Any ideas Friedrich?

Peter Gysegem
Beaver Creek Software

NewsArchive
10-17-2007, 01:57 AM
Peter,

Would it be possible for you to create a small test project to demonstrate
the problem? I cannot reproduce this on any of our six Vista and Windows
Server 2008 machines.

Friedrich

NewsArchive
10-17-2007, 01:57 AM
I have included a sample script that shows the problem and the executable that
it generates, just in case you get something different.

The results for this test script have changed just a little on XP. In this
script %DATAPATH% is correctly replaced with its contents but %_SB_INSTALLDIR%
still shows up as the variable name.

Peter Gysegem
Beaver Creek Software

NewsArchive
10-17-2007, 01:59 AM
Hi Peter,

I get this on XP (see screenshot). Item in review.

Friedrich

NewsArchive
10-17-2007, 02:00 AM
Peter,

More information. It's your use of the "Longpath" function that causes
this. The GetLongPath Windows API seems to clear the buffer if the path
does not exist. I'll check what error code is returned to work around this.
So it's not a "Ready To Install" dialog problem. The variables itself are
not defined after the Longpath call.

Friedrich

NewsArchive
10-17-2007, 02:01 AM
Peter,

I think we have fixed it. This is the "Ready to Install" dialog result.
Does it look correct?

Thanks,
Friedrich

NewsArchive
10-18-2007, 02:12 AM
> I think we have fixed it. This is the "Ready to Install" dialog result.
> Does it look correct?

Friedrich,

The top line seems to have part of the string from the bottom line - see
the extra "EZ" up there that is a subfolder for the data?

Is something not getting cleared perhaps?


Charles


--
-------------------------------------------------------------------------------------------------------
Charles Edmonds

www.clarionproseries.com - "Serious imaging tools for Clarion Developers"
www.ezround.com - "Round Corner HTML tables with matching Banners, Buttons
and Forms!"
www.lansrad.com - "Intelligent Solutions for Universal Problems"
www.fotokiss.com - "World's Best Auction Photo Editor"
-------------------------------------------------------------------------------------------------------

NewsArchive
10-18-2007, 02:13 AM
Charles

No, I think all is well. What looks like an extra EZ there is actually part of the
[PRODUCTNAME] compiler variable, which is set to "The THERAPIST EZ" in the script.

JohnG

NewsArchive
10-18-2007, 02:13 AM
Hi Charles,

> The top line seems to have part of the string from the bottom line - see
> the extra "EZ" up there that is a subfolder for the data?
>
> Is something not getting cleared perhaps?

I also think it's correct. The value comes from the [PRODUCTNAME] compiler
variable.

Thanks,
Friedrich

NewsArchive
10-18-2007, 02:14 AM
> I also think it's correct. The value comes from the [PRODUCTNAME] compiler
> variable.

Ah - I can see it now.

Just a weird coincidence!

;-)

Charles


--
-------------------------------------------------------------------------------------------------------
Charles Edmonds

www.clarionproseries.com - "Serious imaging tools for Clarion Developers"
www.ezround.com - "Round Corner HTML tables with matching Banners, Buttons
and Forms!"
www.lansrad.com - "Intelligent Solutions for Universal Problems"
www.fotokiss.com - "World's Best Auction Photo Editor"
-------------------------------------------------------------------------------------------------------

NewsArchive
10-18-2007, 02:15 AM
Hi Charles,

That extra EZ is correct and needed to work around a problem with the Clarion 4
(blush) version of FM2.

The update to a Clarion 6/7 version of our program is in the works.

Peter Gysegem
Beaver Creek Software

NewsArchive
10-18-2007, 02:15 AM
Friedrich sent me a new sbkernel.lib file that corrects the problem.

He's my hero!

Peter Gysegem
Beaver Creek Software