View Full Version : C6 Path and Vista
NewsArchive
08-08-2007, 06:39 AM
Hi all,
While not strictly SB - or Clarion - I've got a question.
I installed 6.0 on my Vista machine. I then copied my Clarion folder
from my dev machine over to the Vista machine. Everything works fine,
compiles etc. but I noticed last night that a program I copied over
wouldn't work as it was compiled standalone and it complained that it
couldn't find the C6 dlls. So I knew the path was not in there. This
morning I checked the environment variables and sure enough the
Clarion path is not there. So I installed the version I'm using,
build 9053. It did not update the path.
I ran the c6_vista_fix.exe from Friedrich. It ran to the end but the
path stays the same. I'm rebooting to see if it makes a difference.
Do the later patches, 9054, 9055 or 9056, address this problem? Is it
a problem? It seems to me that when C6 is running there is no problem
running standlone exes so it seems that the environment is somehow
picking up the path...
Confused...<g>
Best regards,
Arnór Baldvinsson
Icetips Creative, Inc.
San Antonio, Texas, USA
www.icetips.com
Subscribe to information from Icetips.com:
http://www.icetips.com/subscribe.php
NewsArchive
08-08-2007, 06:39 AM
Hi all,
>a problem? It seems to me that when C6 is running there is no problem
>running standlone exes so it seems that the environment is somehow
>picking up the path...
To test this I created an empty install that does nothing but "Edit
Environment Variable and Value" and modified the PATH to add
"C:\Clarion\Clarion6" just to test out how it would work. I run the
install when logged in as a regular user. It requires an admin
password (the setup is compiled with requreAdministrator, so this is
correct) and it updates the path environment. This updated the path
for both the "regular user" and the admin accounts.
Is this appropriate action to take in case the C6 path is not in the
enviornment in order to be able to access dlls in the clarion\bin
folder? Most of my products access a (C) dll that is installed into
the \bin folder and would presumably fail if that folder is not in the
path.
My concern is messing with the path statement in case there are access
restriction that should be implied or if some users may run into some
problems with this.
Comments, anyone?
Best regards,
Arnór Baldvinsson
Icetips Creative, Inc.
San Antonio, Texas, USA
www.icetips.com
Subscribe to information from Icetips.com:
http://www.icetips.com/subscribe.php
NewsArchive
08-08-2007, 06:39 AM
Arnór,
Is your concern with getting stuff to work on your machine, or on software
you're selling?
As with prior versions of Windows, you can set system-wide environment
variables and ones that apply to a specific user (pic).
Jane
NewsArchive
08-08-2007, 06:40 AM
Hi Jane,
>Is your concern with getting stuff to work on your machine, or on software
>you're selling?
My concern is with Clarion 6 installs running on Vista without the
proper PATH statement.
I wrote a SB6.5 script that checks the environment and searches the
PATH for the appropriate Clarion %ROOT%\Bin depending on what Clarion
version is selected and if it is not found and the OS is Vista it
updates it appropriately. This code seems to work fine on both XP and
Vista so I'm pretty confident that it should not create problems, but
I'd hate to have installs that might cause problems for other
developers. Just trying to plug any holes before someone else falls
into them:)
Best regards,
Arnór Baldvinsson
Icetips Creative, Inc.
San Antonio, Texas, USA
www.icetips.com
Subscribe to information from Icetips.com:
http://www.icetips.com/subscribe.php
NewsArchive
08-08-2007, 06:40 AM
Is there a reason that you care what their path is?
Jeff Slarve
NewsArchive
08-08-2007, 09:24 AM
Hi Jeff,
>Is there a reason that you care what their path is?
Without the path correctly set by the Clarion install, dlls that I put
into the %ROOT%\Bin can't be found. So if it's not there I have to
put it there. Another issue is if a customer compiles a demo app that
is not set to compile local and the app can't run because it can't
find the runtime dlls, guess who get's a support call?<g>
Best regards,
Arnór Baldvinsson
Icetips Creative, Inc.
San Antonio, Texas, USA
www.icetips.com
Subscribe to information from Icetips.com:
http://www.icetips.com/subscribe.php
NewsArchive
08-09-2007, 03:49 AM
Hi Arnór,
I'll upload a new C6_vista_fix.exe (Version 1.1) later today to add the path
to the path environment variable on Vista and Windows 2008 Server machines.
--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910
"point. click. ship" - that's SetupBuilder 6.5
Create Windows Vista ready installations in minutes
-- Official Comodo Code Signing and SSL Certificate Partner
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.