View Full Version : C6Fix locks up
NewsArchive
08-17-2007, 02:08 AM
Hi Friedrich,
I'm installing and running the C6Fix (latest version from you) and on
my Vista machine it just locks up and never returns to the installer.
I have it set to wait for it and it is installed late in the install
by my own script. I have a post-installer program (Clarin 6.3) that I
also run, but before I run the C6Fix. That program runs without any
problems and the installer waits for it and then continues.
The C6Fix locks up and I have to kill the process and then the
installer continues.
Both exes are run with RequreAdministrator and both are set to wait
and both are set to use ShellExecuteEx. I must set them to wait in
order to have the path and redirection files set up when the "Register
Clarion Templates" is executed in the install so it can find any .tpw
files.
NO matter what I do, the C6Fix installer wont' run from my installer.
If I do not attempt to run in it and run it manually after my
installer is done, it runs perfectly. Same thing if I run it manually
before I run my installer.
So I can move on with this, I'm not going to try to run the C6Fix.
Can I put the C6Fix up for download from Icetips?
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-17-2007, 02:10 AM
Hi Friedrich,
>So I can move on with this, I'm not going to try to run the C6Fix.
>
>Can I put the C6Fix up for download from Icetips?
Without attempts to run C6fix everything runs flawlessly as far as I
can see both on Vista and XP. Note that this is all 3rd party
installs, so the C6Fix not running is a bit of a PITA, but since the
installs won't detect C6 if it's not there, I'm pretty safe with it as
it won't allow the installer to mess up too bad. If I could put it on
Icetips, it would be fantastic:)
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-17-2007, 02:10 AM
> Without attempts to run C6fix everything runs flawlessly as far as I
> can see both on Vista and XP. Note that this is all 3rd party
> installs, so the C6Fix not running is a bit of a PITA, but since the
> installs won't detect C6 if it's not there, I'm pretty safe with it as
> it won't allow the installer to mess up too bad. If I could put it on
> Icetips, it would be fantastic:)
Arnor,
Did you look at the script I sent you on that?
AFAIK - the way the CapeSoft guys are doing it work fine.
Might be worth looking at...
JAT,
Charles
NewsArchive
08-17-2007, 02:16 AM
>> Without attempts to run C6fix everything runs flawlessly as far as I
>> can see both on Vista and XP. Note that this is all 3rd party
>> installs, so the C6Fix not running is a bit of a PITA, but since the
>> installs won't detect C6 if it's not there, I'm pretty safe with it as
>> it won't allow the installer to mess up too bad. If I could put it on
>> Icetips, it would be fantastic:)
>
> Arnor,
>
> Did you look at the script I sent you on that?
>
> AFAIK - the way the CapeSoft guys are doing it work fine.
Arnor,
Yes, I think until I got Friedrich's first C6Fix, CapeSoft was the only
Clarion 3rd party that correctly installed, registered the templates,
updated the RED correctly, etc. under Vista.
David
--
From David Troxell - Product Scope 32 PRO - Encourager Software
Clarion Third Party Profile Exchange Online
http://encouragersoftware.com/profile/clarlinks.html
http://www.encouragersoftware.com/
http://www.profileexchanges.com/blog/
NewsArchive
08-17-2007, 02:17 AM
Hi David,
>Yes, I think until I got Friedrich's first C6Fix, CapeSoft was the only
>Clarion 3rd party that correctly installed, registered the templates,
>updated the RED correctly, etc. under Vista.
Can you try it with the _new_ C6Fix and the latest C6.5Dev build? On
my vista the install never gets to the first screen and the process
locks up and I have to kill the C6fix with the task manager and my
install has to be shut down too.
My post installer, compiled in C6, works perfectly and no problems at
all, so it's not in the running of the program, it is something that
goes wrong when the new fix is executed from the SB install.
I tried this in various places and the results were always the same,
the C6_fix locked up and never displayed it's first screen.
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-17-2007, 02:18 AM
Hi Charles,
>Did you look at the script I sent you on that?
>
>AFAIK - the way the CapeSoft guys are doing it work fine.
Yes, that's pretty much what I'm doing, but when the _new_ C6_fix is
run from the SB6.5 install, it simply locks up. I haven't tried with
the original C6 script. The process starts, it never finishes and I
have to kill it manually. The install shows (Not responding) after
about 5 seconds and I have to kill it too.
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-17-2007, 02:22 AM
> Yes, that's pretty much what I'm doing, but when the _new_ C6_fix is
> run from the SB6.5 install, it simply locks up. I haven't tried with
> the original C6 script. The process starts, it never finishes and I
> have to kill it manually. The install shows (Not responding) after
> about 5 seconds and I have to kill it too.
I see in a later post that you got it sorted out.
Thanks for posting the solution - I'll have to look at that for my own
Clarion tool scripts.
"Vista - Microsoft's way of making us admit that we miss Windows ME!"
;-)
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
08-17-2007, 02:23 AM
Hi Arnór,
Hmm, and it did not lock up with the "old" fix?
I have uploaded the original 1.00 again to:
http://www.lindersoft.com/c6_vista_fix.zip
Could you please check this?
BTW, you can put the C6Fix up for download from Icetips!
Thanks,
Friedrich
NewsArchive
08-17-2007, 02:24 AM
Hi Friedrich,
>Hmm, and it did not lock up with the "old" fix?
I hadn't tested it and I couldn't find the old one as I suspect I
overwrote it with the new one when I downloaded.
>BTW, you can put the C6Fix up for download from Icetips!
Thanks, I might do that, but as you can see from my next message I
have solved this. Still don't know why it locked up. I installed it
into a Clarion\3rdParty folder and I wonder if it had some execution
right problems there. I tucked it into program files\ subfolder and
it got much happier for some reason;)
I've crossed toes and fingers and hope for the best:)
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-17-2007, 02:25 AM
Hi Friedrich,
>NO matter what I do, the C6Fix installer wont' run from my installer.
>If I do not attempt to run in it and run it manually after my
>installer is done, it runs perfectly. Same thing if I run it manually
>before I run my installer.
Success!
I'm not sure why it was locking up. My guess is some sort of
execution restrictions in Vista.
I did a small test install where I put this into
%PROGRAMFILESDIR\Icetips Creative\Clarion6Fix and it worked. So I
moved that code into my main test install and after a few futile
attemts to try to run it in the wrong folder, I managed to get
everything correct and now it works perfectly.
I put this into a script that I include right after the Detect Clarion
script at the very top. That way this is executed before my install
displays anything and most importantly it updates the Win.INI so that
the C6 version shows up in my install. The script I'm using is:
If %WINVER% Greater Than or Equal "$WIN_VISTA$" Then
Install File "C:\Products\c6_vista_fix.exe" to "%PROGRAMFILESDIR%\Icetips Creative\Clarion6Fix\c6_vista_fix.exe" (Always Install)
Send OutputDebugString "Vista or Greater - Run C6Fix"
Set Variable %IT_C6FIXRUN% to FUNCTION:Get Registry("C6FixRun") from "HKEY_LOCAL_MACHINE\Software\Icetips Creative\Install"
If %IT_C6FIXRUN% Equals "0" Then
Send OutputDebugString "C6Fix not run yet, run it"
Edit Registry (Create/update key and value) "HKLM\Software\Icetips Creative\Install" C6FixRun
Run Program %PROGRAMFILESDIR%\Icetips Creative\Clarion6Fix\c6_vista_fix.exe (Always Install) [ShellExecuteEx] [Wait]
Else
Send OutputDebugString "C6Fix has already been run."
End
End
So far it works perfectly, but I'm sure that's not going to last;)
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-17-2007, 02:28 AM
Hi Arnór,
>
> Success!
>
> I'm not sure why it was locking up. My guess is some sort of
> execution restrictions in Vista.
> <SNIP>
Great! Thanks for sharing this information!
>
> So far it works perfectly, but I'm sure that's not going to last;)
>
You can bet your life on it! <g>
Friedrich
NewsArchive
08-17-2007, 02:43 AM
>
> "Vista - Microsoft's way of making us admit that we miss Windows ME!"
Charles,
I HATED Windows ME!
I LOVE Vista - maybe be something they put in the water in Central Florida
nowadays! :-D
David
--
From David Troxell - Product Scope 32 PRO - Encourager Software
Clarion Third Party Profile Exchange Online
http://encouragersoftware.com/profile/clarlinks.html
http://www.encouragersoftware.com/
http://www.profileexchanges.com/blog/
NewsArchive
08-17-2007, 12:12 PM
Hi Friedrich,
>> I'm not sure why it was locking up. My guess is some sort of
>> execution restrictions in Vista.
>> <SNIP>
Forgot to ask: Is there a way for me to check for errors after
issuing statements like "Run Program"
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-17-2007, 12:12 PM
Hi Arnór,
> Forgot to ask: Is there a way for me to check for errors after
> issuing statements like "Run Program"
What you can do is to check the %_SB_ERRORCODE% variable value.
If the function succeeds, the %_SB_ERRORCODE% return value is zero. If the
function fails, the return value is a system error code. A return value of
259 means the application is still running!
Friedrich
NewsArchive
08-17-2007, 12:13 PM
Hi Friedrich,
>If the function succeeds, the %_SB_ERRORCODE% return value is zero. If the
>function fails, the return value is a system error code. A return value of
>259 means the application is still running!
Thanks. If the run is set to wait, would it ever return before the
app finishes?
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-17-2007, 12:14 PM
Hi Arnór,
> Thanks. If the run is set to wait, would it ever return before the
> app finishes?
No, the executed app does not return (to the script) before it finishes.
Friedrich
NewsArchive
08-17-2007, 12:14 PM
Hi Friedrich,
>No, the executed app does not return (to the script) before it finishes.
Don't know why I didn't think of using the error variable! It could
probably have saved me a ton of time figuring out why the blasted
thing didn't run<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
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.