![]() |
|
|
|
#1
|
|||
|
|||
|
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 |
|
#2
|
|||
|
|||
|
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 |
|
#3
|
|||
|
|||
|
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 |
|
#4
|
|||
|
|||
|
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. |
|
#5
|
|||
|
|||
|
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 |
|
#6
|
|||
|
|||
|
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. |
|
#7
|
|||
|
|||
|
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 |
|
#8
|
|||
|
|||
|
Yep!
Larry Teames CPCS, Inc. |
|
#9
|
|||
|
|||
|
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 |
|
#10
|
|||
|
|||
|
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 |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|