PDA

View Full Version : Problem with Select File dialog Change button



NewsArchive
11-14-2012, 02:17 AM
Hi Friedrich,

I have an installer where the Change button does do anything when it is
pressed when running on Server 2008 SP 2.
The same installer EXE works fine on Win 7 and Server 2008 R2 SP1.

Every seen something like that?
I'm using SB7.7.3805.

TIA,
Rick

NewsArchive
11-14-2012, 04:13 AM
Hi Rick,

> I have an installer where the Change button does do anything when
> it is pressed when running on Server 2008 SP 2.
> The same installer EXE works fine on Win 7 and Server 2008 R2 SP1.
>
> Every seen something like that?
> I'm using SB7.7.3805.

No, I have not seen something like that. The same Windows API is used on
all Windows versions and there is no API difference between Server 2008 and
2008 R2.

See attached screenshot (installer on Server 2008 SP2). Change button works
fine.

Friedrich

NewsArchive
11-14-2012, 05:32 AM
Rick,

I have not seen this in SB but have encountered issues in Server 2008
R2 when using the file dialog box and Clarion generated programs. It
will work some of the time but other times it usually crashes. Can't
say if I have seen lockup but it might have at times.

About a year ago, it got bad enough at one customer site that we had
to come up with an alternate file dialog for them to use. I have never
determine what the cause is.

Your issue might not be related but thought that I would pass this on.
Barton

Barton Whisler
Prosoft Inc.
Tampa, Florida

NewsArchive
11-16-2012, 01:27 AM
Hi Friedrich,

It only happens on 64 bit or 32/64 bit hybred installs.
The attached project demonstrates the problem. Works fine on 2008 R2 but
not on 2008.

Thanks,
Rick

NewsArchive
11-16-2012, 04:13 AM
Hi Rick,

> It only happens on 64 bit or 32/64 bit hybred installs.
> The attached project demonstrates the problem. Works fine on 2008 R2
> but not on 2008.

Aha, okay. I remember a similar one. It's an old Windows x64 bug (6.0
platform). We were part of the Vista/Longhorn beta test team and reported
the issue in March 2007 (more than 5 years ago <g>). Microsoft confirmed
the bug and fixed it in all new operating system versions (including 2008
R2) but not in the original W2008 one. Microsoft told us that the fix is
not backward compatible to W2008.

So on April 24, 2007, we added the following to SetupBuilder 6 to work
around this bug:

> Change log for release of SetupBuilder 6.5 Build 1845 (April 24, 2007)
>
> FIX : Permanent workaround for a SHBrowseForFolder Windows bug on
> 64-bit Vista and 64-bit Longhorn (confirmed by Microsoft).

We have added the same workaround to the "Browse For File" function in
SetupBuilder 8 and it works fine now! See attached screenshot. Your
project compiled with the new SetupBuilder 8 running on Server 2008.

Friedrich

NewsArchive
11-16-2012, 04:16 AM
CHANGE : [SB#2-11131] Permanent workaround for a GetOpenFileName Windows bug
on 64-bit Vista and 64-bit Windows 2008 (confirmed by Microsoft).

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

--Helping You Build Better Installations
--SetupBuilder "point. click. ship"
--Create Windows 8 ready installations in minutes
--Comodo Code Signing and SSL Certificate Partner