SetupBuilder Community  

Go Back   SetupBuilder Community > SetupBuilder Software Installation System > SetupBuilder - NNTP

Reply
 
Thread Tools Display Modes
  #1  
Old 03-30-2007, 10:26 AM
NewsArchive NewsArchive is offline
Senior Member
 
Join Date: Jan 2005
Posts: 27,261
Default Clarion 6 on Vista and Clarion Version Detection for 3rd Party Products

All,

As you probably know, the Windows Vista operating system provides a new
security feature named User Account Control (UAC). A Vista-aware installer
is required in order to correctly install your installations on Vista. The
same is true for Windows "Longhorn" (beta).

Even if your 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 on
Windows Vista (or Windows "Longhorn") because this action requires
administration execution level privileges.

We have developed a small free "Clarion 6 Vista Installation Fix" installer
compiled with SetupBuilder 6.5.

You can download this code-signed application at:
http://lindersoft.com/c6_vista_fix.exe

You can use this on Windows Vista and Windows "Longhorn".

Just follow the wizard to apply the fix and all 3rd party installers should
be able to auto-detect your Clarion 6 environment on Vista.

To uninstall the "Clarion 6 Vista Installation Fix", just start
"c6_vista_fix.exe" again or use the "Uninst_Clarion 6 Installation Fix for
Vista.exe" uninstaller application located in your Clarion 6 folder.

Hope this helps.


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

"point. click. ship" - that's SetupBuilder 6
Create Windows Vista ready installations in minutes

-- Official Comodo Code Signing and SSL Certificate Partner
Reply With Quote
  #2  
Old 03-30-2007, 10:26 AM
NewsArchive NewsArchive is offline
Senior Member
 
Join Date: Jan 2005
Posts: 27,261
Default Re: Clarion 6 on Vista and Clarion Version Detection for 3rd Party Products

Thanks Friedrich! Great! Thanks...

This was part of the problem that I had with Clarion Desktop this week. I
found that Clarion 6 actually updates the
"c:\users\[username]\AppData\Local\VirtualStore\Windows\Win.INI" file, but
(here's the kicker) if I tried to read that file using Clarion's GETINI
function, that would GPF my EXE!!! Not always, but on about 20% of
computers consistently. I am now actually copying that INI file to another
folder where my EXE can then read it safely!

Clarion 5.5 updates the regular Win.Ini in "c:\Windows", and I can read that
file safely..

Best Regards,

Gary.

Gary James
Strategy, South Africa
Web: www.strategyonline.co.za
Blog: www.strategyonline.co.za/blog
Reply With Quote
  #3  
Old 04-02-2007, 02:56 AM
NewsArchive NewsArchive is offline
Senior Member
 
Join Date: Jan 2005
Posts: 27,261
Default Re: Clarion 6 on Vista and Clarion Version Detection for 3rd Party Products

Hi Gary,

>function, that would GPF my EXE!!! Not always, but on about 20% of
>computers consistently. I am now actually copying that INI file to another
>folder where my EXE can then read it safely!

Did you enclose the path in double quotes? You might have problems
with it if you don't or use ShortPath. Also, did you try to use the
GetPrivateProfileString API instead of GetINI?

http://msdn2.microsoft.com/en-us/library/ms724353.aspx

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
Reply With Quote
  #4  
Old 04-03-2007, 01:48 AM
NewsArchive NewsArchive is offline
Senior Member
 
Join Date: Jan 2005
Posts: 27,261
Default Re: Clarion 6 on Vista and Clarion Version Detection for 3rd Party Products

FWIW, Using SB6's GET INI VALUE, if I run under Vista and specify "WIN.INI"
(unqualified by path), it appears to return the correct value from the "users"
win.ini. This may be of help to some.

Larry Teames
CPCS, Inc.
Reply With Quote
  #5  
Old 04-03-2007, 01:49 AM
NewsArchive NewsArchive is offline
Senior Member
 
Join Date: Jan 2005
Posts: 27,261
Default Re: Clarion 6 on Vista and Clarion Version Detection for 3rd Party Products

Thanks Arnor, I'll look into that. I'm not using double-quotes on the INI
filename, I'll try that and see if it helps. Strangely, it works perfectly
100% of the time here, it's only on some of my clients machines that it
consistently blows up.. For now I'm just copying the local INI to another
folder and reading it from there, that seems to work fine.

Hi Larry. Yes, the same works from within Clarion. Specifying
GetIni(...,'win.ini') will correctly (and safely) read the windows\win.ini
file. The local users win.ini needs to be read by specifying the path to
their user folder.

Best Regards,

Gary.

Gary James
Strategy, South Africa
Web: www.strategyonline.co.za
Blog: www.strategyonline.co.za/blog
Reply With Quote
  #6  
Old 04-03-2007, 01:49 AM
NewsArchive NewsArchive is offline
Senior Member
 
Join Date: Jan 2005
Posts: 27,261
Default Re: Clarion 6 on Vista and Clarion Version Detection for 3rd Party Products

Gary:

I'm seeing the opposite on my Vista machine. When no path is specified (from
w/i SB6) it appears to look in the "users" win.ini rather than the windows
win.ini.

