PDA

View Full Version : C6 Vista Fix



NewsArchive
01-06-2009, 02:57 AM
We include this in our installs (the one Friedrich knocked up) - but I
cannot for the life of me remember what it does <g>.

Someone's struggling with it:

>>> problem. An install popped up for a Vista Fix (I assume came from you
>>> folks) no documentation about what it does. Installed it, and now all
>>> applications compiled say Windows error 740. I uninstalled the Vista
>>> Fix, and same problem.

Friedrich: have you seen this before?

--
Geoff (Capesoft)

www.capesoft.com

NewsArchive
01-06-2009, 02:57 AM
Hi Geoff,

> We include this in our installs (the one Friedrich knocked up) - but I
> cannot for the life of me remember what it does <g>.

<G>

Even if a Clarion 3rd party vendor provides a Vista-aware installer, it's
not possible to correctly auto-detect the installed Clarion version. The
original Clarion 6 installer is unable to write to the WIN.INI file and to
update the system path environment variable on Windows Vista, Windows 2008
and Windows 7 because of UAC.

The tiny "Clarion 6 Vista Installation Fix" installer application fixes this
problem. This freeware application makes the appropriate WIN.INI
modifications so 3rd party installations can detect Clarion 6 on Vista and
Windows Server 2008 machines. It also adds the Clarion \Bin path to the
system path environment variable.

> Someone's struggling with it:
>
>>>> problem. An install popped up for a Vista Fix (I assume came from you
>>>> folks) no documentation about what it does. Installed it, and now all
>>>> applications compiled say Windows error 740. I uninstalled the Vista
>>>> Fix, and same problem.
>
> Friedrich: have you seen this before?

I assume that it is caused by using the Clarion RUN() command (or by
directly using the CreateProcess Windows API). Clarion RUN() makes use of
the CreateProcess() Windows API. But CreateProcess() will always fail if a
non-elevated application attempts to launch another application whose
manifest requires elevation. GetLastError will return 740
(ERROR_ELEVATION_REQUIRED) in this case.

But this problem ("all applications compiled say Windows error 740") is not
caused by the above "c6_vista_fix.exe" ;-)

Does this help?

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