FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour VISTA question
Posts: 6984
Joined: Fri Oct 07, 2005 07:07 PM

VISTA question

Posted: Mon Sep 29, 2008 04:48 PM

Could someone please test.

If you name the exe setup.exe this program executes without an error but does not write the ini – file. The directory must be a network directory. If you rename it to test.exe all is working.

Regards,
Otto

INCLUDE "FiveWin.ch"

//-------------------------------------------------------------//

FUNCTION Main()

 LOCAL cIniFile := "T:\xWHDATEN\ini\"+"\test.ini"

WritePProString( "PATH" , "OBJ"     , "cObj"  , cIniFile )

    msginfo("End")

RETURN( NIL )
//-------------------------------------------------------------//

Posts: 310
Joined: Sun Jan 08, 2006 10:09 PM

VISTA question

Posted: Mon Sep 29, 2008 08:38 PM

Otto

by reason of security, Vista will run setup.exe(Windows Install) first.

Posts: 6984
Joined: Fri Oct 07, 2005 07:07 PM

VISTA question

Posted: Mon Sep 29, 2008 09:36 PM

Hello Rochinha,
Windows security center asks if you allow to execute the program.
Also if I answer with yes the exe does not write to the ini-file.
This only happens if in the exe-file-name is “setup”.
My exe is called xWHSetup.exe.

But there is no warning that nothing is written nor an error.

Regards,
Otto

Posts: 310
Joined: Sun Jan 08, 2006 10:09 PM

VISTA question

Posted: Tue Sep 30, 2008 05:10 AM

Otto

This problem may be related only to files named setup.ini or setup.inf, used by Windows for installations.

My recommendation is not to use this name in future.

I had this problem.

Continue the discussion