Larry Teames
CPCS, Inc.
Reply With Quote
  #7  
Old 04-03-2007, 10:43 AM
NewsArchive NewsArchive is offline
Senior Member
 
Join Date: Jan 2005
Posts: 27,261
Default Re: Clarion 6 on Vista and Clarion Version Detection for 3rd Party Products

Hi Larry.

Shucks. I'm sensing problems on the horizon..

I'm now specifying [Windows]\Win.ini. Just to be safe. It seems that Vista
supports "older" applications nicely by simply remapping Windows and Program
Files data into a user-specific location. This works well ito backward
compatibility, but it's going to add some additional complexity to knowing
exactly what data is now stored where.. Not a big deal, but it's a deal
we'll have to be aware of.

Best Regards,

Gary.

Gary James
Strategy, South Africa
Web: www.strategyonline.co.za
Blog: www.strategyonline.co.za/blog
Reply With Quote
  #8  
Old 04-03-2007, 10:43 AM
NewsArchive NewsArchive is offline
Senior Member
 
Join Date: Jan 2005
Posts: 27,261
Default Re: Clarion 6 on Vista and Clarion Version Detection for 3rd Party Products

Yep!

Larry Teames
CPCS, Inc.
Reply With Quote
  #9  
Old 04-03-2007, 10:47 AM
NewsArchive NewsArchive is offline
Senior Member
 
Join Date: Jan 2005
Posts: 27,261
Default Re: Clarion 6 on Vista and Clarion Version Detection for 3rd Party Products

Hi Gary,

To make it even worse, Microsoft intends to remove virtualization from
future versions of the Vista operating system as more applications are
migrated to Windows Vista. It's already disabled by default on Vista
x64. Operations subjected to virtualization in 32-bit applications
will just fail in 64-bit. Developers should not rely on Virtualization.

Friedrich

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

"point. click. ship" - that's SetupBuilder 6
Create Windows Vista ready installations in minutes

-- Official Comodo Code Signing and SSL Certificate Partner
Reply With Quote
  #10  
Old 04-06-2007, 06:04 AM
NewsArchive NewsArchive is offline
Senior Member
 
Join Date: Jan 2005
Posts: 27,261
Default Re: Clarion 6 on Vista and Clarion Version Detection for 3rd Party Products

Hi Friedrich.

Shucks!! Thanks for letting us know.. Much appreciated..

Best Regards,

Gary.

Gary James
Strategy, South Africa
Web: www.strategyonline.co.za
Blog: www.strategyonline.co.za/blog
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 08:12 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright © 2004-2012 Lindersoft